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.