Kubernetes 101: Excercise 9 for CKA (create a pod, status pod)


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

Exercise 4:

  • Create a pod named nginx
  • Check the status of the pod

Solution:

kubectl run nginx --image=nginx

kubectl get pods



kubectl describe pod nginx



kubectl get pods -o wide

Comments

Leave as a comment:

Archive