-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add procedure to run several workspaces at a time
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
- Loading branch information
Showing
7 changed files
with
53 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
modules/installation-guide/pages/run-several-workspaces-at-a-time.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[id="run-several-workspaces-at-a-time"] | ||
// = Run several workspaces at a time | ||
:navtitle: Run more than one workspace at a time | ||
:keywords: installation-guide, run-workspaces | ||
:page-aliases: .:run-several-workspaces-at-a-time | ||
|
||
include::partial$proc_run-several-workspaces-at-a-time.adoc[] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
modules/installation-guide/partials/proc_run-several-workspaces-at-a-time.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
[id="run-several-workspaces-at-a-time_{context}"] | ||
= Run more than one workspaces at a time | ||
|
||
This procedure describes how to run more than once workspace at a time. | ||
|
||
.Prerequisites | ||
|
||
* The `{orch-cli}` tool is available. | ||
* An instance of {prod-short} running in {orch-name}. | ||
|
||
.Procedure | ||
|
||
. Remove the limit of concurrently running workspaces per user: | ||
|
||
* For Operator deployments: | ||
+ | ||
[subs="+quotes,+attributes"] | ||
---- | ||
$ {orch-cli} patch checluster {prod-checluster} -n {prod-namespace} --type merge \ | ||
-p '{ "spec": { "server": {"customCheProperties": {"CHE_LIMITS_USER_WORKSPACE_RUN_COUNT": "-1"} } }}' | ||
---- | ||
ifeval::["{project-context}" == "che"] | ||
* For Helm Chart deployments: | ||
+ | ||
[subs="+quotes,+attributes"] | ||
---- | ||
$ helm upgrade che -n {prod-namespace} --set global.workspace.number=-1 | ||
---- | ||
endif::[] | ||
|
||
. Use `per-workspace` or `unique` PVC strategy. To use `common` PVC strategy configure the persistent volumes to use `ReadWriteMany` access mode. | ||
|