Apply a manifest
CautionCreates or updates the resources declared in the manifest so the cluster matches the file.
kubectl apply -f manifest.yamlEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/kubectl-apply.md), licensed under CC BY 4.0.