bhouse-nexthop opened a new issue, #14903: URL: https://github.com/apache/cloudstack/issues/14903
### Problem The API server certificate of a CKS cluster covers only the addresses CloudStack knows: the control node IP and the cluster's public (or external load balancer) IP. A client that reaches the cluster any other way gets a certificate error: - a DNS name in front of the load balancer, such as `k8s.example.com` - a NAT address or a VIP in front of the cluster kubectl then fails with `x509: certificate is valid for ..., not k8s.example.com`. The only way around it is `insecure-skip-tls-verify`, or regenerating the API server certificate by hand on every control node. ### Proposal Let `createKubernetesCluster` take extra DNS names and IP addresses for the API server certificate. CKS passes them to `kubeadm init` with the addresses it adds today. Control nodes that join later and `kubeadm certs renew` keep them. ### Versions CloudStack `main` (24.0.0-SNAPSHOT), KVM, any network type. 4.22 behaves the same. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
