A question theory says that Resources can be accessed within the same Cluster.
I understand then that if I start a Proxy:
$ kubectl proxy
I could access its resources by API from the console:
But how could you access the same information, within a POD?
$ kubectl exec --stdin --tty dummy-01 – /bin/bash
root@dummy-01:/# curl http://127.0.0.1:8001/api/v1/pods
How i can do that.