From 77f5ed18149c3afe5b0b8f858414cb992260813e Mon Sep 17 00:00:00 2001 From: iomv Date: Tue, 30 Jan 2018 13:58:16 +0000 Subject: [PATCH] Update to get command on README file Amending command that was filtering by a wrong app name --- deploy/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/README.md b/deploy/README.md index 871d58a8c..05c7fe02e 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -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: ```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`. @@ -244,7 +244,7 @@ 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}) +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 ```