Chapter 12. Jobs Flashcards
1
Q
What is a Job ?
A
A job creates Pods that run until successful termination
2
Q
Types of Jobs Patterns:
A
- One shot
- Parallel fixed completions
- Work queue: parallel jobs
3
Q
Command line to create a one shot job:
A
kubectl run -i oneshot \
- -image=gcr.io/kuar-demo/kuard-amd64:blue \
- -restart=OnFailure \
- –keygen-enable \
- -keygen-exit-on-complete \
- -keygen-num-to-gen 10