Skip to content

operator-sdk and nodeAffinity changes #1283

@Fryguy

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions