gravitational / planet

Installable Kubernetes delivered in containers
Apache License 2.0
51 stars 18 forks source link

add feature to set google metadata within hosts when running on gce #817

Closed knisbet closed 3 years ago

knisbet commented 3 years ago

Adds a feature to planet to hardcode the google metadata server into the planet hosts file when detected as running on a gcloud VM. This is a workaround for a kubelet problem where it will always try and contact the metadata server even when configured without cloud integrations.

https://github.com/kubernetes/kubernetes/issues/30195 https://github.com/kubernetes/kubernetes/issues/86245 And probably others.

Updates https://github.com/gravitational/gravity/issues/2391