VolumeAccessMode

class controller.models.domain.kubernetes.VolumeAccessMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: StrEnum

Access mode for a persistent volume.

The access modes ReadWriteOnce and ReadWriteOncePod are valid access modes in Kubernetes but are intentionally not listed here because they cannot work with user labs or file servers and therefore should be rejected by configuration parsing. This should change in the future if access modes are used in other contexts where those access modes may make sense.

Attributes Summary

READ_ONLY_MANY

READ_WRITE_MANY

Attributes Documentation

READ_ONLY_MANY = 'ReadOnlyMany'
READ_WRITE_MANY = 'ReadWriteMany'