- 2.53.0 (latest)
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.1
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.4
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.2
- 2.11.2
- 2.10.8
- 2.9.0
- 2.8.1
- 2.7.1
- 2.6.1
- 2.5.0
- 2.4.1
- 2.3.1
- 2.2.0
- 2.1.0
- 2.0.1
- 1.0.3
- 0.5.0
- 0.4.0
- 0.3.0
A Google Kubernetes Engine cluster. .. attribute:: name
The name of this cluster. The name must be unique within this project and location (e.g. zone or region), 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.
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. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "node_config") will be used to create a "NodePool" object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.
The authentication information for accessing the master
endpoint. If unspecified, the defaults are used: For clusters
before v1.12, if master_auth is unspecified, username
will be set to "admin", a random password will be generated,
and a client certificate will be issued.
The monitoring service the cluster should use to write
metrics. Currently available options: -
monitoring.googleapis.com
- the Google Cloud Monitoring
service. - none
- no metrics will be exported from the
cluster. - if left as an empty string,
monitoring.googleapis.com
will be used.
The IP address range of the container pods in this cluster, in
CIDR <http://en.wikipedia.org/wiki/Classless_Inter-
Domain_Routing>
__ 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
.
The name of the Google Compute Engine subnetwork
<https://cloud.google.com/compute/docs/subnetworks>
__ to
which the cluster is connected.
The list of Google Compute Engine zones
<https://cloud.google.com/compute/docs/zones#available>
__ in
which the cluster's nodes should be located.
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
Configuration for the legacy ABAC authorization mode.
Configuration for cluster IP allocation.
Configure the maintenance policy for this cluster.
Cluster-level autoscaling configuration.
The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
Configuration controlling RBAC group membership information.
Configuration of etcd encryption.
[Output only] Server-defined URL for the resource.
[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.
[Output only] The current software version of the master endpoint.
[Output only] The time the cluster was created, in RFC3339
<https://www.ietf.org/rfc/rfc3339.txt>
__ text format.
[Output only] Additional information about the current status of this cluster, if available.
[Output only] The IP address range of the Kubernetes services
in this cluster, in CIDR
<http://en.wikipedia.org/wiki/Classless_Inter-
Domain_Routing>
__ notation (e.g. 1.2.3.4/29
). Service
addresses are typically put in the last /16
from the
container CIDR.
[Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
[Output only] The name of the Google Compute Engine zone
<https://cloud.google.com/compute/docs/regions-zones/regions-
zones#available>
or region
<https://cloud.google.com/compute/docs/regions-zones/regions-
zones#available>
in which the cluster resides.
[Output only] The IP address range of the Cloud TPUs in this
cluster, in CIDR
<http://en.wikipedia.org/wiki/Classless_Inter-
Domain_Routing>
__ notation (e.g. 1.2.3.4/29
).
Classes
ResourceLabelsEntry
API documentation for container_v1.types.Cluster.ResourceLabelsEntry
class.