|
|
@ -53,10 +53,12 @@ options:
|
|
|
|
and can be up to 40 characters. Must be Lowercase letters, numbers, and hyphens
|
|
|
|
and can be up to 40 characters. Must be Lowercase letters, numbers, and hyphens
|
|
|
|
only. Must start with a letter. Must end with a number or a letter.
|
|
|
|
only. Must start with a letter. Must end with a number or a letter.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- An optional description of this cluster.
|
|
|
|
- An optional description of this cluster.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
initial_node_count:
|
|
|
|
initial_node_count:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The number of nodes to create in this cluster. You must ensure that your Compute
|
|
|
|
- The number of nodes to create in this cluster. You must ensure that your Compute
|
|
|
@ -67,6 +69,7 @@ options:
|
|
|
|
name. Do not use this and a nodePool at the same time.
|
|
|
|
name. Do not use this and a nodePool at the same time.
|
|
|
|
- This field has been deprecated. Please use nodePool.initial_node_count instead.
|
|
|
|
- This field has been deprecated. Please use nodePool.initial_node_count instead.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: int
|
|
|
|
node_config:
|
|
|
|
node_config:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Parameters used in creating the cluster's nodes.
|
|
|
|
- Parameters used in creating the cluster's nodes.
|
|
|
@ -77,17 +80,20 @@ options:
|
|
|
|
the node configuration of the first node pool. If unspecified, the defaults
|
|
|
|
the node configuration of the first node pool. If unspecified, the defaults
|
|
|
|
are used.
|
|
|
|
are used.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
machine_type:
|
|
|
|
machine_type:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The name of a Google Compute Engine machine type (e.g.
|
|
|
|
- The name of a Google Compute Engine machine type (e.g.
|
|
|
|
- n1-standard-1). If unspecified, the default machine type is n1-standard-1.
|
|
|
|
- n1-standard-1). If unspecified, the default machine type is n1-standard-1.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
disk_size_gb:
|
|
|
|
disk_size_gb:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Size of the disk attached to each node, specified in GB. The smallest allowed
|
|
|
|
- Size of the disk attached to each node, specified in GB. The smallest allowed
|
|
|
|
disk size is 10GB. If unspecified, the default disk size is 100GB.
|
|
|
|
disk size is 10GB. If unspecified, the default disk size is 100GB.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: int
|
|
|
|
oauth_scopes:
|
|
|
|
oauth_scopes:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The set of Google API scopes to be made available on all of the node VMs
|
|
|
|
- The set of Google API scopes to be made available on all of the node VMs
|
|
|
@ -100,11 +106,13 @@ options:
|
|
|
|
- If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring
|
|
|
|
- If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring
|
|
|
|
are enabled, in which case their required scopes will be added.
|
|
|
|
are enabled, in which case their required scopes will be added.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: list
|
|
|
|
service_account:
|
|
|
|
service_account:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The Google Cloud Platform Service Account to be used by the node VMs. If
|
|
|
|
- The Google Cloud Platform Service Account to be used by the node VMs. If
|
|
|
|
no Service Account is specified, the "default" service account is used.
|
|
|
|
no Service Account is specified, the "default" service account is used.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
metadata:
|
|
|
|
metadata:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The metadata key/value pairs assigned to instances in the cluster.
|
|
|
|
- The metadata key/value pairs assigned to instances in the cluster.
|
|
|
@ -120,11 +128,13 @@ options:
|
|
|
|
- 'An object containing a list of "key": value pairs.'
|
|
|
|
- 'An object containing a list of "key": value pairs.'
|
|
|
|
- 'Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.'
|
|
|
|
- 'Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.'
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
image_type:
|
|
|
|
image_type:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The image type to use for this node. Note that for a given image type, the
|
|
|
|
- The image type to use for this node. Note that for a given image type, the
|
|
|
|
latest version of it will be used.
|
|
|
|
latest version of it will be used.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- 'The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
|
|
|
- 'The map of Kubernetes labels (key/value pairs) to be applied to each node.
|
|
|
@ -136,6 +146,7 @@ options:
|
|
|
|
An object containing a list of "key": value pairs.'
|
|
|
|
An object containing a list of "key": value pairs.'
|
|
|
|
- 'Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.'
|
|
|
|
- 'Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.'
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
local_ssd_count:
|
|
|
|
local_ssd_count:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The number of local SSD disks to be attached to the node.
|
|
|
|
- The number of local SSD disks to be attached to the node.
|
|
|
@ -143,6 +154,7 @@ options:
|
|
|
|
available on a machine per zone. See: U(https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits)
|
|
|
|
available on a machine per zone. See: U(https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits)
|
|
|
|
for more information.'
|
|
|
|
for more information.'
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: int
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The list of instance tags applied to all nodes. Tags are used to identify
|
|
|
|
- The list of instance tags applied to all nodes. Tags are used to identify
|
|
|
@ -150,6 +162,7 @@ options:
|
|
|
|
client during cluster or node pool creation. Each tag within the list must
|
|
|
|
client during cluster or node pool creation. Each tag within the list must
|
|
|
|
comply with RFC1035.
|
|
|
|
comply with RFC1035.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: list
|
|
|
|
preemptible:
|
|
|
|
preemptible:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- 'Whether the nodes are created as preemptible VM instances. See: U(https://cloud.google.com/compute/docs/instances/preemptible)
|
|
|
|
- 'Whether the nodes are created as preemptible VM instances. See: U(https://cloud.google.com/compute/docs/instances/preemptible)
|
|
|
@ -161,27 +174,32 @@ options:
|
|
|
|
- A list of hardware accelerators to be attached to each node. See U(https://cloud.google.com/compute/docs/gpus)
|
|
|
|
- A list of hardware accelerators to be attached to each node. See U(https://cloud.google.com/compute/docs/gpus)
|
|
|
|
for more information about support for GPUs.
|
|
|
|
for more information about support for GPUs.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: list
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
accelerator_count:
|
|
|
|
accelerator_count:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The number of accelerator cards exposed to an instance.
|
|
|
|
- The number of accelerator cards exposed to an instance.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
accelerator_type:
|
|
|
|
accelerator_type:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The accelerator type resource name.
|
|
|
|
- The accelerator type resource name.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
disk_type:
|
|
|
|
disk_type:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
|
|
|
|
- Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd')
|
|
|
|
If unspecified, the default disk type is 'pd-standard' .
|
|
|
|
If unspecified, the default disk type is 'pd-standard' .
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
min_cpu_platform:
|
|
|
|
min_cpu_platform:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Minimum CPU platform to be used by this instance. The instance may be scheduled
|
|
|
|
- Minimum CPU platform to be used by this instance. The instance may be scheduled
|
|
|
|
on the specified or newer CPU platform.
|
|
|
|
on the specified or newer CPU platform.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
taints:
|
|
|
|
taints:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
@ -189,43 +207,51 @@ options:
|
|
|
|
- 'For more information, including usage and the valid values, see: U(https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/)
|
|
|
|
- 'For more information, including usage and the valid values, see: U(https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/)
|
|
|
|
.'
|
|
|
|
.'
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: list
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
key:
|
|
|
|
key:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Key for taint.
|
|
|
|
- Key for taint.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
value:
|
|
|
|
value:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Value for taint.
|
|
|
|
- Value for taint.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
effect:
|
|
|
|
effect:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Effect for taint.
|
|
|
|
- Effect for taint.
|
|
|
|
- 'Some valid choices include: "EFFECT_UNSPECIFIED", "NO_SCHEDULE", "PREFER_NO_SCHEDULE",
|
|
|
|
- 'Some valid choices include: "EFFECT_UNSPECIFIED", "NO_SCHEDULE", "PREFER_NO_SCHEDULE",
|
|
|
|
"NO_EXECUTE"'
|
|
|
|
"NO_EXECUTE"'
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
master_auth:
|
|
|
|
master_auth:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The authentication information for accessing the master endpoint.
|
|
|
|
- The authentication information for accessing the master endpoint.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
username:
|
|
|
|
username:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The username to use for HTTP basic authentication to the master endpoint.
|
|
|
|
- The username to use for HTTP basic authentication to the master endpoint.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
password:
|
|
|
|
password:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The password to use for HTTP basic authentication to the master endpoint.
|
|
|
|
- The password to use for HTTP basic authentication to the master endpoint.
|
|
|
|
Because the master endpoint is open to the Internet, you should create a
|
|
|
|
Because the master endpoint is open to the Internet, you should create a
|
|
|
|
strong password with a minimum of 16 characters.
|
|
|
|
strong password with a minimum of 16 characters.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
client_certificate_config:
|
|
|
|
client_certificate_config:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Configuration for client certificate authentication on the cluster. For
|
|
|
|
- Configuration for client certificate authentication on the cluster. For
|
|
|
|
clusters before v1.12, if no configuration is specified, a client certificate
|
|
|
|
clusters before v1.12, if no configuration is specified, a client certificate
|
|
|
|
is issued.
|
|
|
|
is issued.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
issue_client_certificate:
|
|
|
|
issue_client_certificate:
|
|
|
@ -241,6 +267,7 @@ options:
|
|
|
|
- if left as an empty string,logging.googleapis.com will be used.
|
|
|
|
- if left as an empty string,logging.googleapis.com will be used.
|
|
|
|
- 'Some valid choices include: "logging.googleapis.com", "none"'
|
|
|
|
- 'Some valid choices include: "logging.googleapis.com", "none"'
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
monitoring_service:
|
|
|
|
monitoring_service:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The monitoring service the cluster should use to write metrics.
|
|
|
|
- The monitoring service the cluster should use to write metrics.
|
|
|
@ -250,15 +277,18 @@ options:
|
|
|
|
- if left as an empty string, monitoring.googleapis.com will be used.
|
|
|
|
- if left as an empty string, monitoring.googleapis.com will be used.
|
|
|
|
- 'Some valid choices include: "monitoring.googleapis.com", "none"'
|
|
|
|
- 'Some valid choices include: "monitoring.googleapis.com", "none"'
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
network:
|
|
|
|
network:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The name of the Google Compute Engine network to which the cluster is connected.
|
|
|
|
- The name of the Google Compute Engine network to which the cluster is connected.
|
|
|
|
If left unspecified, the default network will be used.
|
|
|
|
If left unspecified, the default network will be used.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
private_cluster_config:
|
|
|
|
private_cluster_config:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Configuration for a private cluster.
|
|
|
|
- Configuration for a private cluster.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
version_added: 2.8
|
|
|
|
version_added: 2.8
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
enable_private_nodes:
|
|
|
|
enable_private_nodes:
|
|
|
@ -280,22 +310,26 @@ options:
|
|
|
|
set of masters, as well as the ILB VIP. This range must not overlap with
|
|
|
|
set of masters, as well as the ILB VIP. This range must not overlap with
|
|
|
|
any other ranges in use within the cluster's network.
|
|
|
|
any other ranges in use within the cluster's network.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
cluster_ipv4_cidr:
|
|
|
|
cluster_ipv4_cidr:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The IP address range of the container pods in this cluster, in CIDR notation
|
|
|
|
- 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
|
|
|
|
(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.
|
|
|
|
a /14 block in 10.0.0.0/8.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
addons_config:
|
|
|
|
addons_config:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Configurations for the various addons available to run in the cluster.
|
|
|
|
- Configurations for the various addons available to run in the cluster.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
http_load_balancing:
|
|
|
|
http_load_balancing:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Configuration for the HTTP (L7) load balancing controller addon, which makes
|
|
|
|
- Configuration for the HTTP (L7) load balancing controller addon, which makes
|
|
|
|
it easy to set up HTTP load balancers for services in a cluster.
|
|
|
|
it easy to set up HTTP load balancers for services in a cluster.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
disabled:
|
|
|
|
disabled:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
@ -310,6 +344,7 @@ options:
|
|
|
|
or decreases the number of replica pods a replication controller has based
|
|
|
|
or decreases the number of replica pods a replication controller has based
|
|
|
|
on the resource usage of the existing pods.
|
|
|
|
on the resource usage of the existing pods.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
disabled:
|
|
|
|
disabled:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
@ -324,6 +359,7 @@ options:
|
|
|
|
or not on the Master, it does not track whether network policy is enabled
|
|
|
|
or not on the Master, it does not track whether network policy is enabled
|
|
|
|
for the nodes.
|
|
|
|
for the nodes.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
disabled:
|
|
|
|
disabled:
|
|
|
@ -335,11 +371,13 @@ options:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The name of the Google Compute Engine subnetwork to which the cluster is connected.
|
|
|
|
- The name of the Google Compute Engine subnetwork to which the cluster is connected.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
locations:
|
|
|
|
locations:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The list of Google Compute Engine zones in which the cluster's nodes should
|
|
|
|
- The list of Google Compute Engine zones in which the cluster's nodes should
|
|
|
|
be located.
|
|
|
|
be located.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: list
|
|
|
|
aliases:
|
|
|
|
aliases:
|
|
|
|
- nodeLocations
|
|
|
|
- nodeLocations
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
@ -348,11 +386,13 @@ options:
|
|
|
|
- The resource labels for the cluster to use to annotate any related Google Compute
|
|
|
|
- The resource labels for the cluster to use to annotate any related Google Compute
|
|
|
|
Engine resources.
|
|
|
|
Engine resources.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
legacy_abac:
|
|
|
|
legacy_abac:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Configuration for the legacy ABAC authorization mode.
|
|
|
|
- Configuration for the legacy ABAC authorization mode.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
enabled:
|
|
|
|
enabled:
|
|
|
@ -367,6 +407,7 @@ options:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Configuration options for the NetworkPolicy feature.
|
|
|
|
- Configuration options for the NetworkPolicy feature.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
provider:
|
|
|
|
provider:
|
|
|
@ -374,6 +415,7 @@ options:
|
|
|
|
- The selected network policy provider.
|
|
|
|
- The selected network policy provider.
|
|
|
|
- 'Some valid choices include: "PROVIDER_UNSPECIFIED", "CALICO"'
|
|
|
|
- 'Some valid choices include: "PROVIDER_UNSPECIFIED", "CALICO"'
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
enabled:
|
|
|
|
enabled:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Whether network policy is enabled on the cluster.
|
|
|
|
- Whether network policy is enabled on the cluster.
|
|
|
@ -385,12 +427,14 @@ options:
|
|
|
|
on a node in the node pool of this cluster.
|
|
|
|
on a node in the node pool of this cluster.
|
|
|
|
- Only honored if cluster created with IP Alias support.
|
|
|
|
- Only honored if cluster created with IP Alias support.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: dict
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
suboptions:
|
|
|
|
suboptions:
|
|
|
|
max_pods_per_node:
|
|
|
|
max_pods_per_node:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Constraint enforced on the max num of pods per node.
|
|
|
|
- Constraint enforced on the max num of pods per node.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
enable_tpu:
|
|
|
|
enable_tpu:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Enable the ability to use Cloud TPUs in this cluster.
|
|
|
|
- Enable the ability to use Cloud TPUs in this cluster.
|
|
|
@ -401,11 +445,13 @@ options:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The IP address range of the Cloud TPUs in this cluster, in CIDR notation.
|
|
|
|
- The IP address range of the Cloud TPUs in this cluster, in CIDR notation.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
location:
|
|
|
|
location:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The location where the cluster is deployed.
|
|
|
|
- The location where the cluster is deployed.
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
|
|
|
|
type: str
|
|
|
|
aliases:
|
|
|
|
aliases:
|
|
|
|
- zone
|
|
|
|
- zone
|
|
|
|
version_added: 2.8
|
|
|
|
version_added: 2.8
|
|
|
@ -416,12 +462,14 @@ options:
|
|
|
|
- Any existing file at this path will be completely overwritten.
|
|
|
|
- Any existing file at this path will be completely overwritten.
|
|
|
|
- This requires the PyYaml library.
|
|
|
|
- This requires the PyYaml library.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
kubectl_context:
|
|
|
|
kubectl_context:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The name of the context for the kubectl config file. Will default to the cluster
|
|
|
|
- The name of the context for the kubectl config file. Will default to the cluster
|
|
|
|
name.
|
|
|
|
name.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
|
|
|
|
type: str
|
|
|
|
version_added: 2.9
|
|
|
|
version_added: 2.9
|
|
|
|
extends_documentation_fragment: gcp
|
|
|
|
extends_documentation_fragment: gcp
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|