All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cdk8s.plus31.PersistentVolumeReclaimPolicy Maven / Gradle / Ivy

package org.cdk8s.plus31;

/**
 * Reclaim Policies.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-10-12T12:14:17.423Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus31.$Module.class, fqn = "cdk8s-plus-31.PersistentVolumeReclaimPolicy")
public enum PersistentVolumeReclaimPolicy {
    /**
     * The Retain reclaim policy allows for manual reclamation of the resource.
     * 

* When the PersistentVolumeClaim is deleted, the PersistentVolume still exists and the * volume is considered "released". But it is not yet available for another claim * because the previous claimant's data remains on the volume. * An administrator can manually reclaim the volume with the following steps: *

*

    *
  1. Delete the PersistentVolume. The associated storage asset in external * infrastructure (such as an AWS EBS, GCE PD, Azure Disk, or Cinder volume) still exists after the PV is deleted.
  2. *
  3. Manually clean up the data on the associated storage asset accordingly.
  4. *
  5. Manually delete the associated storage asset.
  6. *
*

* If you want to reuse the same storage asset, create a new PersistentVolume * with the same storage asset definition. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) RETAIN, /** * For volume plugins that support the Delete reclaim policy, deletion removes both the PersistentVolume object from Kubernetes, as well as the associated storage asset in the external infrastructure, such as an AWS EBS, GCE PD, Azure Disk, or Cinder volume. *

* Volumes that were dynamically provisioned inherit the reclaim policy of their StorageClass, which defaults to Delete. * The administrator should configure the StorageClass according to users' expectations; otherwise, * the PV must be edited or patched after it is created */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) DELETE, }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy