## kubectl delete Delete a resource by filename, stdin, or resource and ID. ### Synopsis ``` Delete a resource by filename, stdin, resource and ID, or by resources and label selector. JSON and YAML formats are accepted. If both a filename and command line arguments are passed, the command line arguments are used and the filename is ignored. Note that the delete command does NOT do resource version checks, so if someone submits an update to a resource right when you submit a delete, their update will be lost along with the rest of the resource. ``` kubectl delete ([-f filename] | ( [( | -l