LinuxCommandLibrary

kubectl-kustomize

builds a kustomization target from a directory containing kustomization

TLDR

Build kustomization from directory

$ kubectl kustomize [directory]
copy
Build and output to file
$ kubectl kustomize [directory] > [output.yaml]
copy
Apply kustomization
$ kubectl apply -k [directory]
copy

SYNOPSIS

kubectl kustomize directory [options]

DESCRIPTION

kubectl kustomize builds a kustomization target from a directory containing kustomization.yaml. Processes patches, overlays, and resource modifications without templates. Output can be piped to kubectl apply.

PARAMETERS

--enable-helm

Enable Helm chart rendering.
--load-restrictor value
Control resource loading restrictions.
-o, --output format
Output format.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community