Skip to content

Add support for kots on arm64 #3360

@camilamacedo86

Description

@camilamacedo86

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions