Study. uk . com
  1. Home
  2. All questions
  3. Question 652

CKA study material · question 652 of 1000

A Job pulls items from an external queue until the queue is empty, and there is no fixed number of items. How should it be configured?

  1. Set completions to a large number and leave parallelism unset
  2. Set both completions and parallelism to the worker count
  3. Leave completions unset and set parallelism to the worker count
  4. Set completionMode to Indexed and omit parallelism
Show the answer

Answer: C. Leave completions unset and set parallelism to the worker count

A work queue Job leaves completions unset — the Job is complete when the workers say the work is done — and sets parallelism to the number of workers.

Source: Jobs (Kubernetes) — Writing a Job spec › Parallel execution for Jobs

Challenge yourself on this topic → Study as cards