
org.cdk8s.plus31.PersistentVolumeMode Maven / Gradle / Ivy
package org.cdk8s.plus31;
/**
* Volume Modes.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.105.0 (build 0a2adcb)", date = "2024-11-15T12:15:24.868Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus31.$Module.class, fqn = "cdk8s-plus-31.PersistentVolumeMode")
public enum PersistentVolumeMode {
/**
* Volume is ounted into Pods into a directory.
*
* If the volume is backed by a block device and the device is empty,
* Kubernetes creates a filesystem on the device before mounting it
* for the first time.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
FILE_SYSTEM,
/**
* Use a volume as a raw block device.
*
* Such volume is presented into a Pod as a block device,
* without any filesystem on it. This mode is useful to provide a Pod the fastest possible way
* to access a volume, without any filesystem layer between the Pod
* and the volume. On the other hand, the application running in
* the Pod must know how to handle a raw block device
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
BLOCK,
}