Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
I cannot access my k8s cluster - DO configs do not work
Today I’ve upgraded my cluster to the version: 1.16.6-do.2.
Now I am not able to access my k8s cluster.
I downloaded config file from DO dashboard, I also tried to use doctl tool to configure my kubectl, but the response is always the same:
doctl kubernetes cluster kubeconfig save xyz
Notice: Adding cluster credentials to kubeconfig file found in “/home/xxx/.kube/config”
Notice: Setting current-context to do-fra1-xyz
kubectl get nodes
Unable to connect to the server: x509: certificate has expired or is not yet valid
Do you know how can get my connection back?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×