Merge pull request #1717 from kostyrev/master
Fix command used to detect version
This commit is contained in:
commit
26e630577e
1 changed files with 1 additions and 1 deletions
|
@ -245,5 +245,5 @@ To detect which version of the ingress controller is running, exec into the pod
|
|||
```console
|
||||
POD_NAMESPACE=ingress-nginx
|
||||
POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app=ingress-nginx -o jsonpath={.items[0].metadata.name})
|
||||
kubectl exec -it $POD_NAME -n $POD_NAMESPACE /nginx-ingress-controller --version
|
||||
kubectl exec -it $POD_NAME -n $POD_NAMESPACE -- /nginx-ingress-controller --version
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue