Skip to content
ohsudo, Home

Tags

#kubeconfig

x509: certificate signed by unknown authority
Kubernetes

kubectl "x509: certificate signed by unknown authority": your kubeconfig doesn't trust this cluster

Fix kubectl "x509: certificate signed by unknown authority": get a fresh kubeconfig for a recreated cluster, compare the CA, and handle proxies that inspect TLS.

Intermediate · 3 min read

localhost:8080 was refused
Kubernetes

kubectl "The connection to the server localhost:8080 was refused": your kubeconfig is missing

Fix kubectl "The connection to the server localhost:8080 was refused": kubectl has no kubeconfig. Set it up for kubeadm, k3s, minikube, EKS, GKE or AKS, and under sudo.

Beginner · 3 min read