Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::Cluster (v0.11.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::Cluster.

A Google Kubernetes Engine cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#addons_config

def addons_config() -> ::Google::Cloud::Container::V1beta1::AddonsConfig
Returns

#addons_config=

def addons_config=(value) -> ::Google::Cloud::Container::V1beta1::AddonsConfig
Parameter
Returns

#authenticator_groups_config

def authenticator_groups_config() -> ::Google::Cloud::Container::V1beta1::AuthenticatorGroupsConfig
Returns

#authenticator_groups_config=

def authenticator_groups_config=(value) -> ::Google::Cloud::Container::V1beta1::AuthenticatorGroupsConfig
Parameter
Returns

#autopilot

def autopilot() -> ::Google::Cloud::Container::V1beta1::Autopilot
Returns

#autopilot=

def autopilot=(value) -> ::Google::Cloud::Container::V1beta1::Autopilot
Parameter
Returns

#autoscaling

def autoscaling() -> ::Google::Cloud::Container::V1beta1::ClusterAutoscaling
Returns

#autoscaling=

def autoscaling=(value) -> ::Google::Cloud::Container::V1beta1::ClusterAutoscaling
Parameter
Returns

#binary_authorization

def binary_authorization() -> ::Google::Cloud::Container::V1beta1::BinaryAuthorization
Returns

#binary_authorization=

def binary_authorization=(value) -> ::Google::Cloud::Container::V1beta1::BinaryAuthorization
Parameter
Returns

#cluster_ipv4_cidr

def cluster_ipv4_cidr() -> ::String
Returns
  • (::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.

#cluster_ipv4_cidr=

def cluster_ipv4_cidr=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.

#cluster_telemetry

def cluster_telemetry() -> ::Google::Cloud::Container::V1beta1::ClusterTelemetry
Returns

#cluster_telemetry=

def cluster_telemetry=(value) -> ::Google::Cloud::Container::V1beta1::ClusterTelemetry
Parameter
Returns

#conditions

def conditions() -> ::Array<::Google::Cloud::Container::V1beta1::StatusCondition>
Returns

#conditions=

def conditions=(value) -> ::Array<::Google::Cloud::Container::V1beta1::StatusCondition>
Parameter
Returns

#confidential_nodes

def confidential_nodes() -> ::Google::Cloud::Container::V1beta1::ConfidentialNodes
Returns

#confidential_nodes=

def confidential_nodes=(value) -> ::Google::Cloud::Container::V1beta1::ConfidentialNodes
Parameter
Returns

#cost_management_config

def cost_management_config() -> ::Google::Cloud::Container::V1beta1::CostManagementConfig
Returns

#cost_management_config=

def cost_management_config=(value) -> ::Google::Cloud::Container::V1beta1::CostManagementConfig
Parameter
Returns

#create_time

def create_time() -> ::String
Returns
  • (::String) — [Output only] The time the cluster was created, in RFC3339 text format.

#create_time=

def create_time=(value) -> ::String
Parameter
  • value (::String) — [Output only] The time the cluster was created, in RFC3339 text format.
Returns
  • (::String) — [Output only] The time the cluster was created, in RFC3339 text format.

#current_master_version

def current_master_version() -> ::String
Returns
  • (::String) — [Output only] The current software version of the master endpoint.

#current_master_version=

def current_master_version=(value) -> ::String
Parameter
  • value (::String) — [Output only] The current software version of the master endpoint.
Returns
  • (::String) — [Output only] The current software version of the master endpoint.

#current_node_count

def current_node_count() -> ::Integer
Returns
  • (::Integer) — [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.

#current_node_count=

def current_node_count=(value) -> ::Integer
Parameter
  • value (::Integer) — [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
Returns
  • (::Integer) — [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.

#current_node_version

def current_node_version() -> ::String
Returns
  • (::String) — [Output only] Deprecated, use NodePool.version instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.

#current_node_version=

def current_node_version=(value) -> ::String
Parameter
  • value (::String) — [Output only] Deprecated, use NodePool.version instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.
Returns
  • (::String) — [Output only] Deprecated, use NodePool.version instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.

#database_encryption

def database_encryption() -> ::Google::Cloud::Container::V1beta1::DatabaseEncryption
Returns

#database_encryption=

def database_encryption=(value) -> ::Google::Cloud::Container::V1beta1::DatabaseEncryption
Parameter
Returns

#default_max_pods_constraint

def default_max_pods_constraint() -> ::Google::Cloud::Container::V1beta1::MaxPodsConstraint
Returns

#default_max_pods_constraint=

def default_max_pods_constraint=(value) -> ::Google::Cloud::Container::V1beta1::MaxPodsConstraint
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — An optional description of this cluster.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — An optional description of this cluster.
Returns
  • (::String) — An optional description of this cluster.

#enable_kubernetes_alpha

def enable_kubernetes_alpha() -> ::Boolean
Returns
  • (::Boolean) — Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.

#enable_kubernetes_alpha=

def enable_kubernetes_alpha=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
Returns
  • (::Boolean) — Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.

#enable_tpu

def enable_tpu() -> ::Boolean
Returns
  • (::Boolean) — Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead.

#enable_tpu=

def enable_tpu=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead.
Returns
  • (::Boolean) — Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead.

#endpoint

def endpoint() -> ::String
Returns
  • (::String) — [Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at https://username:password@endpoint/.

    See the masterAuth property of this resource for username and password information.

#endpoint=

def endpoint=(value) -> ::String
Parameter
  • value (::String) — [Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at https://username:password@endpoint/.

    See the masterAuth property of this resource for username and password information.

Returns
  • (::String) — [Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at https://username:password@endpoint/.

    See the masterAuth property of this resource for username and password information.

#expire_time

def expire_time() -> ::String
Returns
  • (::String) — [Output only] The time the cluster will be automatically deleted in RFC3339 text format.

#expire_time=

def expire_time=(value) -> ::String
Parameter
  • value (::String) — [Output only] The time the cluster will be automatically deleted in RFC3339 text format.
Returns
  • (::String) — [Output only] The time the cluster will be automatically deleted in RFC3339 text format.

#id

def id() -> ::String
Returns
  • (::String) — Output only. Unique id for the cluster.

#identity_service_config

def identity_service_config() -> ::Google::Cloud::Container::V1beta1::IdentityServiceConfig
Returns

#identity_service_config=

def identity_service_config=(value) -> ::Google::Cloud::Container::V1beta1::IdentityServiceConfig
Parameter
Returns

#initial_cluster_version

def initial_cluster_version() -> ::String
Returns
  • (::String) —

    The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion.

    Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

    • "latest": picks the highest valid Kubernetes version
    • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
    • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
    • "1.X.Y-gke.N": picks an explicit Kubernetes version
    • "","-": picks the default Kubernetes version

#initial_cluster_version=

def initial_cluster_version=(value) -> ::String
Parameter
  • value (::String) —

    The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion.

    Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:

    • "latest": picks the highest valid Kubernetes version
    • "1.X": picks the highest valid patch+gke.N patch in the 1.X version
    • "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
    • "1.X.Y-gke.N": picks an explicit Kubernetes version
    • "","-": picks the default Kubernetes version
Returns
  • (::String) —

    The initial Kubernetes version for this cluster. Valid versions are those found i