Skip to content

Commit 8c25433

Browse files
committed
Add instructions to enable API group to VolumeAttributesClass
1 parent ffeb6be commit 8c25433

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/en/docs/concepts/storage/volume-attributes-classes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ If you want to test the feature whilst it's beta, you need to enable the `Volume
2929
--feature-gates="...,VolumeAttributesClass=true"
3030
```
3131

32+
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:
33+
34+
```
35+
--runtime-config=storage.k8s.io/v1beta1=true
36+
```
37+
3238
You can also only use VolumeAttributesClasses with storage backed by
3339
{{< glossary_tooltip text="Container Storage Interface" term_id="csi" >}}, and only where the
3440
relevant CSI driver implements the `ModifyVolume` API.

0 commit comments

Comments
 (0)