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.
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: + - linuxThat is, the kubernetes.io/os section is new. We should also update our other affinities to match.