-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Closed
Labels
area/kubectlpriority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.Categorizes an issue or PR as relevant to SIG API Machinery.
Description
If you run kubectl delete resource <non_existent_resource_name>
, kubectl exits with 0 and prints nothing.
E.g.
$ ./cluster/kubectl.sh delete pod abc
$ echo $?
0
I expected to see a "resource not found" message and/or an error code when this occurred. It's very misleading when you type the wrong resource name and think you delete it.
Metadata
Metadata
Assignees
Labels
area/kubectlpriority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.Categorizes an issue or PR as relevant to SIG API Machinery.