Skip to content

Commit

Permalink
Fix outdated workspace nodeSelector documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vinokurig committed Feb 19, 2024
1 parent f3e8957 commit 8da4e68
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@ This section describes how to configure link:https://kubernetes.io/docs/concepts

.Procedure

{prod-short} 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.

{prod-short} uses `CheCluster` Custom Resource to configure `nodeSelector`:
[source,yaml]
----
CHE_WORKSPACE_POD_NODE__SELECTOR=disktype=ssd,cpu=xlarge,[key=value]
spec:
devEnvironments:
nodeSelector:
key: value
----
This section must contain a set of `key=value` pairs to form the nodeSelector rule.


[IMPORTANT]
====
Expand Down

0 comments on commit 8da4e68

Please sign in to comment.