This is a Bug Report
Problem:
The section "Securing the Service" tells to run the following command:
kubectl get pods -o yaml | grep -i podip
When I run this command, I get the following output:
% kubectl get pods -o yaml | grep -i podip f:podIP: {} f:podIPs: podIP: 172.17.0.6 podIPs: f:podIP: {} f:podIPs: podIP: 172.17.0.3 podIPs:
which includes the pod IP of the curl deployment that was started earlier in this tutorial.
Proposed Solution:
This command should limit the output to the my-nginx, by including a selector:
% kubectl get pods -l run=my-nginx -o yaml | grep -i podip
Page to Update:
https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#securing-the-service