Diff a kustomization

Show what will change before you apply

kubectl diff -k ./overlays/prod

tool
kustomize23 commands
tags
kustomizedebug

More kustomize commands

  • kustomize edit add resource ./deployment.yaml

    Add a resource file to kustomization.yaml

  • kustomize edit set image myapp=registry/myapp:v2.0.0

    Update the image tag in kustomization.yaml

  • kustomize edit set namespace production

    Set one namespace for all resources in the overlay

  • kustomize edit add label env:production

    Add a common label to all generated resources

  • kustomize edit add patch --path patch.yaml --kind Deployment --name <name>

    Register a strategic merge patch for one Deployment in kustomization.yaml

all 23 kustomize commands