From b776edaa48f99301da8819ee49e6adf07035267d Mon Sep 17 00:00:00 2001 From: jooyoung Date: Wed, 1 Nov 2023 08:46:24 -0700 Subject: [PATCH] add external ip env in detail --- .../existing-eks-nginx-observability.md | 2 +- .../single-new-eks-nginx-opensource-observability.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/patterns/existing-eks-observability-accelerators/existing-eks-nginx-observability.md b/docs/patterns/existing-eks-observability-accelerators/existing-eks-nginx-observability.md index 6592caab..f6d6d1dd 100644 --- a/docs/patterns/existing-eks-observability-accelerators/existing-eks-nginx-observability.md +++ b/docs/patterns/existing-eks-observability-accelerators/existing-eks-nginx-observability.md @@ -178,7 +178,7 @@ kubectl get pods -n nginx-ingress-sample 4. Set an EXTERNAL-IP variable to the value of the EXTERNAL-IP column in the row of the NGINX ingress controller. ``` -EXTERNAL_IP=your-nginx-controller-external-ip +EXTERNAL_IP=$(kubectl get svc blueprints-addon-nginx-ingress-nginx-controller -n nginx-ingress-sample --output jsonpath='{.status.loadBalancer.ingress[0].hostname}') ``` 5. Start some sample NGINX traffic by entering the following command. diff --git a/docs/patterns/single-new-eks-observability-accelerators/single-new-eks-nginx-opensource-observability.md b/docs/patterns/single-new-eks-observability-accelerators/single-new-eks-nginx-opensource-observability.md index b2250ade..fc509c8d 100644 --- a/docs/patterns/single-new-eks-observability-accelerators/single-new-eks-nginx-opensource-observability.md +++ b/docs/patterns/single-new-eks-observability-accelerators/single-new-eks-nginx-opensource-observability.md @@ -104,7 +104,7 @@ kubectl get pods -n nginx-ingress-sample 4. Set an EXTERNAL-IP variable to the value of the EXTERNAL-IP column in the row of the NGINX ingress controller. ``` -EXTERNAL_IP=your-nginx-controller-external-ip +EXTERNAL_IP=$(kubectl get svc blueprints-addon-nginx-ingress-nginx-controller -n nginx-ingress-sample --output jsonpath='{.status.loadBalancer.ingress[0].hostname}') ``` 5. Start some sample NGINX traffic by entering the following command.