Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
| Name | Type | Description | Notes |
|---|---|---|---|
| fs_type | str | fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md | [optional] |
| read_only | bool | readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md | [optional] |
| secret_ref | V1LocalObjectReference | [optional] | |
| volume_id | str | volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md |
from kubernetes.client.models.v1_cinder_volume_source import V1CinderVolumeSource
# TODO update the JSON string below
json = "{}"
# create an instance of V1CinderVolumeSource from a JSON string
v1_cinder_volume_source_instance = V1CinderVolumeSource.from_json(json)
# print the JSON string representation of the object
print(V1CinderVolumeSource.to_json())
# convert the object into a dict
v1_cinder_volume_source_dict = v1_cinder_volume_source_instance.to_dict()
# create an instance of V1CinderVolumeSource from a dict
v1_cinder_volume_source_from_dict = V1CinderVolumeSource.from_dict(v1_cinder_volume_source_dict)