top of page
Search

New QS Add CKA 2025

 


ree

 

 

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

 

ree

  

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

 


 

ree

 

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

 

ree

 

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

 

ree

 

 

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

 


 

ree

Save the file

 

Kubectl get pods -n kube-flannel

 

ree

 

Now it showing CreshLoopBackOff

 

Just remove the pods

 

ree

 

 

Now check the pods now its sucessfully running the pods

 

Kubectl get pods -n kube-flannel

 

 

ree

 

For testing create two test pods

 


 




 
 
 

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page