The metadata service on GKE/GCE provides a plethora of rather helpful, but sensitive, information to the host machine. This data can be accessed over HTTP, so it is preferable to block it in containers.
The issue kubernetes/kubernetes#8867 tracks this problem. The best course of action is to block 169.254.169.254 in containers and changing the resolver for containers (not the host machine, as this breaks GKE) to 8.8.8.8.
The metadata service on GKE/GCE provides a plethora of rather helpful, but sensitive, information to the host machine. This data can be accessed over HTTP, so it is preferable to block it in containers.
For example:
The issue kubernetes/kubernetes#8867 tracks this problem. The best course of action is to block
169.254.169.254
in containers and changing the resolver for containers (not the host machine, as this breaks GKE) to8.8.8.8
.