An open-data portal stores a cluster component as a Kustomize directory and wants to deploy the built output with kubectl. Which invocation applies that Kustomize tree?
Select an answer to reveal the explanation.
Short Explanation
kubectl apply -k is the built-in “build this Kustomize folder, then apply it” button—perfect for an open-data addon checked into git. Taints and attach sessions do not expand kustomization.yaml. You build (or -k), then apply.
Full Explanation
kubectl supports Kustomize via kubectl apply -k <dir>, which builds the kustomization and applies the result. Equivalently, operators may run kustomize build and pipe to kubectl apply -f -. Node taints and interactive attach workflows are unrelated to rendering Kustomize output.