Skip to content

operator-sdk and nodeAffinity changes #1283

Description

@Fryguy

The new operator-sdk sets the following in the operator:

      spec:
        affinity:
          nodeAffinity:
            requiredDuringSchedulingIgnoredDuringExecution:
              nodeSelectorTerms:
              - matchExpressions:
                - key: kubernetes.io/arch
                  operator: In
                  values:
                  - amd64
+               - key: kubernetes.io/os
+                 operator: In
+                 values:
+                 - linux

That is, the kubernetes.io/os section is new. We should also update our other affinities to match.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions