-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
Product / Portfolio Work
-
False
-
-
False
-
None
-
None
-
None
-
None
-
None
Currently it is possible to configure node-selector and tolerations for netobserv-plugin running on netobserv namespace through FlowCollector:
apiVersion: flows.netobserv.io/v1beta2 kind: FlowCollector metadata: annotations: argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true name: cluster spec: consolePlugin: advanced: scheduling: nodeSelector: node-role.kubernetes.io/infra: '' tolerations: - key: node-role.kubernetes.io/infra operator: Exists
This does not apply to netobserv-plugin-static plugin running in openshift-netobserv-operator namespace.
netobserv-controller-manager pod placement is configured through OLM Subscription:
apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: netobserv-operator namespace: openshift-netobserv-operator spec: channel: stable config: nodeSelector: node-role.kubernetes.io/infra: '' tolerations: - key: node-role.kubernetes.io/infra operator: Exists name: netobserv-operator source: redhat-operators sourceNamespace: openshift-marketplace
Since netobserv-plugin-static deployment is owned by netobserv-controller-manager deployment, it should inherit the nodeSelector/tolerations configured for netobserv-controller-manager.