Node Pool versioning (#206)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-03-11 14:20:07 -07:00 committed by Alex Stephen
commit 5b5bd605e4
2 changed files with 7 additions and 15 deletions

View file

@ -221,14 +221,6 @@ 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
private_endpoint:
description:
- The internal IP address of this cluster's master endpoint.
required: false
public_endpoint:
description:
- The external IP address of this cluster's master endpoint.
required: false
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
@ -664,13 +656,7 @@ def main():
network=dict(type='str'), network=dict(type='str'),
private_cluster_config=dict( private_cluster_config=dict(
type='dict', type='dict',
options=dict( options=dict(enable_private_nodes=dict(type='bool'), enable_private_endpoint=dict(type='bool'), master_ipv4_cidr_block=dict(type='str')),
enable_private_nodes=dict(type='bool'),
enable_private_endpoint=dict(type='bool'),
master_ipv4_cidr_block=dict(type='str'),
private_endpoint=dict(type='str'),
public_endpoint=dict(type='str'),
),
), ),
cluster_ipv4_cidr=dict(type='str'), cluster_ipv4_cidr=dict(type='str'),
addons_config=dict( addons_config=dict(

View file

@ -144,6 +144,11 @@ options:
resource quota is sufficient for this number of instances. You must also have resource quota is sufficient for this number of instances. You must also have
available firewall and routes quota. available firewall and routes quota.
required: true required: true
version:
description:
- The version of the Kubernetes of this node.
required: false
version_added: 2.8
autoscaling: autoscaling:
description: description:
- Autoscaler configuration for this NodePool. Autoscaler is enabled only if a - Autoscaler configuration for this NodePool. Autoscaler is enabled only if a
@ -452,6 +457,7 @@ def main():
), ),
), ),
initial_node_count=dict(required=True, type='int'), initial_node_count=dict(required=True, type='int'),
version=dict(type='str'),
autoscaling=dict(type='dict', options=dict(enabled=dict(type='bool'), min_node_count=dict(type='int'), max_node_count=dict(type='int'))), autoscaling=dict(type='dict', options=dict(enabled=dict(type='bool'), min_node_count=dict(type='int'), max_node_count=dict(type='int'))),
management=dict( management=dict(
type='dict', options=dict(auto_upgrade=dict(type='bool'), auto_repair=dict(type='bool'), upgrade_options=dict(type='dict', options=dict())) type='dict', options=dict(auto_upgrade=dict(type='bool'), auto_repair=dict(type='bool'), upgrade_options=dict(type='dict', options=dict()))