hardkubectl

Install a CustomResourceDefinition into the cluster from a YAML manifest

command

kubectl apply -f crd.yaml

also accepted

kubectl apply -f

Command breakdown

Part of the Kubernetes CLI (kubectl) — kubectl Advanced category.

kubectlapply-fcrd.yaml
FlagPurpose
-fBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →