Add kubectl diff in kustomize (#19586)

This commit is contained in:
zhouya0
2020-03-23 03:56:44 +08:00
committed by GitHub
parent 2128d0c966
commit 9b6b21e820
@@ -791,6 +791,12 @@ kubectl get -k ./
kubectl describe -k ./
```
Run the following command to compare the Deployment object `dev-my-nginx` against the state that the cluster would be in if the manifest was applied:
```shell
kubectl diff -k ./
```
Run the following command to delete the Deployment object `dev-my-nginx`:
```shell