Invalid certificate: Error: Invalid certificate. #9096
-
I have single node k3s cluster version v1.28.4+k3s2. I want to connect it to Azure DevOps service connection but show error like the title. I have generated new kubeconfig with new public ip curl -sfL https://get.k3s.io | INSTALL_K3S_VERSION=v1.28.4+k3s2 INSTALL_K3S_EXEC="--tls-san public ip" sh - |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I suspect you need to modify the k3s kubeconfig to point at the public IP of your node, as described at: https://docs.k3s.io/cluster-access#accessing-the-cluster-from-outside-with-kubectl |
Beta Was this translation helpful? Give feedback.
-
i have change from 127.0.0.0 or localhost to my public ip. i also generate kubeconfig with SAN my public ip |
Beta Was this translation helpful? Give feedback.
-
I have the same issue and the kubeconfig is correct: I can interact with the cluster by using kubectl without issues. Just ADO won't work. |
Beta Was this translation helpful? Give feedback.
I suspect you need to modify the k3s kubeconfig to point at the public IP of your node, as described at: https://docs.k3s.io/cluster-access#accessing-the-cluster-from-outside-with-kubectl