Problems with INTERNAL-IP assignment in Kubernetes 1.29+ #247
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
What happened:
We are experiencing issues deploying Kubernetes clusters version 1.29 and above on Huawei Cloud. Without passing the
--node-ip
flag to the kubelet service, INTERNAL-IP addresses for nodes are shown as<none>
:We believe this is due to these changes in the Kubernetes 1.29: kubernetes/kubernetes#121028
Specifically, if the
kubelet
is started with the--cloud-provider=external
flag and--node-ip
is not specified, the externalcloud-controller-manager
should pass the IP address.To solve issue-related problems, a deployment strategy was suggested in a PR's comment, where the external
cloud-controller-manager
is deployed as a static pod or the--node-ip
flag is used: kubernetes/kubernetes#121028 (comment)We tried the following steps: initialized the cluster using kubeadm, passed
--cloud-provider=external
(for all controlplane components) and--node-ip=<node_address>
to kubelet on master nodes, deployed cni (the ccm falls down trying to getextension-apiserver-authentication
configmap otherwise) andhuaweicloud-controller-manager
version v0.26.8 according to the documentation. The logs show:Question: Is
huaweicloud-controller-manager
version v0.26.8 incompatible with Kubernetes versions 1.29 and above, or are we missing something in our setup?What you expected to happen:
The
huaweicloud-controller-manager
returns no errors and internal IPs become visible on worker nodes.How to reproduce it (as minimally and precisely as possible):
kubeadm
(we have tried versions 1.30.3 and 1.29.7)huaweicloud-controller-manager
version v0.26.8Anything else we need to know?:
Same setup works fine with kubernetes versions <1.29 (there are no problems with node IPs and
huaweicloud-controller-manager
as well)Environment:
kubectl version
): 1.29.7cat /etc/os-release
): Ubuntu 22.04.4 LTSuname -a
): 5.15.0-117-genericThe text was updated successfully, but these errors were encountered: