May 2018
Intermediate to advanced
554 pages
13h 51m
English
Kubernetes system records every update for Deployment:
// check the rollout history$ kubectl rollout history deployment simple-nginxdeployments "simple-nginx"REVISION CHANGE-CAUSE1 <none>2 kubectl edit deployment simple-nginx --record=true3 kubectl set image deployment simple-nginx simple-nginx=nginx:stable --record=true
You will get three revisions, as in the preceding lines, for the Deployment simple-nginx. For Kubernetes Deployment, each revision has a matched ReplicaSet and represents a stage of running an update command. The first revision is the initial state of simple-nginx. Although there is no command tag for indication, Kubernetes takes its creation ...
Read now
Unlock full access