Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.49 KB

File metadata and controls

30 lines (23 loc) · 1.49 KB

V1NFSVolumeSource

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

Properties

Name Type Description Notes
path str path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
read_only bool readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs [optional]
server str server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

Example

from kubernetes.client.models.v1_nfs_volume_source import V1NFSVolumeSource

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

# convert the object into a dict
v1_nfs_volume_source_dict = v1_nfs_volume_source_instance.to_dict()
# create an instance of V1NFSVolumeSource from a dict
v1_nfs_volume_source_from_dict = V1NFSVolumeSource.from_dict(v1_nfs_volume_source_dict)

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