Cluster class

A Google Kubernetes Engine cluster.

Constructors

Cluster()
Cluster.fromJson(Map _json)

Properties

addonsConfig AddonsConfig
Configurations for the various addons available to run in the cluster.
read / write
clusterIpv4Cidr ↔ 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.
read / write
conditions ↔ List<StatusCondition>
Which conditions caused the current cluster state.
read / write
createTime ↔ String
Output only The time the cluster was created, in RFC3339 text format.
read / write
currentMasterVersion ↔ String
Output only The current software version of the master endpoint.
read / write
currentNodeCount ↔ int
Output only The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
read / write
currentNodeVersion ↔ 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.
read / write
description ↔ String
An optional description of this cluster.
read / write
enableKubernetesAlpha ↔ bool
Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1alpha1) 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.
read / write
endpoint ↔ 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/. [...]
read / write
expireTime ↔ String
Output only The time the cluster will be automatically deleted in RFC3339 text format.
read / write
initialClusterVersion ↔ 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. [...]
read / write
initialNodeCount ↔ int
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.
read / write
instanceGroupUrls ↔ List<String>
Deprecated. Use node_pools.instance_group_urls.
read / write
ipAllocationPolicy IPAllocationPolicy
Configuration for cluster IP allocation.
read / write
labelFingerprint ↔ String
The fingerprint of the set of labels for this cluster.
read / write
legacyAbac LegacyAbac
Configuration for the legacy ABAC authorization mode.
read / write
location ↔ String
Output only The name of the Google Compute Engine zone or region in which the cluster resides.
read / write
locations ↔ List<String>
The list of Google Compute Engine zones in which the cluster's nodes should be located.
read / write
loggingService ↔ String
The logging service the cluster should use to write logs. Currently available options: [...]
read / write
maintenancePolicy MaintenancePolicy
Configure the maintenance policy for this cluster.
read / write
masterAuth MasterAuth
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.
read / write
masterAuthorizedNetworksConfig MasterAuthorizedNetworksConfig
The configuration options for master authorized networks feature.
read / write
monitoringService ↔ String
The monitoring service the cluster should use to write metrics. Currently available options: [...]
read / write
name ↔ String
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: [...]
read / write
network ↔ String
The name of the Google Compute Engine network to which the cluster is connected. If left unspecified, the default network will be used.
read / write
networkConfig NetworkConfig
Configuration for cluster networking.
read / write
networkPolicy NetworkPolicy
Configuration options for the NetworkPolicy feature.
read / write
nodeConfig NodeConfig
Parameters used in creating the cluster's nodes. See nodeConfig for the description of its properties. 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. [...]
read / write
nodeIpv4CidrSize ↔ int
Output only The size of the address space on each node for hosting containers. This is provisioned from within the container_ipv4_cidr range.
read / write
nodePools ↔ List<NodePool>
The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.
read / write
privateClusterConfig PrivateClusterConfig
Configuration for private cluster.
read / write
resourceLabels ↔ Map<String, String>
The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
read / write
Output only Server-defined URL for the resource.
read / write
servicesIpv4Cidr ↔ 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.
read / write
status ↔ String
Output only The current status of this cluster. Possible string values are: [...]
read / write
statusMessage ↔ String
Output only Additional information about the current status of this cluster, if available.
read / write
subnetwork ↔ String
The name of the Google Compute Engine subnetwork to which the cluster is connected.
read / write
zone ↔ String
Output only The name of the Google Compute Engine zone in which the cluster resides. This field is deprecated, use location instead.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited