DevOps with OpenShift
Notes from the book DevOps with OpenShift
oc whoami
oc status
oc get all
oc describe RESOURCE RESOURCE_NAME
oc export
oc create
oc edit
oc exec POD_NAME <options> <command>
oc rsh POD_NAME <options>
oc delete RESOURCE_TYPE name
oc version
docker version
oc cluster up \
--host-data-dir=... \
--host-config-dir=...
oc cluster down
oc cluster up \
--host-data-dir=... \
--host-config-dir=... \
--use-existing-config
oc logoutCreate persistent volume
Create volume claim
Deployments
The replication controller
Deployment strategies
Blue-Green deployments
A/B Deployments
Canary Deployments
Rollbacks
Pipelines
Jenkins template
Configuration Management
Secrets
Creation
Using secrets in Pods
Configuration Maps
Creation
Reading config maps
Dynamically change the config map
Mounting config map as ENV
ENV
Adding
Removing
Change triggers
Labels & Annotations
OpenShift Builds
Build strategies
Build sources
Build Configurations
S2I
Application Management
Integrated logging
Simple metrics
Resource scheduling
Resource quotas
Limit ranges
Multiproject quota
Auto scaling of the pod
Last updated