I am trying to run pod on the cluster. but, it is stuck in the *ContainerCreatin . . .

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 ?

Shahu Pawar:
Here is O/p of above command.

Shahu Pawar:

Vinay M Athreyas:
looks like certificate issue :slightly_smiling_face:

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 :slightly_smiling_face:

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 :slightly_smiling_face: