root@masterdev01:~# kubectl rollout restart deployment rancher --namespace cattle-system                       deployment.apps/rancher restarted
deployment.apps/rancher restarted
root@masterdev01:~# kubectl rollout status deployment/rancher --namespace cattle-system                        Waiting for deployment "rancher" rollout to finish: 2 out of 3 new replicas have been updated...
Waiting for deployment "rancher" rollout to finish: 2 out of 3 new replicas have been updated...
Waiting for deployment "rancher" rollout to finish: 2 out of 3 new replicas have been updated...
Waiting for deployment "rancher" rollout to finish: 2 out of 3 new replicas have been updated...
Waiting for deployment "rancher" rollout to finish: 2 out of 3 new replicas have been updated...
Waiting for deployment "rancher" rollout to finish: 1 old replicas are pending termination...
Waiting for deployment "rancher" rollout to finish: 1 old replicas are pending termination...
Waiting for deployment "rancher" rollout to finish: 1 old replicas are pending termination...
Waiting for deployment "rancher" rollout to finish: 2 of 3 updated replicas are available...
deployment "rancher" successfully rolled out
 
root@masterdev01:~# kubectl rollout status deployment/rancher --namespace cattle-system
Waiting for deployment "rancher" rollout to finish: 1 of 3 updated replicas are available...
Waiting for deployment "rancher" rollout to finish: 2 of 3 updated replicas are available...
Waiting for deployment spec update to be observed...
Waiting for deployment "rancher" rollout to finish: 2 of 3 updated replicas are available...
Waiting for deployment spec update to be observed...
Waiting for deployment "rancher" rollout to finish: 2 of 3 updated replicas are available...
deployment "rancher" successfully rolled out
root@masterdev01:~#

Leave a Reply

Your email address will not be published. Required fields are marked *