Skip to content

Allow Educates to run on GKE on arm64 nodes properly #779

@jorgemoralespou

Description

@jorgemoralespou

Is your feature request related to a problem? Please describe.

It seems as GKE adds a taint to GKE nodes to prevent arm64 workloads to be placed in them (https://cloud.google.com/kubernetes-engine/docs/how-to/prepare-arm-workloads-for-deployment).

Describe the solution you'd like

Investigate a way to either:

  • Remove the taint
  • Add tolerations to Educates workloads (via CLI and terraform install)

Describe alternatives you've considered

No response

Additional information

It seems that adding this snippet to Educates workloads known to run on arm64 will solve the problem:

  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchExpressions:
          - key: kubernetes.io/arch
            operator: In
            values:
            - arm64
            - amd64

But still we would need to solve the problem of making Educates workshops work as well.

Another option is to use a kyverno policy

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions