Skip to content

Device

  • .Values.persistence.$name

Type device is almost identical to hostPath. The only difference is that when a device type is defined, we take additional actions, like adding supplementalGroups or setting hostPathType automatically to the container assigned, so it can utilize the device.


Define the hostPath

Keypersistence.$name.hostPath
Typestring
Required
Helm tpl
Default""

Example

persistence:
device-vol:
hostPath: /path/to/host

Define the hostPathType

Keypersistence.$name.hostPathType
Typestring
Required
Helm tpl
Default""

Example

persistence:
device-vol:
hostPathType: BlockDevice

persistence:
dev-vol:
enabled: true
type: device
hostPath: /path/to/host
hostPathType: BlockDevice