-
Notifications
You must be signed in to change notification settings - Fork 111
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
Replace nodeSelector with nodeAffinity master role #91
Conversation
do we have the same issue for node-role.kubernetes.io/worker ? |
No to the same extent. |
It might be good to do the same change for webhooks (webhook and operator-webhook) which run on master nodes (although they are not supported to run on k8s yet). |
ack+ |
manifests/4.7/sriov-network-operator.v4.7.0.clusterserviceversion.yaml
Outdated
Show resolved
Hide resolved
Label node-role.kubernetes.io/master has traditionally no value associated inherited from kubeadm deplyments but some platforms use "true" as value. Use node affinity instead of node selector ignoring the value of the label.
This is already included in this PR or am I missing something else? |
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Label node-role.kubernetes.io/master has traditionally no value
associated inherited from kubeadm deplyments but some platforms use
"true" as value. Use node affinity instead of node selector ignoring the
value of the label.