easykubectl

Apply a YAML or JSON resource configuration file to create or update resources

command

kubectl apply -f FILENAME

also accepted

kubectl apply -f

Command breakdown

Part of the Kubernetes CLI (kubectl) — Resource Operations category.

kubectlapply-fFILENAME
FlagPurpose
-fBoolean flag

Test your recall — not just your reading.

Practice with interactive quiz →