1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

Add catsrc grpcPodConfig for nodeselector, priorityclass, tolerations

This commit is contained in:
Alex Dellapenta
2023-02-17 14:36:42 -07:00
committed by openshift-cherrypick-robot
parent b807afc9a5
commit ea5d003ebc
7 changed files with 165 additions and 8 deletions

View File

@@ -0,0 +1,39 @@
:_content-type: ASSEMBLY
[id="olm-cs-podsched"]
= Catalog source pod scheduling
include::_attributes/common-attributes.adoc[]
:context: olm-cs-podsched
toc::[]
When an Operator Lifecycle Manager (OLM) catalog source of source type `grpc` defines a `spec.image`, the Catalog Operator creates a pod that serves the defined image content. By default, this pod defines the following in its spec:
* Only the `kubernetes.io/os=linux` node selector
* No priority class name
* No tolerations
As an administrator, you can override these values by modifying fields in the `CatalogSource` object's optional `spec.grpcPodConfig` section.
[role="_additional-resources"]
.Additional resources
* xref:../../operators/understanding/olm/olm-understanding-olm.adoc#olm-catalogsource_olm-understanding-olm[OLM concepts and resources -> Catalog source]
include::modules/olm-node-selector.adoc[leveloffset=+1]
[role="_additional-resources"]
.Additional resources
* xref:../../nodes/scheduling/nodes-scheduler-node-selectors.adoc#nodes-scheduler-node-selectors[Placing pods on specific nodes using node selectors]
include::modules/olm-priority-class-name.adoc[leveloffset=+1]
[role="_additional-resources"]
.Additional resources
* xref:../../nodes/pods/nodes-pods-priority.adoc#admin-guide-priority-preemption-priority-class_nodes-pods-priority[Pod priority classes]
include::modules/olm-tolerations.adoc[leveloffset=+1]
[role="_additional-resources"]
.Additional resources
* xref:../../nodes/scheduling/nodes-scheduler-taints-tolerations.adoc#nodes-scheduler-taints-tolerations-about_nodes-scheduler-taints-tolerations[Understanding taints and tolerations]

View File

@@ -22,6 +22,7 @@ include::modules/olm-catalogsource.adoc[leveloffset=+2]
* xref:../../../operators/understanding/olm/olm-understanding-dependency-resolution.adoc#olm-dependency-catalog-priority_olm-understanding-dependency-resolution[Catalog priority]
* xref:../../../operators/admin/olm-status.adoc#olm-cs-status-cli_olm-status[Viewing Operator catalog source status by using the CLI]
* xref:../../../authentication/understanding-and-managing-pod-security-admission.adoc#understanding-and-managing-pod-security-admission[Understanding and managing pod security admission]
* xref:../../../operators/admin/olm-cs-podsched.adoc#olm-cs-podsched[Catalog source pod scheduling]
include::modules/olm-catalogsource-image-template.adoc[leveloffset=+3]
include::modules/olm-subscription.adoc[leveloffset=+2]