Skip to content

[Feature]: Change nodeAffinity in OLM deployment to not require master or control plane labels on nodes. #129

Description

@bhpratt

Suggestion Description

Some installations of managed OpenShift such as Hypershift: https://github.com/openshift/hypershift deploy a hosted control plane that is segmented from the data plane. In these installs, the worker nodes do not have the node-role.kubernetes.io/control-plane or node-role.kubernetes.io/master labels. Because the worker nodes do not have these labels, operators, such as the AMD GPU Operator that include requiredDuringSchedulingIgnoredDuringExecution such as:

spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchExpressions:
          - key: node-role.kubernetes.io/control-plane
            operator: Exists
        - matchExpressions:
          - key: node-role.kubernetes.io/master
            operator: Exists

Will not run out of the box. Suggestion is to change the nodeAffinity to preferredDuringSchedulingIgnoredDuringExecution or expose a method for the end user to set their own nodeAffinity to accomodate these types of OpenShift installs.

Operating System

N/A

GPU

N/A

ROCm Component

N/A

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions