OpenShift Deployment Operations: Difference between revisions
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
{{External|https://docs.openshift.com/container-platform/3.6/dev_guide/deployments/basic_deployment_operations.html#assigning-pods-to-specific-nodes}} | {{External|https://docs.openshift.com/container-platform/3.6/dev_guide/deployments/basic_deployment_operations.html#assigning-pods-to-specific-nodes}} | ||
==Assigning a Pod to Nodes that Match a Node Selector== | |||
Edit the DeploymentConfig that defines the pod: | |||
oc edit dc/<''pod-name''> |
Revision as of 01:14, 17 October 2017
External
Internal
Starting a Deployment
oc rollout latest dc/<deploymentconfig-name>
This will start the number of replicas specified in ?
oc scale dc logging-es-3fs5ghyo --replicas=1
scaling the pod instead of the deploymentconfig may modify the deployment config. Verify
Assigning Pods to Specific Nodes
Assigning a Pod to Nodes that Match a Node Selector
Edit the DeploymentConfig that defines the pod:
oc edit dc/<pod-name>