Proposed general Volume class to represent and manage other pod volume types. It can be mounted in multiple containers in a pod and will only show up once in the pod spec volumes. It can also be used to create mounted volumeClaimTemplates for StatefulSets.
Proposed general
Volume
class to represent and manage other pod volume types. It can be mounted in multiple containers in a pod and will only show up once in the pod specvolumes
. It can also be used to create mountedvolumeClaimTemplates
forStatefulSet
s.For example the following contrived code:
Will produce the following simplified
StatefulSet
: