From eac6903a16baa17d478fb6f6d74fecd5244851e0 Mon Sep 17 00:00:00 2001 From: Rishit Dagli Date: Sun, 19 Jun 2022 06:35:32 +0000 Subject: [PATCH 1/3] Update command in connect-applications-services Note: The way the output is documented, this still remains same Co-authored-by: Eduardo Patrocinio --- .../services-networking/connect-applications-service.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/concepts/services-networking/connect-applications-service.md b/content/en/docs/concepts/services-networking/connect-applications-service.md index 4aa4c4d29b..0e7c78b30b 100644 --- a/content/en/docs/concepts/services-networking/connect-applications-service.md +++ b/content/en/docs/concepts/services-networking/connect-applications-service.md @@ -314,7 +314,7 @@ kubectl delete deployments,svc my-nginx; kubectl create -f ./nginx-secure-app.ya At this point you can reach the nginx server from any node. ```shell -kubectl get pods -o yaml | grep -i podip +kubectl get pods -l run=my-nginx -o yaml | grep -i podip podIP: 10.244.3.5 node $ curl -k https://10.244.3.5 ... From 5242784e76ebcdb64acff5d692e0aa8bdf354ea1 Mon Sep 17 00:00:00 2001 From: Rishit Dagli Date: Sun, 19 Jun 2022 09:25:22 +0000 Subject: [PATCH 2/3] Seperate cURL command to a seperate snippet --- .../services-networking/connect-applications-service.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/en/docs/concepts/services-networking/connect-applications-service.md b/content/en/docs/concepts/services-networking/connect-applications-service.md index 0e7c78b30b..8950fc1a1d 100644 --- a/content/en/docs/concepts/services-networking/connect-applications-service.md +++ b/content/en/docs/concepts/services-networking/connect-applications-service.md @@ -316,6 +316,9 @@ At this point you can reach the nginx server from any node. ```shell kubectl get pods -l run=my-nginx -o yaml | grep -i podip podIP: 10.244.3.5 +``` + +```shell node $ curl -k https://10.244.3.5 ...

Welcome to nginx!

From ee52f513b51032a3208cc85f46d1f7490e793157 Mon Sep 17 00:00:00 2001 From: Rishit Dagli Date: Thu, 25 Aug 2022 09:29:44 +0530 Subject: [PATCH 3/3] Update content/en/docs/concepts/services-networking/connect-applications-service.md Co-authored-by: Rey Lejano --- .../services-networking/connect-applications-service.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/en/docs/concepts/services-networking/connect-applications-service.md b/content/en/docs/concepts/services-networking/connect-applications-service.md index 8950fc1a1d..d629f6c93f 100644 --- a/content/en/docs/concepts/services-networking/connect-applications-service.md +++ b/content/en/docs/concepts/services-networking/connect-applications-service.md @@ -314,8 +314,9 @@ kubectl delete deployments,svc my-nginx; kubectl create -f ./nginx-secure-app.ya At this point you can reach the nginx server from any node. ```shell -kubectl get pods -l run=my-nginx -o yaml | grep -i podip - podIP: 10.244.3.5 +kubectl get pods -l run=my-nginx -o custom-columns=POD_IP:.status.podIPs + POD_IP + [map[ip:10.244.3.5]] ``` ```shell