New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty imagePullSecrets leads to status.conditions never being set #101697
Comments
/sig scheduling (I assume) |
@jendrikjoe: The label(s) In response to this:
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 Scheduler log
|
Should we instead forbid empty items in |
For me personally that would be totally fine 👍 I had no use case for it. It was more produced by chance as I wasn't aware that I had to handle the case |
Forbidding it is the appropriate solution. However, we can't do it for backwards compatibility of the API. /triage accepted |
I am aware that the following is a corner case that does not occur in day-to-day business, but it took me a long while to debug, so I thought I would raise this issue to save others from the same pain.
What happened:
Deploying the following job with empty imagePullSecrets leads to it being stuck in
Pending
forever, and status looking the following way:What you expected to happen:
The status should look something like:
This would allow my autoscaler to kick in and add the corresponding nodes.
How to reproduce it (as minimally and precisely as possible):
Run
kubectl apply -f <file-with-above-yaml-as-content>
Anything else we need to know?:
Environment:
kubectl version
):cat /etc/os-release
): MacOSX 11.3uname -a
): Darwin Kernel Version 20.4.0The text was updated successfully, but these errors were encountered: