-
cat /etc/kubernetes/manifests/<staticpod>.yaml
-
for kubelet check service status, and check where the config file is stored
-
kubelet certificates should be in
/var/lib/kubelet/pki
-
kubernetes cerst shoudl be in
/etc/kubernetes/pki/
openssl req -new -key john.key -out john.csr -subj="/CN=john/O=system:masters" -CN=user O=node<optional>
sign csr: openssl x509 -req -in /etc/kubernetes/pki/apiserver-etcd-client.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out apiserver-etcd-client.crt
-
if you cant seee logs using kubectl logs, use docker logs
-
if there are no docker logs check
journalctl -u <processname> | grep etcd for etcderrors
kubectl create secret docker-registry private-reg-cred --docker-username=dock_user --docker-password=dock_password --docker-server=myprivateregistry.com:5000 --docker-email=<email>