on ‎2021 Jan 18 7:02 AM
Hi All,
I am running the command - kubectl create namespace test and getting the below response -
Unable to connect to the server: x509: certificate signed by unknown authority
Before running the above command, I have executed the below set of commands and getting expected outputs.
1) kubectl config get-contexts

2) kubectl version --client

I see a certificate issue and how do we fix this?
All the best
Tanmoy
Request clarification before answering.
Hi,
It seems there is a problem with your kubeconfig. I got the same message a couple of times when I wrote this tutorial. I had the feeling that I ran into this issue when I had an incorrect configuration of the tutorial-sa.yaml file and it worked once I fixed it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.