Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace VolumeMount

Define the mapping from volume to a mount path in container.

Properties

Optional isReadOnly

isReadOnly: undefined | false | true

Whether the volume was mounted in read-only mode. By default, the volume is mounted with write access.

mountPath

mountPath: string

Describes the volume access path.

Optional partition

partition: undefined | number

If there is more than one partition in the volume, reference this number of partitions. Here is an example: Number Start End Size File system Name Flags 1 1049kB 106MB 105MB fat16 EFI System Partition boot, esp 2 106MB 1180MB 1074MB xfs 3 1180MB 50.0GB 48.8GB lvm Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional subPath

subPath: undefined | string

A sub-path inside the referenced volume.

volumeName

volumeName: string

The name of the volume.

Functions

getDeserializedJsonObj

getJsonObj