Add instructions to enable API group to VolumeAttributesClass

pull/46785/head
Drew Sirenko 2024-07-25 10:40:13 -04:00
parent ffeb6beab0
commit 8c25433782
1 changed files with 6 additions and 0 deletions

View File

@ -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.