I'm trying to improve my security knowledge on containers environments.
Recently I was playing around with Kubernetes cluster. I saw this absolutely awesome link: https://schd.ws/hosted_files/kccncna17/d8/Hacking%20and%20Hardening%20Kubernetes%20By%20Example%20v2.pdf
- From a compromised container, how can I know the Node IP addresses? Is always the gateway of my compromised container the IP of the node containing it?
- From a compromised container, how can I know the cluster API IP address?