Question : Create a job countdown-devops.
The spec template should be named as countdown-devops (under metadata), and the container should be named as container-countdown-devops
Use image debian with latest tag only and remember to mention tag i.e debian:latest, and restart policy should be Never.
Use command for i in ten nine eight seven six five four three two one ; do echo $i ; done
1. At first kubectl utility configure and working from jump server, run below commands
kubectl get services
kubectl get pods
https://gitlab.com/nb-tech-support/devops.git
( Refer Below Video for more clarity )
kubectl get pods
Happy Learning!!!!
0 Comments