Which directory holds environment-specific customizations for an app named myapp in the recommended structure?

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

Which directory holds environment-specific customizations for an app named myapp in the recommended structure?

Explanation:
In a Kustomize-based setup, you separate the common resources from the environment-specific tweaks. The base holds the shared manifests for the application, while overlays contain the environment-specific customizations. Each environment (like production or staging) has its own subdirectory under overlays that references the base and applies patches or substitutions to tailor things like replicas, images, or environment variables for that environment. For an app named myapp, you’d keep the shared stuff in base and put the per-environment changes in overlays, with subdirectories such as overlays/production and overlays/staging. So the directory that holds environment-specific customizations is overlays.

In a Kustomize-based setup, you separate the common resources from the environment-specific tweaks. The base holds the shared manifests for the application, while overlays contain the environment-specific customizations. Each environment (like production or staging) has its own subdirectory under overlays that references the base and applies patches or substitutions to tailor things like replicas, images, or environment variables for that environment. For an app named myapp, you’d keep the shared stuff in base and put the per-environment changes in overlays, with subdirectories such as overlays/production and overlays/staging. So the directory that holds environment-specific customizations is overlays.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy