kubernetes-sigs / cluster-api-provider-gcp

The GCP provider implementation for Cluster API
Apache License 2.0
184 stars 197 forks source link

No InternalDNS and Hostname in node status for k8s 1.29 #1337

Open jayesh-srivastava opened 2 days ago

jayesh-srivastava commented 2 days ago

/kind bug

What steps did you take and what happened: Have observed inconsistent behaviors in CAPG clusters using Kubernetes version 1.28 or below v/s CAPG clusters using Kubernetes version 1.29 with Cloud Controller Manager. The difference appears in Node.status.addresses where Kubernetes 1.28 or below clusters have all InternalIP, InternalDNS and Hostname as opposed to Kubernetes 1.29 clusters who only have InternalIP. This might create issues for downstream users.

What did you expect to happen: Expected the Node.status.addresses to have all three types of addresses.

Anything else you would like to add: Snippet from cluster using K8s 1.28: Screenshot 2024-10-18 at 17 48 37

Snippet from cluster using K8s 1.29: Screenshot 2024-10-18 at 17 49 04

Environment:

jayesh-srivastava commented 2 days ago

Have opened similar issue at https://github.com/kubernetes/cloud-provider-gcp/issues/773