What is the name of the overlay file referenced to change the replica count in the example?

Prepare for the Red Hat Openshift Developer EX288 Exam. Study with comprehensive quizzes and flashcards. Each question includes hints and explanations to enhance your understanding. Ace your exam with confidence!

Multiple Choice

What is the name of the overlay file referenced to change the replica count in the example?

Explanation:
In a Kubernetes overlap using overlays, you apply patches that modify specific parts of the base manifests, such as the number of replicas. The file named replica_count.yaml is the patch that targets and changes the replicas value for the Deployment, making it the clear, self-descriptive overlay for adjusting how many pods run in the example. The content would typically specify the deployment resource and set spec.replicas to the desired number, without altering other fields. Other file names would not communicate the exact patch’s purpose as effectively: deployment.yaml would usually be the full resource, replicas.yaml isn’t a standard cue for a patch to replicas, and patch.yaml is generic, whereas replica_count.yaml explicitly denotes its role in changing the replica count.

In a Kubernetes overlap using overlays, you apply patches that modify specific parts of the base manifests, such as the number of replicas. The file named replica_count.yaml is the patch that targets and changes the replicas value for the Deployment, making it the clear, self-descriptive overlay for adjusting how many pods run in the example. The content would typically specify the deployment resource and set spec.replicas to the desired number, without altering other fields. Other file names would not communicate the exact patch’s purpose as effectively: deployment.yaml would usually be the full resource, replicas.yaml isn’t a standard cue for a patch to replicas, and patch.yaml is generic, whereas replica_count.yaml explicitly denotes its role in changing the replica count.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy