From 000992a3d11a99cae412ed3431057cbfca7359f0 Mon Sep 17 00:00:00 2001 From: savagebidoof Date: Tue, 25 Apr 2023 03:43:18 +0200 Subject: [PATCH] Replaced the classic get LB through listing svc and specifying the name, by using the istio label set in the gateway configuration. --- Istio/01-Simple/01-hello_world_1_service_1_deployment/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Istio/01-Simple/01-hello_world_1_service_1_deployment/README.md b/Istio/01-Simple/01-hello_world_1_service_1_deployment/README.md index 794d4d1..f48a3ab 100755 --- a/Istio/01-Simple/01-hello_world_1_service_1_deployment/README.md +++ b/Istio/01-Simple/01-hello_world_1_service_1_deployment/README.md @@ -107,7 +107,7 @@ helloworld-nginx 1/1 1 1 44s ### Get LB IP ```shell -$ kubectl get svc istio-ingressgateway -n istio-system +$ kubectl get svc -l istio=ingressgateway -A NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE istio-ingressgateway LoadBalancer 10.97.47.216 192.168.1.50 15021:31316/TCP,80:32012/TCP,443:32486/TCP 39h ```