Configuring workspaces nodeSelector
This section describes how to configure nodeSelector
for Pods of Che workspaces.
Che uses the CHE_WORKSPACE_POD_NODE__SELECTOR
environment variable to configure nodeSelector
. This variable can contain a set of comma-separated key=value
pairs to form the nodeSelector rule, or NULL
to disable it.
CHE_WORKSPACE_POD_NODE__SELECTOR=disktype=ssd,cpu=xlarge,[key=value]
To avoid Pods and PVCs to be scheduled in different zones on large, multizone clusters, create an additional Pass the name of this newly created |