就是5个Pod,不是一波全关、一波全启动的方式,而是关一起一个
实操
滚动更新
kubectl set image deployments/kubernetes-bootcamp kubernetes-bootcamp=jocatalin/kubernetes-bootcamp:v2
验证
kubectl rollout status deployments/kubernetes-bootcamp
回滚
kubectl rollout undo deployments/kubernetes-bootcamp