hardkubectl
Apply all manifests in a directory and delete labelled resources not present in the directory
command
kubectl apply --prune -f DIRECTORY -l APP=LABELalso accepted
kubectl apply --prunecommand
kubectl apply --prune -f DIRECTORY -l APP=LABELalso accepted
kubectl apply --pruneTest your recall — not just your reading.
Practice with interactive quiz →