@Stability(value=Stable) @Internal public static final class EmptyDirVolumeOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EmptyDirVolumeOptions
EmptyDirVolumeOptionssoftware.amazon.jsii.JsiiObject.InitializationModeEmptyDirVolumeOptions.Builder, EmptyDirVolumeOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(EmptyDirMedium medium,
org.cdk8s.Size sizeLimit)
Constructor that initializes the object based on literal property values passed by the
EmptyDirVolumeOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
EmptyDirMedium |
getMedium()
By default, emptyDir volumes are stored on whatever medium is backing the node - that might be disk or SSD or network storage, depending on your environment.
|
org.cdk8s.Size |
getSizeLimit()
Total amount of local storage required for this EmptyDir volume.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(EmptyDirMedium medium, org.cdk8s.Size sizeLimit)
EmptyDirVolumeOptions.Builder.public final EmptyDirMedium getMedium()
EmptyDirVolumeOptions
However, you can set the emptyDir.medium field to
EmptyDirMedium.MEMORY to tell Kubernetes to mount a tmpfs (RAM-backed
filesystem) for you instead. While tmpfs is very fast, be aware that unlike
disks, tmpfs is cleared on node reboot and any files you write will count
against your Container's memory limit.
Default: EmptyDirMedium.DEFAULT
getMedium in interface EmptyDirVolumeOptionspublic final org.cdk8s.Size getSizeLimit()
EmptyDirVolumeOptionsThe size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod.
Default: - limit is undefined
getSizeLimit in interface EmptyDirVolumeOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.