-
Notifications
You must be signed in to change notification settings - Fork 254
Add documentation for VolumeAttributesClass #616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Volume Attributes Classes | ||
|
|
||
| ## Status | ||
|
|
||
| Status | Min K8s Version | Max K8s Version | external-provisioner Version | ||
| -------|-----------------|-----------------|----------------------------- | ||
|
||
| Alpha | 1.29 | - | 5.0.2+ | ||
|
||
| Beta | 1.31 | - | 5.1.0+ | ||
|
|
||
| ## Overview | ||
| A `VolumeAttributesClass` is a cluster-scoped resource that can be used to control and change the settings of a `PersistentVolume`. | ||
| Its primary use is to adjust the class of service for a volume (e.g., bronze, silver, gold) to meet different performance, quality-of-service, or resilience requirements. | ||
|
|
||
| > See the [Kubernetes Enhancement Proposal](https://github.com/kubernetes/enhancements/blob/master/keps/sig-storage/3751-volume-attributes-class/README.md) | ||
| > for more details on the background, design and discussions. | ||
| ## Usage | ||
| This feature is enabled by default in the [external-provisioner](https://github.com/kubernetes-csi/external-provisioner/?tab=readme-ov-file#feature-status). | ||
|
|
||
| To take advantage of `VolumeAttibutesClass` feature: | ||
| * The CSI driver must implement the `MODIFY_VOLUME` capability. | ||
| * The Kubernetes administrator must create the `VolumeAttributesClass` with the relevant `parameters` for the `driverName` | ||
| * The user can then patch the `PersistentVolumeClaim` under `spec.volumeAttributesClassName` to select or update the settings he needs for the volume. | ||
|
|
||
| > For more information about how to use the feature, visit the [Kubernetes blog](https://kubernetes.io/blog/2024/08/15/kubernetes-1-31-volume-attributes-class/) page. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this is not volume-attributes-class.md?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file renamed as suggested