Kubernetes 101: Excercise 8 for CKA (creating a job)

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

What is a job accordly to the kubernetes documentation?https://kubernetes.io/docs/concepts/workloads/controllers/job/

Exercise :

  • Create a job named nginx-pod in the /etc/ directory


kubectl get pods

cd /etc/

nano nginx-pod.yaml

kubectl create -f nginx-pod.yaml
kubectl get pods            


Leave as a comment: