# Storage Class
+ Using storage class
+ Data safety



------------------------------------------------------------
Using storage class

- Storage classes are managed by kubernetes administrator. When deploying `TiKV` cluster or `tidb-backup` with `TiDB Operator`, you can configure `StorageClass` for the components that require persistent storage via the `storageClassName` field in the `values.yaml` configuration file. 

- Pods request for using a `PV` through a `PVC`, then the volume provisioner set by `storageClassName` creates a `PV` that meets the requirements of `PVC` and then binds the `PV` to the `PVC`.

Data safety

- In general, after a `PVC` is no longer used and deleted, the `PV` bound to it is reclaimed and placed in the resource pool for scheduling by the provisioner. To avoid accidental data loss, you can globally configure the reclaim policy of the `StorageClass` to `Retain` or only change the reclaim policy of a single `PV` to `Retain`. With the `Retain` policy, a `PV` is not automatically reclaimed.

