Skip to content
Scaling and rolloutKubernetes

kubectl apply

Apply declarative configuration changes.

Command
kubectl apply -f

Example usage

Deploy resources from manifests or Kustomize overlays.

kubectl apply -f <manifest.yaml>
kubectl apply -k <kustomize_dir>

Related tags

Scaling and rolloutk8skubectlclusters