Update to get command on README file

Amending command that was filtering by a wrong app name
This commit is contained in:
iomv 2018-01-30 13:58:16 +00:00 committed by GitHub
parent 2f700a9ad5
commit 77f5ed1814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,7 +232,7 @@ helm install stable/nginx-ingress --name my-nginx
To check if the ingress controller pods have started, run the following command: To check if the ingress controller pods have started, run the following command:
```console ```console
kubectl get pods --all-namespaces -l app=ingress-nginx --watch kubectl get pods --all-namespaces -l app=nginx-ingress-controller --watch
``` ```
Once the operator pods are running, you can cancel the above command by typing `Ctrl+C`. Once the operator pods are running, you can cancel the above command by typing `Ctrl+C`.
@ -244,7 +244,7 @@ To detect which version of the ingress controller is running, exec into the pod
```console ```console
POD_NAMESPACE=ingress-nginx POD_NAMESPACE=ingress-nginx
POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app=ingress-nginx -o jsonpath={.items[0].metadata.name}) POD_NAME=$(kubectl get pods -n $POD_NAMESPACE -l app=nginx-ingress-controller -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
``` ```