Kustomize
Easy
Concepts
Where does kustomize build print warnings about deprecated fields such as patchesStrategicMerge?
Select your answer:
Show answer and explanation
Answer: To stderr, separate from the YAML on stdout
Explanation
Kustomize writes each deprecation warning to stderr, so piping kustomize build into kubectl apply -f - keeps working. The messages start with # Warning:, which makes them look like YAML comments, but they never reach the output stream.
More easy Kustomize questions
- What is Kustomize?
- Which file tells Kustomize which resources to build and how to change them?
- Which command prints the built output of a kustomization directory with kubectl, without applying it?
- Which flag makes kubectl apply a kustomization directory?
- Which field lists the manifest files and directories a kustomization builds from?
- What is an overlay in Kustomize?