Description
Currently, we are unable to use kots install and schedule the console on arch arm64.
The kotsadm pod will not be scheduled:
|
func defaultKOTSNodeAffinity() *corev1.NodeAffinity { |
|
return &corev1.NodeAffinity{ |
|
RequiredDuringSchedulingIgnoredDuringExecution: &corev1.NodeSelector{ |
|
NodeSelectorTerms: []corev1.NodeSelectorTerm{ |
|
{ |
|
MatchExpressions: []corev1.NodeSelectorRequirement{ |
|
{ |
|
Key: "kubernetes.io/os", |
|
Operator: corev1.NodeSelectorOpIn, |
|
Values: []string{ |
|
"linux", |
|
}, |
|
}, |
|
{ |
|
Key: "kubernetes.io/arch", |
|
Operator: corev1.NodeSelectorOpNotIn, |
|
Values: []string{ |
|
"arm64", |
|
}, |
|
}, |
|
}, |
|
}, |
|
}, |
|
}, |
|
} |
|
} |
More info: #896
Motivation
- Add support for Apple Silicon
- Allow users and maintainers to use and test the solution into for example Apple Silicon.
- Allow users to use the solution in any linux arm64 env
Description
Currently, we are unable to use
kots installand schedule the console on arch arm64.The kotsadm pod will not be scheduled:
kots/pkg/kotsadm/objects/affinity_objects.go
Lines 10 to 35 in c597a4a
More info: #896
Motivation