You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/concepts/storage/volume-attributes-classes.md
+19-18
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,16 @@ Kubernetes itself is un-opinionated about what these classes represent.
23
23
This is a beta feature and disabled by default.
24
24
25
25
If you want to test the feature whilst it's beta, you need to enable the `VolumeAttributesClass`
26
-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) for the kube-controller-manager and the kube-apiserver. You use the `--feature-gates` command line argument:
26
+
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) for the kube-controller-manager
27
+
and the kube-apiserver. You use the `--feature-gates` command line argument:
27
28
28
29
```
29
30
--feature-gates="...,VolumeAttributesClass=true"
30
31
```
31
32
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
+
You will also have to enable the `storage.k8s.io/v1beta1` API group through the
@@ -49,7 +52,6 @@ The name of a VolumeAttributesClass object is significant and is how users can r
49
52
Administrators set the name and other parameters of a class when first creating VolumeAttributesClass objects.
50
53
While the name of a VolumeAttributesClass object in a `PersistentVolumeClaim` is mutable, the parameters in an existing class are immutable.
51
54
52
-
53
55
```yaml
54
56
apiVersion: storage.k8s.io/v1beta1
55
57
kind: VolumeAttributesClass
@@ -61,24 +63,27 @@ parameters:
61
63
provisioned-throughput: "50"
62
64
```
63
65
64
-
65
66
### Provisioner
66
67
67
-
Each VolumeAttributesClass has a provisioner that determines what volume plugin is used for provisioning PVs. The field `driverName` must be specified.
68
+
Each VolumeAttributesClass has a provisioner that determines what volume plugin is used for
69
+
provisioning PVs. The field `driverName` must be specified.
68
70
69
-
The feature support for VolumeAttributesClass is implemented in [kubernetes-csi/external-provisioner](https://github.com/kubernetes-csi/external-provisioner).
71
+
The feature support for VolumeAttributesClass is implemented in
You are not restricted to specifying the [kubernetes-csi/external-provisioner](https://github.com/kubernetes-csi/external-provisioner). You can also run and specify external provisioners,
74
+
You are not restricted to specifying the [kubernetes-csi/external-provisioner](https://github.com/kubernetes-csi/external-provisioner).
75
+
You can also run and specify external provisioners,
72
76
which are independent programs that follow a specification defined by Kubernetes.
73
77
Authors of external provisioners have full discretion over where their code lives, how
74
-
the provisioner is shipped, how it needs to be run, what volume plugin it uses, etc.
75
-
78
+
the provisioner is shipped, how it needs to be run, what volume plugin it uses, etc.
76
79
77
80
### Resizer
78
81
79
-
Each VolumeAttributesClass has a resizer that determines what volume plugin is used for modifying PVs. The field `driverName` must be specified.
82
+
Each VolumeAttributesClass has a resizer that determines what volume plugin is used
83
+
for modifying PVs. The field `driverName` must be specified.
80
84
81
-
The modifying volume feature support for VolumeAttributesClass is implemented in [kubernetes-csi/external-resizer](https://github.com/kubernetes-csi/external-resizer).
85
+
The modifying volume feature support for VolumeAttributesClass is implemented in
0 commit comments