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

Solution:

kubectl get pods

cd /etc/


nano nginx-pod.yaml


kubectl create -f nginx-pod.yaml
kubectl get pods            
Brando Sabatini and Ikbal C ©. Powered by Blogger.