Bug 1956960 - Ability To Specify NodeSelector for Operator Registry Pods
Summary: Ability To Specify NodeSelector for Operator Registry Pods
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.6.z
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Kevin Rizza
QA Contact: Jian Zhang
Depends On:
TreeView+ depends on / blocked
Reported: 2021-05-04 18:29 UTC by Dustin Row
Modified: 2021-05-04 22:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-05-04 22:01:06 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Dustin Row 2021-05-04 18:29:18 UTC
Description of problem:
The pods of all OSD managed operators need to be scheduled on specific node types ("infra" nodes). Although we have the ability to specific the nodeSelector for our operator pods, we do not have the ability to specify the nodeSelector for the operator registry pods.

Version-Release number of selected component (if applicable): N/A

How reproducible: 100%

Steps to Reproduce:
1. Deploy an operator via OLM in a particular namespace
2. oc get pods -n <desired-namespace> -o wide | grep registry

Actual results:
Pods land on worker nodes.

Expected results:
We can specify a nodeSelector in the CatalogSource of the operator and the registry pods land in the preferred node pool.

Additional info:
Please see relevant code as to where this registry pod is created:

Note You need to log in before you can comment on or make changes to this bug.