Update persistent-volumes.md (#7155)
* Add deprecation warning to recycle reclaim policy. * Format the deprecation warning
This commit is contained in:
committed by
k8s-ci-robot
parent
1f0f465a72
commit
5eec3bca82
@@ -108,6 +108,9 @@ The Retain reclaim policy allows for manual reclamation of the resource. When th
|
||||
|
||||
#### Recycling
|
||||
|
||||
**Warning:** The recycling reclaim policy is being deprecated. Instead, the recommended approach is to use dynamic provisioning.
|
||||
{: .warning}
|
||||
|
||||
If supported by appropriate volume plugin, recycling performs a basic scrub (`rm -rf /thevolume/*`) on the volume and makes it available again for a new claim.
|
||||
|
||||
However, an administrator can configure a custom recycler pod template using the Kubernetes controller manager command line arguments as described [here](/docs/admin/kube-controller-manager/). The custom recycler pod template must contain a `volumes` specification, as shown in the example below:
|
||||
|
||||
Reference in New Issue
Block a user