-
Notifications
You must be signed in to change notification settings - Fork 545
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
operatorhubio-catalog is scheduled to run on a MS Windows worker node #1119
Comments
Hi @HansK-p, thanks for bringing this issue up. This is something we've been discussing this past week as we see more mixed linux and windows OS node pools. We will look into this and provide a fix. |
@HansK-p now that I'm looking at the issue more closely, what you're describing is basically a dedicated node with a specific taint, and only pods which have tolerations which match would be scheduled, per https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/#example-use-cases. The catalog source was scheduled onto the Windows node because catalog source pods have toleration operators set to We can add a |
I saw the Exists toleration, but didn't know that it was that "effective". The pod was scheduled on the MS Windows node even after I marked the node as unschedulable (uncordon). This was slightly frustrating.... Adding a NodeSelector to the pod sounds like a good idea. It should never be scheduled to run on anything but a Linux node (unless it actually works). I assume the NodeSelector will be: nodeSelector: beta.kubernetes.io/os: linux |
Thanks @HansK-p. We've merged the |
I'm going to close this as we have developed and backported a fix in the upcoming release cycle. Please feel free to reopen if you see this issue again 🐛 |
Bug Report
What did you do?
A clear and concise description of the steps you took (or insert a code snippet).
This is an AKS cluster running K8s 1.14.8 with multiple node pools enabled and both a Linux and a MS Windows Node Pool. The single node in the MS Windows Nodepool is tainted:
The operator has been installed with and unmodified version of the install script, that is:
The text was updated successfully, but these errors were encountered: