class K8S::Api::Core::V1::GCEPersistentDiskVolumeSource

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

Defined in:

versions/v1.21/api/core/v1/gce_persistent_disk_volume_source.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, pd_name : String, fs_type : String? = nil, partition : Int32? = nil, read_only : Bool? = nil) #

[View source]

Instance Method Detail

def fs_type : String? #

[View source]
def fs_type=(fs_type : String?) #

[View source]
def partition : Int32? #

[View source]
def partition=(partition : Int32?) #

[View source]
def pd_name : String #

[View source]
def pd_name=(pd_name : String) #

[View source]
def read_only : Bool? #

[View source]
def read_only=(read_only : Bool?) #

[View source]