New QS Add CKA 2025
- Ingress now
- Oct 24
- 1 min read

Kubectl get pods -A -n kube-system
Here incase flannel installed go for Calico
Calico already installed go for flannel
Kubectl apply -f <link>
Kubectl get pods -n kube-flannel
Its shows error

Kubectl logs kube-flannel-ds-5mh5s -n kube-flannel

Does not cotaine 192.168.1.0/16 network so we need to add the network in configmap file
Kubectl get cm -n kube-flannel
We need to edit the configmap

Kubectl edit cm kube-flannel-cfg -n kube-flannel

Change here to 192.168.0.0/16 you can give 192.168.1.0/16 also

Save the file
Kubectl get pods -n kube-flannel

Now it showing CreshLoopBackOff
Just remove the pods

Now check the pods now its sucessfully running the pods
Kubectl get pods -n kube-flannel

For testing create two test pods




Comments