class Google::Apis::ContainerV1beta1::Cluster
Attributes
The API version of the Kubernetes master and kubelets running in this cluster. Leave blank to pick up the latest stable release, or specify a version of the form “x.y.z”. The Google Container Engine release notes lists the currently supported versions. If an incorrect version is specified, the server returns an error listing the currently supported versions. Corresponds to the JSON property `clusterApiVersion` @return [String]
The IP address range of the container pods in this cluster, in CIDR notation ( e.g. 10.96.0.0/14). Leave blank to have one automatically chosen or specify a / 14 block in 10.0.0.0/8 or 172.16.0.0/12. Corresponds to the JSON property `containerIpv4Cidr` @return [String]
- Output only
-
The time the cluster was created, in RFC3339 text format.
Corresponds to the JSON property `creationTimestamp` @return [String]
An optional description of this cluster. Corresponds to the JSON property `description` @return [String]
Whether logs from the cluster should be made available via the Google Cloud Logging service. This includes both logs from your applications running in the cluster as well as logs from the Kubernetes components themselves. Corresponds to the JSON property `enableCloudLogging` @return [Boolean]
Whether logs from the cluster should be made available via the Google Cloud Logging service. This includes both logs from your applications running in the cluster as well as logs from the Kubernetes components themselves. Corresponds to the JSON property `enableCloudLogging` @return [Boolean]
Whether metrics from the cluster should be made available via the Google Cloud Monitoring service. Corresponds to the JSON property `enableCloudMonitoring` @return [Boolean]
Whether metrics from the cluster should be made available via the Google Cloud Monitoring service. Corresponds to the JSON property `enableCloudMonitoring` @return [Boolean]
- Output only
-
The IP address of this cluster's Kubernetes master. The endpoint
can be accessed from the internet at username:password@endpoint/. See the masterAuth property of this resource for username and password information. Corresponds to the JSON property `endpoint` @return [String]
- Output only
-
The resource URLs of [instance groups](/compute/docs/instance-
groups/) associated with this cluster. Corresponds to the JSON property `instanceGroupUrls` @return [Array<String>]
The authentication information for accessing the master. Authentication is either done using HTTP basic authentication or using a bearer token. Corresponds to the JSON property `masterAuth` @return [Google::Apis::ContainerV1beta1::MasterAuth]
The name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions:
-
Lowercase letters, numbers, and hyphens only.
-
Must start with a letter.
-
Must end with a number or a letter.
Corresponds to the JSON property `name` @return [String]
The name of the Google Compute Engine network to which the cluster is connected. Corresponds to the JSON property `network` @return [String]
The machine type and image to use for all nodes in this cluster. See the descriptions of the child properties of nodeConfig. Corresponds to the JSON property `nodeConfig` @return [Google::Apis::ContainerV1beta1::NodeConfig]
- Output only
-
The size of the address space on each node for hosting
containers. Corresponds to the JSON property `nodeRoutingPrefixSize` @return [Fixnum]
The number of nodes to create in this cluster. You must ensure that your Compute Engine resource quota is sufficient for this number of instances plus one (to include the master). You must also have available firewall and routes quota. Corresponds to the JSON property `numNodes` @return [Fixnum]
- Output only
-
Server-defined URL for the resource.
Corresponds to the JSON property `selfLink` @return [String]
- Output only
-
The IP address range of the Kubernetes services in this cluster,
in CIDR notation (e.g. 1.2.3.4/29). Service addresses are typically put in the last /16 from the container CIDR. Corresponds to the JSON property `servicesIpv4Cidr` @return [String]
- Output only
-
The current status of this cluster.
Corresponds to the JSON property `status` @return [String]
- Output only
-
Additional information about the current status of this cluster,
if available. Corresponds to the JSON property `statusMessage` @return [String]
- Output only
-
The name of the Google Compute Engine zone in which the cluster
resides. Corresponds to the JSON property `zone` @return [String]
Public Class Methods
# File generated/google/apis/container_v1beta1/classes.rb, line 154 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/container_v1beta1/classes.rb, line 159 def update!(**args) @cluster_api_version = args[:cluster_api_version] unless args[:cluster_api_version].nil? @container_ipv4_cidr = args[:container_ipv4_cidr] unless args[:container_ipv4_cidr].nil? @creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil? @description = args[:description] unless args[:description].nil? @enable_cloud_logging = args[:enable_cloud_logging] unless args[:enable_cloud_logging].nil? @enable_cloud_monitoring = args[:enable_cloud_monitoring] unless args[:enable_cloud_monitoring].nil? @endpoint = args[:endpoint] unless args[:endpoint].nil? @instance_group_urls = args[:instance_group_urls] unless args[:instance_group_urls].nil? @master_auth = args[:master_auth] unless args[:master_auth].nil? @name = args[:name] unless args[:name].nil? @network = args[:network] unless args[:network].nil? @node_config = args[:node_config] unless args[:node_config].nil? @node_routing_prefix_size = args[:node_routing_prefix_size] unless args[:node_routing_prefix_size].nil? @num_nodes = args[:num_nodes] unless args[:num_nodes].nil? @self_link = args[:self_link] unless args[:self_link].nil? @services_ipv4_cidr = args[:services_ipv4_cidr] unless args[:services_ipv4_cidr].nil? @status = args[:status] unless args[:status].nil? @status_message = args[:status_message] unless args[:status_message].nil? @zone = args[:zone] unless args[:zone].nil? end