How do you display a history of job executions in Kubernetes?
Experience Level: Junior
Tags: Kubernetes
Answer
Run the following command:
kubectl describe job job1
Related Kubernetes job interview questions
You need to make sure that each pod scheduled as part of your Kubernetes job will have label myJobId="great job". How will you do that?
Kubernetes JuniorYou were asked to create a command that will display a status of a pod pod1 in namespace ns1. What will you do?
Kubernetes JuniorHow do you create pod pod1 of image nginx in namespace ns1 that will have the container name c1?
Kubernetes MediorHow do you get a list of endpoints that are available for service service1?
Kubernetes MediorHow can you run a pod on each node of Kubernetes and make sure that it is running only once on on each node?
Kubernetes Medior