You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kots has some NodeAffinity criteria implementations which require the label node-role.kubernetes.io/masterwhich does not necessarily exist for all K8s vendors. Therefore, this issue is to propose a suggestion for replacing RequiredDuringSchedulingIgnoredDuringExecution with preferredDuringSchedulingIgnoredDuringExecution so that it still be able to be scheduled with/when is not possible to match but ensure its preference which would allow work on more vendors by default. You can check the k8s doc for further info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity.
The text was updated successfully, but these errors were encountered:
camilamacedo86
changed the title
Allows kots work on with kind by replacing replacing RequiredDuringSchedulingIgnoredDuringExecution with preferredDuringSchedulingIgnoredDuringExecution
Allows kots work on with kind by changing Node affinity criteria
Oct 27, 2022
camilamacedo86
changed the title
Allows kots work on with kind by changing Node affinity criteria
Allows kots work on Kind by changing Node affinity criteria
Oct 27, 2022
Description
Kots has some NodeAffinity criteria implementations which require the label
node-role.kubernetes.io/master
which does not necessarily exist for all K8s vendors. Therefore, this issue is to propose a suggestion for replacingRequiredDuringSchedulingIgnoredDuringExecution
withpreferredDuringSchedulingIgnoredDuringExecution
so that it still be able to be scheduled with/when is not possible to match but ensure its preference which would allow work on more vendors by default. You can check the k8s doc for further info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity.See the code spot:
kots/pkg/kurl/join_cert.go
Lines 208 to 229 in c597a4a
Motivation
Note that Kind for example will not have this label: (Following an example with a default basic config)
(i.e.) Kind cluster with 3 nodes created with the following config (kind v0.16.0 / k8s 1.25.2)
See that we have not
node-role.kubernetes.io/master
labelThe text was updated successfully, but these errors were encountered: