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
)
Attributes Summary
Kubernetes volume definition.
Mount definiton for that volume within a container.
Attributes Documentation
-
volume:
V1Volume
= <dataclasses._MISSING_TYPE object>¶ Kubernetes volume definition.
-
volume_mount:
V1VolumeMount
= <dataclasses._MISSING_TYPE object>¶ Mount definiton for that volume within a container.