Skip to content

Volume

Structure Class

Volume dataclass

Bases: _SerdeShape

Volume used by the Kubernetes workload.

Attributes

host_path class-attribute instance-attribute
host_path: HostPath | None = ...

Represents a pre-existing file or directory on the host machine that the volume maps to.

name class-attribute instance-attribute
name: str | None = ...

Volume name.