部署一个测试的deploy
kubectl run nginx --image=nginx
更换镜像
kubectl set image deploy/nginx nginx=busybox
回滚镜像
kubectl rollout undo
2024-01-06 15:45:52
kubectl run nginx --image=nginx
kubectl set image deploy/nginx nginx=busybox
kubectl rollout undo