Solved

How can I add a SAN to the Kubernetes API certificate?

  • 26 October 2021
  • 1 reply
  • 275 views

Badge

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?

icon

Best answer by JoseNutanix 27 October 2021, 10:09

View original

This topic has been closed for comments

1 reply

Userlevel 4
Badge +5

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/