解决k8s查看deployment查询历史操作问题
$ kubectl apply -f 03-create-Deployment.yaml
$ kubectl rollout history deployment/nginx-deployment --namespace test-hl
查询结果
加入参数--record
$ kubectl apply -f 03-create-Deployment.yaml --record
$ kubectl rollout history deployment/nginx-deployment --namespace test-hl
再次查询结果