hardkubectl
Validate a deployment manifest locally without sending it to the cluster
command
kubectl apply -f DEPLOYMENT_FILE --dry-run=clientalso accepted
kubectl applycommand
kubectl apply -f DEPLOYMENT_FILE --dry-run=clientalso accepted
kubectl applyPart of the Kubernetes CLI (kubectl) — Deployments category.
| Flag | Purpose |
|---|---|
-f | Boolean flag |
--dry-run | Set to: client |
Test your recall — not just your reading.
Practice with interactive quiz →