hostPath property

HostPathVolumeSource? hostPath
final

hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath.

Implementation

final HostPathVolumeSource? hostPath;