@Tej_Singh_Rana Please help to resolve this

Sunil Sharma:
@Tej_Singh_Rana Please help to resolve this

Sunil Sharma:
seems kube-apiserver service not working

Tej_Singh_Rana:
Can you please reverify the steps?

Sunil Sharma:
i just followed the steps as documented and in videos
, i was on Bootstrapping the Kubernetes Control Plane section

Sunil Sharma:
status of the services

Tej_Singh_Rana:
Please share the output of below command:

sudo systemctl cat kube-apiserver.service

Tej_Singh_Rana:

sudo systemctl status kube-apiserver

Sunil Sharma:

Sunil Sharma:

Tej_Singh_Rana:
can you please verify all certs and keys moved in that location /var/lib/kubernetes successfully?

Sunil Sharma:

Sunil Sharma:
i have installed etcd - 3.3.9
and Kubectl - 1.19.0

Tej_Singh_Rana:
https://kubernetes.io/docs/setup/release/version-skew-policy/#kubectl

Sunil Sharma:
I manage to fix the kube-api server by changing --runtime-config=api/all=true

Sunil Sharma:
@Tej_Singh_Rana @Mohamed Ayman Now getting this error

Unable to connect to the server: x509: certificate is valid for 192.168.5.11, 10.0.0.1, not 127.0.0.1

Sunil Sharma:
@Tej_Singh_Rana what should i need to check to resolve certificate error?

Sunil Sharma:
@Mohamed Ayman can you help on this

Unable to connect to the server: x509: certificate is valid for 192.168.5.11, 10.0.0.1, not 127.0.0.1

Miroslav Karanovic:
As I see I have the same problem…

Sunil Sharma:
@Miroslav Karanovic try this kube-api server by changing etc/systemd/system/kube-apiserver.service --runtime-config=api/all=true

Sunil Sharma:
@Mumshad Mannambeth can you pls help with error i am facing ?

Unable to connect to the server: x509: certificate is valid for 192.168.5.11, 10.0.0.1, not 127.0.0.1