Build a kustomization without applying it.
Section: Kustomize with kubectl
Render kustomization
bash
bash
kubectl kustomize overlays/prodExplanation
Build a kustomization without applying it.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Kustomize with kubectl
Delete kustomized resources
Delete resources generated by a kustomization.
Apply and prune kustomization
Apply a kustomization and prune matching managed objects.
Generate configmap YAML dry-run
Generate YAML that can be committed into Kustomize overlays.