You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CKS: listKubernetesClusters etcdips is empty once cloud.kubernetes.etcd.node.start.port changes #14826
listKubernetesClusters returns an empty etcdips for clusters with dedicated etcd nodes.
The response keeps only etcd node port forwarding rules whose public port equals the current value of cloud.kubernetes.etcd.node.start.port. Etcd rules are created once, at start port + i (KubernetesClusterStartWorker#setupKubernetesEtcdNetworkRules), so:
case
result
several etcd nodes
only the first node's rule (start port + 0) can match; the others' rules never match
setting changed after the cluster was created
no rule matches, etcdips is empty
versions
4.22 (code in KubernetesClusterManagerImpl#createKubernetesClusterResponse), also on main.
The steps to reproduce the bug
Create a CKS cluster on an isolated network with etcdnodes >= 1.
Activity