easykubectl
Apply a manifest file into a specific namespace
command
kubectl apply -f MANIFEST_FILE --namespace NAMESPACEalso accepted
kubectl apply -fkubectl apply -f MANIFEST_FILE --namespacecommand
kubectl apply -f MANIFEST_FILE --namespace NAMESPACEalso accepted
kubectl apply -fkubectl apply -f MANIFEST_FILE --namespacePart of the Kubernetes CLI (kubectl) — Namespaces category.
| Flag | Purpose |
|---|---|
-f | Boolean flag |
--namespace | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →