-
Notifications
You must be signed in to change notification settings - Fork 222
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
tridentControllerPluginNodeSelector/tridentNodePluginNodeSelector won't work with "true" value #899
Comments
Hi @kmizumar , we are using the nodeAffinity and podAffinity with IN operator, which works on the set of strings. Could you try to use as below and see if it works? |
Hi @prajwalv-netapp, I also got the same behavior while trying to use a label with value set to Nevertheless, I don't understand what you mean that the IN operator is working on a set of strings being the problem? This seems like it is the wrong type (as described in the bug mentioned by @kmizumar) and not due to the fact that it is not a list. |
Hi @E-Zurg , https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#operators |
This fix will be in the 24.10 release: 3550582 |
Describe the bug
Trying to use
tridentControllerPluginNodeSelector
andtridentNodePluginNodeSelector
with helm chart setup providing the following values per yaml file would fail:This bug is exactly the same one which is reported in new nodeSelectors are not working when label value contains "true".
According to this update #700 (comment), it's fixed in Trident 22.07 release, but some users reported it still exists in 23.04.0, 23.07.0, 23.10, and I hit this bug with 24.02 release.
I confirmed that Parajwal V brought in this problem again on 03/06/23 98c0d9a, which Arnav Srivastava had solved on 06/01/22 a53cf69.
Environment
Provide accurate information about the environment to help us reproduce the issue.
To Reproduce
see above.
Expected behavior
node selector handles the value
"true"
correctly.The text was updated successfully, but these errors were encountered: