struct
Kubernetes::CinderVolumeSource
- Kubernetes::CinderVolumeSource
- Struct
- Value
- Object
Overview
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.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_core_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : ::JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#fs_type : String | Nil
fsType is the filesystem type to mount.
-
#fs_type=(fs_type : String | Nil)
fsType is the filesystem type to mount.
-
#read_only : Bool | Nil
readOnly defaults to false (read/write).
-
#read_only=(read_only : Bool | Nil)
readOnly defaults to false (read/write).
-
#secret_ref : LocalObjectReference | Nil
secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.
-
#secret_ref=(secret_ref : LocalObjectReference | Nil)
secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.
-
#volume_id : String | Nil
volumeID used to identify the volume in cinder.
-
#volume_id=(volume_id : String | Nil)
volumeID used to identify the volume in cinder.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
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
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
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
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
secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.
secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.
volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md