Difference between revisions of "Openshift"
From John Freier
(Created page with "RedHat OpenShift This will process a Kubernetes template with a param file. oc process -f templates/template.yaml --param-file=parameters/dev.yaml --ignore-unknown-paramete...") |
|||
Line 3: | Line 3: | ||
This will process a Kubernetes template with a param file. | This will process a Kubernetes template with a param file. | ||
oc process -f templates/template.yaml --param-file=parameters/dev.yaml --ignore-unknown-parameters=true | oc apply -f- | oc process -f templates/template.yaml --param-file=parameters/dev.yaml --ignore-unknown-parameters=true | oc apply -f- | ||
+ | |||
+ | |||
+ | After applying a deployment you need to restart the OpenShift containers. | ||
+ | oc rollout resume deployment/${deployment_name} |
Revision as of 13:30, 4 April 2022
RedHat OpenShift
This will process a Kubernetes template with a param file.
oc process -f templates/template.yaml --param-file=parameters/dev.yaml --ignore-unknown-parameters=true | oc apply -f-
After applying a deployment you need to restart the OpenShift containers.
oc rollout resume deployment/${deployment_name}