Kustomize, built into kubectl, customizes plain YAML without templates. A directory with a kustomization.yaml lists its resources: manifest files or other kustomization directories. A base holds the shared manifests; an overlay per environment points at the base and layers changes on top.
Common fields: namespace and namePrefix rewrite every object; labels adds labels; images swaps a repository's tag or name; replicas sets counts; patches applies strategic merge patches, partial manifests matched by kind and name. configMapGenerator and secretGenerator build ConfigMaps and Secrets whose names carry a hash of their content, and Kustomize rewrites references to them, so changing a setting rolls out new Pods.
kubectl kustomize DIR prints the result; kubectl apply -k DIR applies it. Read the output before you apply it.
A production overlay: namespace, image and a patch.