Skip to content

Commit 75ece85

Browse files
authored
Merge pull request #41278 from tengqm/fix-41089
Add link to reclaiming policy
2 parents 2172ca7 + eea76d1 commit 75ece85

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

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

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ vendors provide their own external provisioner.
9898
### Reclaim Policy
9999
100100
PersistentVolumes that are dynamically created by a StorageClass will have the
101-
reclaim policy specified in the `reclaimPolicy` field of the class, which can be
101+
[reclaim policy](/docs/concepts/storage/persistent-volumes/#reclaiming)
102+
specified in the `reclaimPolicy` field of the class, which can be
102103
either `Delete` or `Retain`. If no `reclaimPolicy` is specified when a
103104
StorageClass object is created, it will default to `Delete`.
104105

@@ -107,8 +108,6 @@ whatever reclaim policy they were assigned at creation.
107108

108109
### Allow Volume Expansion
109110

110-
{{< feature-state for_k8s_version="v1.11" state="beta" >}}
111-
112111
PersistentVolumes can be configured to be expandable. This feature when set to `true`,
113112
allows the users to resize the volume by editing the corresponding PVC object.
114113

@@ -146,8 +145,9 @@ the class or PV. If a mount option is invalid, the PV mount fails.
146145

147146
### Volume Binding Mode
148147

149-
The `volumeBindingMode` field controls when [volume binding and dynamic
150-
provisioning](/docs/concepts/storage/persistent-volumes/#provisioning) should occur. When unset, "Immediate" mode is used by default.
148+
The `volumeBindingMode` field controls when
149+
[volume binding and dynamic provisioning](/docs/concepts/storage/persistent-volumes/#provisioning)
150+
should occur. When unset, "Immediate" mode is used by default.
151151

152152
The `Immediate` mode indicates that volume binding and dynamic
153153
provisioning occurs once the PersistentVolumeClaim is created. For storage
@@ -176,14 +176,14 @@ The following plugins support `WaitForFirstConsumer` with pre-created Persistent
176176
- All of the above
177177
- [Local](#local)
178178

179-
{{< feature-state state="stable" for_k8s_version="v1.17" >}}
180179
[CSI volumes](/docs/concepts/storage/volumes/#csi) are also supported with dynamic provisioning
181180
and pre-created PVs, but you'll need to look at the documentation for a specific CSI driver
182181
to see its supported topology keys and examples.
183182

184183
{{< note >}}
185184
If you choose to use `WaitForFirstConsumer`, do not use `nodeName` in the Pod spec
186-
to specify node affinity. If `nodeName` is used in this case, the scheduler will be bypassed and PVC will remain in `pending` state.
185+
to specify node affinity.
186+
If `nodeName` is used in this case, the scheduler will be bypassed and PVC will remain in `pending` state.
187187

188188
Instead, you can use node selector for hostname in this case as shown below.
189189
{{< /note >}}
@@ -353,7 +353,8 @@ parameters:
353353
- `path`: Path that is exported by the NFS server.
354354
- `readOnly`: A flag indicating whether the storage will be mounted as read only (default false).
355355

356-
Kubernetes doesn't include an internal NFS provisioner. You need to use an external provisioner to create a StorageClass for NFS.
356+
Kubernetes doesn't include an internal NFS provisioner.
357+
You need to use an external provisioner to create a StorageClass for NFS.
357358
Here are some examples:
358359

359360
- [NFS Ganesha server and external provisioner](https://github.com/kubernetes-sigs/nfs-ganesha-server-and-external-provisioner)
@@ -376,7 +377,8 @@ parameters:
376377

377378
{{< note >}}
378379
{{< feature-state state="deprecated" for_k8s_version="v1.11" >}}
379-
This internal provisioner of OpenStack is deprecated. Please use [the external cloud provider for OpenStack](https://github.com/kubernetes/cloud-provider-openstack).
380+
This internal provisioner of OpenStack is deprecated. Please use
381+
[the external cloud provider for OpenStack](https://github.com/kubernetes/cloud-provider-openstack).
380382
{{< /note >}}
381383

382384
### vSphere
@@ -386,11 +388,15 @@ There are two types of provisioners for vSphere storage classes:
386388
- [CSI provisioner](#vsphere-provisioner-csi): `csi.vsphere.vmware.com`
387389
- [vCP provisioner](#vcp-provisioner): `kubernetes.io/vsphere-volume`
388390

389-
In-tree provisioners are [deprecated](/blog/2019/12/09/kubernetes-1-17-feature-csi-migration-beta/#why-are-we-migrating-in-tree-plugins-to-csi). For more information on the CSI provisioner, see [Kubernetes vSphere CSI Driver](https://vsphere-csi-driver.sigs.k8s.io/) and [vSphereVolume CSI migration](/docs/concepts/storage/volumes/#vsphere-csi-migration).
391+
In-tree provisioners are [deprecated](/blog/2019/12/09/kubernetes-1-17-feature-csi-migration-beta/#why-are-we-migrating-in-tree-plugins-to-csi).
392+
For more information on the CSI provisioner, see
393+
[Kubernetes vSphere CSI Driver](https://vsphere-csi-driver.sigs.k8s.io/) and
394+
[vSphereVolume CSI migration](/docs/concepts/storage/volumes/#vsphere-csi-migration).
390395

391396
#### CSI Provisioner {#vsphere-provisioner-csi}
392397

393-
The vSphere CSI StorageClass provisioner works with Tanzu Kubernetes clusters. For an example, refer to the [vSphere CSI repository](https://github.com/kubernetes-sigs/vsphere-csi-driver/blob/master/example/vanilla-k8s-RWM-filesystem-volumes/example-sc.yaml).
398+
The vSphere CSI StorageClass provisioner works with Tanzu Kubernetes clusters.
399+
For an example, refer to the [vSphere CSI repository](https://github.com/kubernetes-sigs/vsphere-csi-driver/blob/master/example/vanilla-k8s-RWM-filesystem-volumes/example-sc.yaml).
394400

395401
#### vCP Provisioner
396402

@@ -642,8 +648,6 @@ parameters:
642648

643649
### Local
644650

645-
{{< feature-state for_k8s_version="v1.14" state="stable" >}}
646-
647651
```yaml
648652
apiVersion: storage.k8s.io/v1
649653
kind: StorageClass

0 commit comments

Comments
 (0)