Advanced Kustomize quiz
A free advanced Kustomize quiz with up to 40 multiple-choice questions on overlays, patches, generators, components, replacements and kubectl apply -k. Written for engineers who use it day to day, with an explanation for every answer.
Loading Quiz...
Preparing your Kustomize Advanced level questions
Browse the 20 medium Kustomize questions, with answers
- Why can adding a label through commonLabels make kubectl apply fail for an existing Deployment?
- How do you add a label to every resource without changing any selectors?
- What does an images entry with name: nginx and a digest: sha256:... value do?
- A strategic merge patch lists one container with a new image. What happens to the base's other containers?
- How do you remove a container from a base Deployment with a strategic merge patch?
- When is a JSON 6902 patch a better choice than a strategic merge patch?
- A patch target sets kind: Deployment and labelSelector: tier=backend. Which resources does the patch change?
- What are Kustomize components for?
- Which field replaces the deprecated vars for copying a value from one resource into another?
- How do you reference a base from a Git repository under resources?
- kustomize build fails because a patch file sits outside the kustomization's directory. What does the default load restrictor require?
- How do you generate a TLS Secret with Kustomize?
- What does sortOptions.order: fifo change in the build output?
- What does generatorOptions.disableNameSuffixHash: true change?
- How can you see what kubectl apply -k would change in the cluster before applying it?
- Can a kustomization include a Helm chart?
- What does kustomize edit fix do?
- An overlay's strategic merge patch fails with "failed to find unique target for patch". What is the usual cause?
- A base and an overlay both have an images entry for nginx with different tags. Which tag ends up in the output?
- Which file names does Kustomize accept for the kustomization file in a directory?