hardkubectl
Create a resource and save its configuration as an annotation for future apply operations
command
kubectl create -f FILE --save-configalso accepted
kubectl create -fcommand
kubectl create -f FILE --save-configalso accepted
kubectl create -fPart of the Kubernetes CLI (kubectl) — Resource Operations category.
| Flag | Purpose |
|---|---|
-f | Boolean flag |
--save-config | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →