My pods not getting deployed, it shows pending state

HI All,
Good morning
I am trying to get my pods deployed, but it is not getting deployed
the results of the command I am pasting it here

itsupport@k8s-master:~/yamlfile$ kubectl get pods

NAME READY STATUS RESTARTS AGE
mmy-pod 0/1 Pending 0 26m
my-deployment-6694cfb556-2mhlg 0/1 Pending 0 7m16s
my-deployment-6694cfb556-ff6wk 0/1 Pending 0 7m16s
my-pod 0/1 Pending 0 77m

itsupport@k8s-master:~/yamlfile$ kubectl get nodes

NAME STATUS ROLES AGE VERSION
k8s-master NotReady control-plane 25h v1.27.3
k8s-node-a NotReady 23h v1.27.3
k8s-node-b NotReady 21h v1.27.3
itsupport@k8s-master:~/yamlfile$

Like to request advice on how to trouble shoot and find why my nodes are in node-ready position and my pods and in pending situation

Much appreciated a link to a url or docs which will help to trouble shoot
thanks
Joseph John

Cluster information:

Client Version: v1.27.3
Kustomize Version: v5.0.1
Server Version: v1.27.3
Cloud being used: bare metal
Installation method: deb
Host OS: Ubuntu 22.04
CNI and version:
CRI and version:

Thanks to the forum

Did you install a network provider e.g. cilium? The pods won’t be able to start until theres a working network available

1 Like

Thanks

I installed flannel
kubectl apply -f https://github.com/flannel-io/flannel/releases/latest/download/kube-flannel.yml

then now when I check I am getting the message

itsupport@k8s-master:~$ > kubectl get pods

NAME READY STATUS RESTARTS AGE
mmy-pod 0/1 ContainerCreating 0 7d8h
my-deployment-6694cfb556-2mhlg 0/1 ContainerCreating 0 7d8h
my-deployment-6694cfb556-ff6wk 0/1 ContainerCreating 0 7d8h
my-pod 0/1 ContainerCreating 0 7d9h

Thanks a lot