Get Cluster Result
Constructors
Properties
Configurations for the various addons available to run in the cluster.
Configuration controlling RBAC group membership information.
Autopilot configuration for the cluster.
Cluster-level autoscaling configuration.
Configuration for Binary Authorization.
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
.
Telemetry integration for the cluster.
Which conditions caused the current cluster state.
Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
Configuration for the fine-grained cost management feature.
Output only The time the cluster was created, in RFC3339 text format.
Output only The current software version of the master endpoint.
Output only The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
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.
Configuration of etcd encryption.
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.
An optional description of this cluster.
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.
Output only The time the cluster will be automatically deleted in RFC3339 text format.
Fleet information for the cluster.
Configuration for Identity Service component.
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
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.
Deprecated. Use node_pools.instance_group_urls.
Configuration for cluster IP allocation.
The fingerprint of the set of labels for this cluster.
Configuration for the legacy ABAC authorization mode.
The list of Google Compute Engine zones in which the cluster's nodes should be located. This field provides a default value if NodePool.Locations are not specified during node pool creation. Warning: changing cluster locations will update the NodePool.Locations of all node pools and will result in nodes being added and/or removed.
Logging configuration for the cluster.
The logging service the cluster should use to write logs. Currently available options: * logging.googleapis.com/kubernetes
- The Cloud Logging service with a Kubernetes-native resource model * logging.googleapis.com
- The legacy Cloud Logging service (no longer available as of GKE 1.15). * none
- no logs will be exported from the cluster. If left as an empty string,logging.googleapis.com/kubernetes
will be used for GKE 1.14+ or logging.googleapis.com
for earlier versions.
Configure the maintenance policy for this cluster.
Configuration for master components.
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 configuration options for master authorized networks feature.
The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.
Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
Monitoring configuration for the cluster.
The monitoring service the cluster should use to write metrics. Currently available options: * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service with a Kubernetes-native resource model * monitoring.googleapis.com
- The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * none
- No metrics will be exported from the cluster. If left as an empty string,monitoring.googleapis.com/kubernetes
will be used for GKE 1.14+ or monitoring.googleapis.com
for earlier versions.
Configuration for cluster networking.
Configuration options for the NetworkPolicy feature.
Parameters used in creating the cluster's nodes. For requests, this field should only be used in lieu of a "node_pool" object, since this configuration (along with the "initial_node_count") 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. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see node_pool.config
) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead.
Output only The size of the address space on each node for hosting containers. This is provisioned from within the container_ipv4_cidr
range. This field will only be set when cluster is in route-based network mode.
Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
Notification configuration of the cluster.
Configuration for the PodSecurityPolicy feature.
If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead.
Configuration for private cluster.
Enable/Disable Protect API features for the cluster.
Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version.
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified.
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.
Shielded Nodes configuration.
Output only Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
The name of the Google Compute Engine subnetwork to which the cluster is connected. On output this shows the subnetwork ID instead of the name.
Configuration for Cloud TPU support;
Output only The IP address range of the Cloud TPUs in this cluster, in CIDR notation (e.g. 1.2.3.4/29
).
Cluster-level Vertical Pod Autoscaling configuration.
Configuration for direct-path (via ALTS) with workload identity.
Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.