Skip to content

Host Path

Appears in

  • .Values.persistence.$name

hostPath

Define the hostPath

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

Example

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

hostPathType

Define the hostPathType

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

Valid Values

  • ""
  • DirectoryOrCreate
  • Directory
  • FileOrCreate
  • File
  • Socket
  • CharDevice
  • BlockDevice

Example

persistence:
hostpath-vol:
hostPathType: DirectoryOrCreate

Full Examples

persistence:
hostpath-vol:
enabled: true
type: hostPath
mountPath: /path
hostPath: /path/to/host
hostPathType: DirectoryOrCreate