class K8S::Api::Core::V1::GCEPersistentDiskVolumeSource
- K8S::Api::Core::V1::GCEPersistentDiskVolumeSource
- Reference
- Object
Overview
Represents a Persistent Disk resource in Google Compute Engine.
A GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as [read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.](read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.)
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.21/api/core/v1/gce_persistent_disk_volume_source.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, pd_name : String, fs_type : String? = nil, partition : Int32? = nil, read_only : Bool? = nil)
Instance Method Summary
- #fs_type : String?
- #fs_type=(fs_type : String?)
- #partition : Int32?
- #partition=(partition : Int32?)
- #pd_name : String
- #pd_name=(pd_name : String)
- #read_only : Bool?
- #read_only=(read_only : Bool?)
Constructor Detail
def self.new(*, pd_name : String, fs_type : String? = nil, partition : Int32? = nil, read_only : Bool? = nil)
#