How can I add a SAN to the Kubernetes API certificate? | Nutanix Community
Skip to main content

Having deployed a new Kubernetes cluster with Karbon and downloaded the kubeconfig, kubectl operations result in an error:

Unable to connect to the server: x509: certificate is valid for cluster.local, kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster, kubernetes.default.svc.cluster.local, cluster.local, not xxxxx

 

What is the recommended way to add a SAN to the Karbon Kubernetes API certificate?

Hi Igor,

At this time you can use SNI when creating a cluster via the API. https://www.nutanix.dev/reference/karbon/api-reference/cluster/createk8scluster/