Fix punctuation or reword the error message: "cannot delete Pods declare no controller"
cannot delete Pods declare no controller
Is a... broken English? What were you trying to say here? Please make this error message make sense.
This is found in kubectl 1.25, but I'm not sure it's coming from kubectl itself, maybe it's from somewhere else. But due to the incomprehensible nature of this message I cannot even begin to guess where this may come from.
NB. The complete error message might look something like this:
error: unable to drain node "node005" due to error:cannot delete Pods declare no controller (use --force to override):
So, the formatting is also broken (missing space after colon).
When you drain a node, if there are direct pods on that node (meaning the pods have no owner, such as pods generated by a deployment which have owners), this error will occur.
return MakePodDeleteStatusWithError(unmanagedFatal)
/triage accept /sig cli
@mpuckett159: The label(s) triage/accept cannot be applied, because the repository doesn't have them.
In response to this:
/triage accept /sig cli
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/good-first-issue
@mpuckett159: This request has been marked as suitable for new contributors.
Guidelines
Please ensure that the issue body includes answers to the following questions:
- Why are we solving this issue?
- To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?
- Does this issue have zero to low barrier of entry?
- How can the assignee reach out to you for help?
For more details on the requirements of such an issue, please see here and ensure that they are met.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.
In response to this:
/good-first-issue
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/assign
/assign
/assign
/triage accepted
/assign
/assign