Class Cluster (0.4.0)

A Google Kubernetes Engine cluster.

An optional description of this cluster.

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.

The logging service the cluster should use to write logs. Currently available options: - "logging.googleapis.com/kubernetes" - the Google Cloud Logging service with Kubernetes-native resource model - logging.googleapis.com - the Google Cloud Logging service.

  • none - no logs will be exported from the cluster. - if left as an empty string,\ logging.googleapis.com will be used.

    The name of the Google Compute Engine network </compute/docs/networks-and-firewalls#networks>__ to which the cluster is connected. If left unspecified, the default network will be used.

    Configurations for the various addons available to run in the cluster.

    The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.

    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.

    The fingerprint of the set of labels for this cluster.

    Configuration options for the NetworkPolicy feature.

    The configuration options for master authorized networks feature.

    Configuration for Binary Authorization.

    Configuration for cluster networking.

    Configuration for exporting resource usages. Resource usage export is disabled when this config is unspecified.

    Configuration for private cluster.

    Cluster-level Vertical Pod Autoscaling configuration.

    [Output only] The name of the Google Compute Engine zone </compute/docs/zones#available>__ in which the cluster resides. This field is deprecated, use location instead.

    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

    [Output only] Deprecated, use NodePools.version </kubernetes- engine/docs/reference/rest/v1/projects.zones.clusters.nodePool s>__ 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.

    [Output only] The current status of this cluster.

    [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.

    Deprecated. Use node_pools.instance_group_urls.

    [Output only] The time the cluster will be automatically deleted in RFC3339 <https://www.ietf.org/rfc/rfc3339.txt>__ text format.

    Enable the ability to use Cloud TPUs in this cluster.

    Which conditions caused the current cluster state.

Classes

ResourceLabelsEntry

API documentation for container_v1.types.Cluster.ResourceLabelsEntry class.