From 8c25433782953a16afe14184d55ae47d7d00bc8c Mon Sep 17 00:00:00 2001 From: Drew Sirenko <68304519+AndrewSirenko@users.noreply.github.com> Date: Thu, 25 Jul 2024 10:40:13 -0400 Subject: [PATCH] Add instructions to enable API group to VolumeAttributesClass --- .../en/docs/concepts/storage/volume-attributes-classes.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/docs/concepts/storage/volume-attributes-classes.md b/content/en/docs/concepts/storage/volume-attributes-classes.md index 29da23d372b81..7b8db09fc3e8a 100644 --- a/content/en/docs/concepts/storage/volume-attributes-classes.md +++ b/content/en/docs/concepts/storage/volume-attributes-classes.md @@ -29,6 +29,12 @@ If you want to test the feature whilst it's beta, you need to enable the `Volume --feature-gates="...,VolumeAttributesClass=true" ``` +You will also have to enable the `storage.k8s.io/v1beta1` API group through the `kube-apiserver` [runtime-config](https://kubernetes.io/docs/tasks/administer-cluster/enable-disable-api/). You use the following command line argument: + +``` +--runtime-config=storage.k8s.io/v1beta1=true +``` + You can also only use VolumeAttributesClasses with storage backed by {{< glossary_tooltip text="Container Storage Interface" term_id="csi" >}}, and only where the relevant CSI driver implements the `ModifyVolume` API.