Bartosz Bierkowski - Low dose cloud

OpenShift Morsels: dealing with history of deployments

Continuing the topic of handling deployments on day #21.

Previously we had a look at deploying new version of application: OpenShift Morsels: rolling out new version of application. Today the continuation of oc rollout subcommands.

Displaying history refers to the previous deployments through Replication Controllers. They are the history of your deployments. After deleting the Replication Controller number 1, it is no longer visible in history and you can’t deploy it anymore. You can see the output of all 3 commands below.

As for the other subcommands, status displays information about latest deploy state. It waits for updates from all started replicas and afterwards reports just final status.

 

 

Environment

The commands were executed using minishift and the following client/server versions of OpenShift.

Client:
oc v3.7.0+7ed6862
client kubernetes v1.7.6+a08f5eeb62
Server:
openshift v3.6.0+c4dd4cf
server kubernetes v1.6.1+5115d708d7

Newsletter

Thanks for reading the OpenShift morsels. To get updates about new articles, you can sign up to the newsletter below.

As a thank you message, you will also get access to OpenShift CLI CheatSheet listing most commonly used commands together with a short explanation.

Did you like the article?
Join the newsletter to receive notifications about new articles.
I respect your privacy.