If completions is 20 and parallelism is 5, how many pods can run in parallel at once?

Study for the Kubernetes Cloud Native Associate (KCNA) Certification. Prepare with flashcards and multiple choice questions. Ensure success with detailed explanations. Ready for your exam!

Multiple Choice

If completions is 20 and parallelism is 5, how many pods can run in parallel at once?

Explanation:
In Kubernetes Jobs, completions is how many successful pods you want in total, and parallelism is the maximum number of pods that can run at the same time. The number of pods running in parallel is limited by the smaller of these two values, because you can’t exceed the parallelism limit, and you can’t run more concurrent work than what you still need to reach the completions target. Here, you need 20 completions and can run up to 5 at once, so you can have up to 5 pods running in parallel. As pods finish, you replace them until you’ve achieved 20 successful completions. If completions were fewer than parallelism, you’d only run that smaller number concurrently.

In Kubernetes Jobs, completions is how many successful pods you want in total, and parallelism is the maximum number of pods that can run at the same time. The number of pods running in parallel is limited by the smaller of these two values, because you can’t exceed the parallelism limit, and you can’t run more concurrent work than what you still need to reach the completions target. Here, you need 20 completions and can run up to 5 at once, so you can have up to 5 pods running in parallel. As pods finish, you replace them until you’ve achieved 20 successful completions. If completions were fewer than parallelism, you’d only run that smaller number concurrently.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy