Closed venomwaqar closed 5 years ago
Maybe there are some permission issues indeed. Can you run the setup with root?
What does systemctl status kubelet
and journalctl -xeu kubelet
say?
Also cat 10-kubeadm.conf
Can you check if the the cgroup driver used by kubelet and docker is the same?
I couldn't exactly pinpoint the issue, but got it fix by following one of the two options below:
Thanks for getting back 👍
Inventory File
Last Task
Command: ansible-playbook -i hosts.example site.yml --private-key=Key.pem Kubernetes: v1.13.4 CentOS: 7.6 Repo Branch: v1.13
When I ssh into master, and try to get the logs of kube-api-server pod, I get the following error
error: unable to load server certificate: open /etc/kubernetes/pki/apiserver.crt: permission denied
I have even tried to run the api manually after giving all the permission to the pki directory, just for test but the error is still same.
Please help me fix the issue