From 8ad557bfee08555dfda4413bebb48a54e93c446d Mon Sep 17 00:00:00 2001 From: Luke Kysow <1034429+lkysow@users.noreply.github.com> Date: Fri, 5 Nov 2021 11:27:49 -0700 Subject: [PATCH] Document default storage class requirements (#11492) --- .../platforms/self-hosted-kubernetes.mdx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/website/content/docs/k8s/installation/platforms/self-hosted-kubernetes.mdx b/website/content/docs/k8s/installation/platforms/self-hosted-kubernetes.mdx index 629bd70b87..e0ab7c6889 100644 --- a/website/content/docs/k8s/installation/platforms/self-hosted-kubernetes.mdx +++ b/website/content/docs/k8s/installation/platforms/self-hosted-kubernetes.mdx @@ -6,7 +6,8 @@ description: Installing Consul on Self Hosted Kubernetes # Self Hosted Kubernetes -Except for creating persistent volumes (see below), installing Consul on your +Except for creating persistent volumes and ensuring there is a storage class +configured (see below), installing Consul on your self-hosted Kubernetes cluster is the same process as installing Consul on a cloud-hosted Kubernetes cluster. See the [Installation Overview](/docs/k8s/installation/install) for install instructions. @@ -35,3 +36,16 @@ data-vault-consul-consul-server-2 data-vault-consul-consul-server-3 data-vault-consul-consul-server-4 ``` + +## Storage Class + +Your Kubernetes installation must either have a default storage class specified +(see https://kubernetes.io/docs/concepts/storage/storage-classes/ and https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/) +or you must specify the storage class for the Consul servers: + +```yaml +server: + storageClass: your-class +``` + +See the [Helm reference](/docs/k8s/helm#v-server-storageclass) for that setting for more information.