Fix kubectl exec deprecated usage in docs.
See: * https://github.com/kubernetes/kubernetes/pull/88460 * https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/exec/exec.go#L180
This commit is contained in:
parent
6cb186c144
commit
be5be27a8e
4 changed files with 5 additions and 5 deletions
|
|
@ -11,4 +11,4 @@ $ kubectl apply -f ingress.yaml
|
|||
## Test
|
||||
|
||||
Check if the contents of the annotation are present in the nginx.conf file using:
|
||||
`kubectl exec ingress-nginx-controller-873061567-4n3k2 -n kube-system cat /etc/nginx/nginx.conf`
|
||||
`kubectl exec ingress-nginx-controller-873061567-4n3k2 -n kube-system -- cat /etc/nginx/nginx.conf`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue