Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.54 KB

File metadata and controls

30 lines (23 loc) · 1.54 KB

V1GlusterfsVolumeSource

Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.

Properties

Name Type Description Notes
endpoints str endpoints is the endpoint name that details Glusterfs topology.
path str path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
read_only bool readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod [optional]

Example

from kubernetes.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource

# TODO update the JSON string below
json = "{}"
# create an instance of V1GlusterfsVolumeSource from a JSON string
v1_glusterfs_volume_source_instance = V1GlusterfsVolumeSource.from_json(json)
# print the JSON string representation of the object
print(V1GlusterfsVolumeSource.to_json())

# convert the object into a dict
v1_glusterfs_volume_source_dict = v1_glusterfs_volume_source_instance.to_dict()
# create an instance of V1GlusterfsVolumeSource from a dict
v1_glusterfs_volume_source_from_dict = V1GlusterfsVolumeSource.from_dict(v1_glusterfs_volume_source_dict)

[Back to Model list] [Back to API list] [Back to README]