summaryrefslogtreecommitdiffstats
path: root/docs/sections/guides/infra_guides/oom_infra_base_config_setup.rst
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-07-19 11:16:15 +0000
committerGerrit Code Review <gerrit@onap.org>2023-07-19 11:16:15 +0000
commitafd83333558d7b9240bec6836d13ca73fd494493 (patch)
tree727e139d04e313c17162a83f7c97fe948b552ceb /docs/sections/guides/infra_guides/oom_infra_base_config_setup.rst
parent491446e0ef8966809476e969544ef6187e39bd58 (diff)
parent7e14d24ec4f8906d74584b68a04cd95934a98a94 (diff)
Merge "[DOC][CASSANDRA] Default StorageClass for Cassandra deployment"
Diffstat (limited to 'docs/sections/guides/infra_guides/oom_infra_base_config_setup.rst')
-rw-r--r--docs/sections/guides/infra_guides/oom_infra_base_config_setup.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/sections/guides/infra_guides/oom_infra_base_config_setup.rst b/docs/sections/guides/infra_guides/oom_infra_base_config_setup.rst
index f27277ddc9..e84f578c01 100644
--- a/docs/sections/guides/infra_guides/oom_infra_base_config_setup.rst
+++ b/docs/sections/guides/infra_guides/oom_infra_base_config_setup.rst
@@ -15,6 +15,7 @@
.. _Istio setup guide: https://istio.io/latest/docs/setup/install/helm/
.. _Gateway-API: https://gateway-api.sigs.k8s.io/
.. _Istio-Gateway: https://istio.io/latest/docs/reference/config/networking/gateway/
+.. _DefaultStorageClass: https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/
.. _oom_base_setup_guide:
@@ -116,6 +117,17 @@ Verify the plugins are installed::
deploy 1.0.0 install (upgrade if release exists) parent chart and all subcharts as separate but related releases
undeploy 1.0.0 delete parent chart and subcharts that were deployed as separate releases
+Set the default StorageClass
+----------------------------
+
+In some ONAP components it is important to have a default storageClass defined (e.g. cassandra),
+if you don't want to explicitly set it during the deployment via helm overrides.
+
+Therefor you should set the default storageClass (if not done during the K8S cluster setup) via the command:
+
+ > kubectl patch storageclass <storageclass> -p '{"metadata": {"annotations":{"storageclass.kubernetes.io/is-default-class":"true"}}}'
+
+see `DefaultStorageClass`_
Install the Strimzi Kafka Operator
----------------------------------