MountedVolume

class controller.models.domain.volumes.MountedVolume(volume, volume_mount)

Bases: object

Represents a volume along with its corresponding mount.

It’s often more convenient to construct its volume (which is defined at the pod level) and its mount point (defined at the container level) together and only separate them when constructing Kubernetes objects.

Parameters:
  • volume (V1Volume)

  • volume_mount (V1VolumeMount)