@Stability(value=Experimental) 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(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()
(experimental) 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.
|
Size |
getSizeLimit()
(experimental) Total amount of local storage required for this EmptyDir volume.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public 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 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 EmptyDirVolumeOptionspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.