Shahu Pawar:
I am trying to run pod on the cluster. but, it is stuck in the ContainerCreating Status. It is almost 42 min’s but it is not changing status what is the issue here?
Can someone help me in this here. Thank You…!
Vinay M Athreyas:
Does kubectl describe pod <pod-name
shows something ?
Vinay M Athreyas:
looks like certificate issue
Vinay M Athreyas:
you may need to check how you create the certificate , mostly about how you signed it
Shahu Pawar:
kubeadm join 10.128.0.10:6443 --token r7zr3y.8kw88f8kmfq2uuw4
–discovery-token-ca-cert-hash sha256:3ad55e47acb088a584fa8b90e60091e74ce3345c5703327374c742a0946bff73
Shahu Pawar:
This is the Certificate i used for joining my worker node
Vinay M Athreyas:
In cluster setup using kubeadm,look for /etc/kubernetes/manifests/kuba-apiserver.yaml
to view each certificate, use below command.
#openssl x509 -in /etc/kubernetes/pki/apiserver.crt -text -noout
Vinay M Athreyas:
Can you check this
Vinay M Athreyas:
One quick thing you can do is to go through security section solution labs
Vinay M Athreyas:
that should help you to fix this issue
Shahu Pawar:
Okay, Thank You…!
Shahu Pawar:
@Vinay M Athreyas Yes, gone through Security section. but did not got solution for this. It looks like network plugin issue. issue is still persisted please help me with this.
Vinay M Athreyas:
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/#tls-certificate-errors
Vinay M Athreyas:
please try this
Shahu Pawar:
Thank you @Vinay M Athreyas for your help. This link helps me resolve the issue. https://docs.projectcalico.org/getting-started/kubernetes/quickstart
Vinay M Athreyas:
There are quite a few links for solving this issue, I just provided you official documentation