diff --git a/docs/tutorials/object-management-kubectl/declarative-object-management-configuration.md b/docs/tutorials/object-management-kubectl/declarative-object-management-configuration.md index 78121cb7db..4c06edd110 100644 --- a/docs/tutorials/object-management-kubectl/declarative-object-management-configuration.md +++ b/docs/tutorials/object-management-kubectl/declarative-object-management-configuration.md @@ -313,14 +313,14 @@ used together. There are two approaches to delete objects managed by `kubectl apply`. -### Recommended: `delete -f ` +### Recommended: `kubectl delete -f ` Manually deleting objects using the imperative command is the recommended approach, as it is more explicit about what is being deleted, and less likely to result in the user deleting something unintentionally: ```shell -delete -f +kubectl delete -f ``` ### Alternative: `kubectl apply -f --prune -l your=label`