Control which nodes run workspaces
Control which nodes run OpenShift Dev Spaces workspace Pods by setting nodeSelector and tolerations for compliance, hardware affinity, or zone isolation.
Before you begin
- You have an active
ocsession with administrative permissions to the OpenShift cluster. See This page is not included, but the link has been rewritten to point to the nearest parent document.Getting started with the CLI. - The target nodes are labeled or tainted according to the scheduling rules you want to apply.
Procedure
Results
- Verify the
nodeSelectorortolerationsconfiguration in theCheClusterCustom Resource:oc get checluster devspaces -n openshift-devspaces -o jsonpath='{.spec.devEnvironments.nodeSelector}'