Chapter 12. Jobs Flashcards

1
Q

What is a Job ?

A

A job creates Pods that run until successful termination

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Types of Jobs Patterns:

A
  • One shot
  • Parallel fixed completions
  • Work queue: parallel jobs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly