Following our journey on the preparation towards the exam CKA (Certified Kubernetes Administrator), we continue this time with exercise number 10. 

Exercise 10:

  • Create a file in the directory /opt/ with the name cluster-info
  • Now figure out how many master nodes and worker nodes are available in your cluster. 
  • Copy this information inside the cluster-info and save it.
Solution:

cd /opt/
ls

touch cluster-info

cd

kubectl get pods

nano cluster-info


Brando Sabatini and Ikbal C ©. Powered by Blogger.