Struct google_container1::Cluster [] [src]

pub struct Cluster {
    pub node_ipv4_cidr_size: Option<i32>,
    pub status: Option<String>,
    pub current_master_version: Option<String>,
    pub description: Option<String>,
    pub current_node_version: Option<String>,
    pub label_fingerprint: Option<String>,
    pub addons_config: Option<AddonsConfig>,
    pub locations: Option<Vec<String>>,
    pub master_auth: Option<MasterAuth>,
    pub expire_time: Option<String>,
    pub enable_kubernetes_alpha: Option<bool>,
    pub initial_node_count: Option<i32>,
    pub node_pools: Option<Vec<NodePool>>,
    pub monitoring_service: Option<String>,
    pub create_time: Option<String>,
    pub name: Option<String>,
    pub endpoint: Option<String>,
    pub current_node_count: Option<i32>,
    pub network: Option<String>,
    pub logging_service: Option<String>,
    pub instance_group_urls: Option<Vec<String>>,
    pub legacy_abac: Option<LegacyAbac>,
    pub initial_cluster_version: Option<String>,
    pub node_config: Option<NodeConfig>,
    pub self_link: Option<String>,
    pub cluster_ipv4_cidr: Option<String>,
    pub subnetwork: Option<String>,
    pub zone: Option<String>,
    pub services_ipv4_cidr: Option<String>,
    pub status_message: Option<String>,
    pub resource_labels: Option<HashMap<String, String>>,
}

A Google Container Engine cluster.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

[Output only] The size of the address space on each node for hosting containers. This is provisioned from within the container_ipv4_cidr range.

[Output only] The current status of this cluster.

[Output only] The current software version of the master endpoint.

An optional description of this cluster.

[Output only] 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.

The fingerprint of the set of labels for this cluster.

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

The list of Google Compute Engine locations in which the cluster's nodes should be located.

The authentication information for accessing the master endpoint.

[Output only] The time the cluster will be automatically deleted in RFC3339 text format.

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

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

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.

[Output only] The time the cluster was created, in RFC3339 text format.

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:

  • Lowercase letters, numbers, and hyphens only.
  • Must start with a letter.
  • Must end with a number or a letter.

[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 number of nodes currently in the cluster.

The name of the Google Compute Engine network to which the cluster is connected. If left unspecified, the default network will be used.

The logging service the cluster should use to write logs. Currently available options:

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

[Output only] The resource URLs of instance groups associated with this cluster.

Configuration for the legacy ABAC authorization mode.

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.

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.

If unspecified, the defaults are used.

[Output only] Server-defined URL for the resource.

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.

The name of the Google Compute Engine subnetwork to which the cluster is connected.

[Output only] The name of the Google Compute Engine zone in which the cluster resides.

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

[Output only] Additional information about the current status of this cluster, if available.

The resource labels for the cluster to use to annotate any related GCE resources.

Trait Implementations

impl Default for Cluster
[src]

Returns the "default value" for a type. Read more

impl Clone for Cluster
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Cluster
[src]

Formats the value using the given formatter.

impl ResponseResult for Cluster
[src]