diff --git a/modules/administration-guide/pages/configuring-che-storage-strategy.adoc b/modules/administration-guide/pages/configuring-the-storage-strategy.adoc similarity index 51% rename from modules/administration-guide/pages/configuring-che-storage-strategy.adoc rename to modules/administration-guide/pages/configuring-the-storage-strategy.adoc index 8df27a218ba..2e2e1eac85a 100644 --- a/modules/administration-guide/pages/configuring-che-storage-strategy.adoc +++ b/modules/administration-guide/pages/configuring-the-storage-strategy.adoc @@ -1,15 +1,15 @@ -:_content-type: CONCEPT -:description: Configuring the storage strategy in {prod-short} -:keywords: administration guide, configuring, {prod-short}, storage, strategy -:navtitle: Configuring the storage strategy in {prod-short} -:page-aliases: installation-guide:configuring-che-storage-strategy.adoc +:_content-type: PROCEDURE +:description: Configuring the storage strategy +:keywords: administration guide, configuring, {prod-short}, storage, strategy, per-user, per-workspace, ephemeral +:navtitle: Configuring the storage strategy +:page-aliases: installation-guide:configuring-the-storage-strategy.adoc -[id="configuring-{prod-id-short}-storage-strategy"] -= Configuring the storage strategy in {prod-short} +[id="configuring-the-storage-strategy"] += Configuring the storage strategy {prod-short} can be configured to provide persistent or non-persistent storage to workspaces by selecting a storage strategy. The selected storage strategy will be applied to all newly created workspaces by default. Users can opt for a non-default storage strategy for their workspace in their xref:end-user-guide:requesting-persistent-storage-for-workspaces.adoc[devfile] or through the xref:end-user-guide:url-parameter-for-the-workspace-storage.adoc[URL parameter]. -.Available storage strategies: +Available storage strategies: * `per-user`: Use a single PVC for all workspaces created by a user. * `per-workspace`: Each workspace is given its own PVC. @@ -19,9 +19,16 @@ The default storage strategy used in {prod-short} is `per-user`. .Procedure -Use CheCluster Custom Resource definition to define the storage strategy: +. Set the `pvcStrategy` field in the Che Cluster Custom Resource to `per-user`, `per-workspace` or `ephemeral`. -Set the `pvcStrategy` field in the Che Cluster Custom Resource to `per-user`, `per-workspace` or `ephemeral`. To set this field prior to installing {prod-short}, see xref:using-chectl-to-configure-the-checluster-custom-resource-during-installation.adoc[], otherwise consult xref:using-the-cli-to-configure-the-checluster-custom-resource.adoc[]. +[NOTE] +==== + +* You can set this field at installation. See xref:using-chectl-to-configure-the-checluster-custom-resource-during-installation.adoc[]. + +* You can update this field on the command line. See xref:using-the-cli-to-configure-the-checluster-custom-resource.adoc[]. + +==== [source,yaml,subs="+quotes,+attributes"] ---- @@ -29,6 +36,6 @@ spec: devEnvironments: storage: pvc: - # the available storage strategies are 'per-user', 'per-workspace' and 'ephemeral' - pvcStrategy: 'per-user' + pvcStrategy: 'per-user' <1> ---- +<1> The available storage strategies are `per-user`, `per-workspace` and `ephemeral`.