First-Party Volumes
The hera.workflows.volume module provides all Argo volume types that can be used via Hera.
EmptyDirVolume
Representation of an empty dir volume from K8s.
Source code in src/hera/workflows/volume.py
ExistingVolume
ExistingVolume is a representation of an existing volume in K8s.
The existing volume is mounted based on the supplied claim name. This tells K8s that the specified persistent volume claim should be used to mount a volume to a pod.
Source code in src/hera/workflows/volume.py
ConfigMapVolume
Representation of a config map volume.
Source code in src/hera/workflows/volume.py
DownwardAPIVolume
Representation of a volume passed via the downward API.
Source code in src/hera/workflows/volume.py
EphemeralVolume
Representation of a volume that uses ephemeral storage shared with the K8s node a pod is scheduled on.
Source code in src/hera/workflows/volume.py
FlexVolume
A Flex volume representation.
Source code in src/hera/workflows/volume.py
SecretVolume
SecretVolume supports mounting a K8s secret as a container volume.
Source code in src/hera/workflows/volume.py
HostPathVolume
Representation for a volume that can be mounted from a host path/node location.
Source code in src/hera/workflows/volume.py
NFSVolume
A network file system volume representation.
Source code in src/hera/workflows/volume.py
ProjectedVolume
ProjectedVolume represents a projected volume to mount to a container.