Skip to content

[enterprise-4.20] OSDOCS-20786: Configuring NFD worker node selectors and tolerations.#116224

Open
yashshree2002 wants to merge 1 commit into
openshift:enterprise-4.20from
yashshree2002:release-4.20
Open

[enterprise-4.20] OSDOCS-20786: Configuring NFD worker node selectors and tolerations.#116224
yashshree2002 wants to merge 1 commit into
openshift:enterprise-4.20from
yashshree2002:release-4.20

Conversation

@yashshree2002

Copy link
Copy Markdown

The current Node Feature Discovery (NFD) Operator documentation does not describe the workerNodeSelector and workerTolerations fields available under spec.operand of the NodeFeatureDiscovery custom resource.

These fields allow cluster administrators to:

  • Schedule NFD worker pods only on selected nodes by using workerNodeSelector.
  • Schedule NFD worker pods on tainted nodes by configuring workerTolerations
  • The masterTolerations field allows NFD master pods to tolerate taints applied to control plane/master nodes.

Beginning with Red Hat OpenShift Container Platform 4.20, the NodeFeatureDiscovery custom resource supports configuring the placement of NFD worker and master pods through the spec.operand section.

Ref:
https://github.com/openshift/cluster-nfd-operator/blob/98a074e63cd08de9748892a1d2361e33665efaf1/api/v1/nodefeaturediscovery_types.go#L112

masterTolerations	<[]Object>         <<<<<<----------------
    effect	<string>
    key	<string>

 workerNodeSelector	<map[string]string>   <<<<<<------------------
  workerPriorityClassName	<string>
  workerTolerations	<[]Object>
    effect	<string>

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 22, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 22, 2026

Copy link
Copy Markdown

@yashshree2002: This pull request references OSDOCS-20786 which is a valid jira issue.

Details

In response to this:

The current Node Feature Discovery (NFD) Operator documentation does not describe the workerNodeSelector and workerTolerations fields available under spec.operand of the NodeFeatureDiscovery custom resource.

These fields allow cluster administrators to:

  • Schedule NFD worker pods only on selected nodes by using workerNodeSelector.
  • Schedule NFD worker pods on tainted nodes by configuring workerTolerations
  • The masterTolerations field allows NFD master pods to tolerate taints applied to control plane/master nodes.

Beginning with Red Hat OpenShift Container Platform 4.20, the NodeFeatureDiscovery custom resource supports configuring the placement of NFD worker and master pods through the spec.operand section.

Ref:
https://github.com/openshift/cluster-nfd-operator/blob/98a074e63cd08de9748892a1d2361e33665efaf1/api/v1/nodefeaturediscovery_types.go#L112

masterTolerations	<[]Object>         <<<<<<----------------
    effect	<string>
    key	<string>

workerNodeSelector	<map[string]string>   <<<<<<------------------
  workerPriorityClassName	<string>
  workerTolerations	<[]Object>
    effect	<string>

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci Bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jul 22, 2026
@openshift-ci

openshift-ci Bot commented Jul 22, 2026

Copy link
Copy Markdown

Hi @yashshree2002. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@yashshree2002 yashshree2002 changed the title OSDOCS-20786: Configuring NFD worker node selectors and tolerations in OCP 4.20 [enterprise-4.20] OSDOCS-20786: Configuring NFD worker node selectors and tolerations. Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants