You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -356,6 +356,7 @@ The node_pools variable takes the following parameters:
356
356
| placement_policy | Placement type to set for nodes in a node pool. Can be set as [COMPACT](https://cloud.google.com/kubernetes-engine/docs/how-to/compact-placement#overview) if desired || Optional |
357
357
| pod_range | The name of the secondary range for pod IPs. || Optional |
358
358
| enable_private_nodes | Whether nodes have internal IP addresses only. || Optional |
359
+
| node_affinity | The node affinty in the format `"{\"key\": \"compute.googleapis.com/node-group-name\", \"operator\": \"IN\", \"values\": [\"node-group-name\"]}"`. || Optional |
359
360
| node_count | The number of nodes in the nodepool when autoscaling is false. Otherwise defaults to 1. Only valid for non-autoscaling clusters || Required |
360
361
| node_locations | The list of zones in which the cluster's nodes are located. Nodes must be in the region of their regional cluster or in the same region as their cluster's zone for zonal clusters. Defaults to cluster level node locations if nothing is specified | " " | Optional |
361
362
| node_metadata | Options to expose the node metadata to the workload running on the node || Optional |
Copy file name to clipboardExpand all lines: autogen/main/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -245,6 +245,7 @@ The node_pools variable takes the following parameters:
245
245
{% if not private_cluster %}
246
246
| enable_private_nodes | Whether nodes have internal IP addresses only. || Optional |
247
247
{% endif %}
248
+
| node_affinity | The node affinty in the format `"{\"key\": \"compute.googleapis.com/node-group-name\", \"operator\": \"IN\", \"values\": [\"node-group-name\"]}"`. || Optional |
248
249
| node_count | The number of nodes in the nodepool when autoscaling is false. Otherwise defaults to 1. Only valid for non-autoscaling clusters || Required |
249
250
| node_locations | The list of zones in which the cluster's nodes are located. Nodes must be in the region of their regional cluster or in the same region as their cluster's zone for zonal clusters. Defaults to cluster level node locations if nothing is specified | " " | Optional |
250
251
| node_metadata | Options to expose the node metadata to the workload running on the node || Optional |
Copy file name to clipboardExpand all lines: modules/beta-private-cluster-update-variant/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -408,6 +408,7 @@ The node_pools variable takes the following parameters:
408
408
| name | The name of the node pool || Required |
409
409
| placement_policy | Placement type to set for nodes in a node pool. Can be set as [COMPACT](https://cloud.google.com/kubernetes-engine/docs/how-to/compact-placement#overview) if desired || Optional |
410
410
| pod_range | The name of the secondary range for pod IPs. || Optional |
411
+
| node_affinity | The node affinty in the format `"{\"key\": \"compute.googleapis.com/node-group-name\", \"operator\": \"IN\", \"values\": [\"node-group-name\"]}"`. || Optional |
411
412
| node_count | The number of nodes in the nodepool when autoscaling is false. Otherwise defaults to 1. Only valid for non-autoscaling clusters || Required |
412
413
| node_locations | The list of zones in which the cluster's nodes are located. Nodes must be in the region of their regional cluster or in the same region as their cluster's zone for zonal clusters. Defaults to cluster level node locations if nothing is specified | " " | Optional |
413
414
| node_metadata | Options to expose the node metadata to the workload running on the node || Optional |
Copy file name to clipboardExpand all lines: modules/beta-private-cluster/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -386,6 +386,7 @@ The node_pools variable takes the following parameters:
386
386
| name | The name of the node pool || Required |
387
387
| placement_policy | Placement type to set for nodes in a node pool. Can be set as [COMPACT](https://cloud.google.com/kubernetes-engine/docs/how-to/compact-placement#overview) if desired || Optional |
388
388
| pod_range | The name of the secondary range for pod IPs. || Optional |
389
+
| node_affinity | The node affinty in the format `"{\"key\": \"compute.googleapis.com/node-group-name\", \"operator\": \"IN\", \"values\": [\"node-group-name\"]}"`. || Optional |
389
390
| node_count | The number of nodes in the nodepool when autoscaling is false. Otherwise defaults to 1. Only valid for non-autoscaling clusters || Required |
390
391
| node_locations | The list of zones in which the cluster's nodes are located. Nodes must be in the region of their regional cluster or in the same region as their cluster's zone for zonal clusters. Defaults to cluster level node locations if nothing is specified | " " | Optional |
391
392
| node_metadata | Options to expose the node metadata to the workload running on the node || Optional |
Copy file name to clipboardExpand all lines: modules/beta-public-cluster-update-variant/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -396,6 +396,7 @@ The node_pools variable takes the following parameters:
396
396
| placement_policy | Placement type to set for nodes in a node pool. Can be set as [COMPACT](https://cloud.google.com/kubernetes-engine/docs/how-to/compact-placement#overview) if desired || Optional |
397
397
| pod_range | The name of the secondary range for pod IPs. || Optional |
398
398
| enable_private_nodes | Whether nodes have internal IP addresses only. || Optional |
399
+
| node_affinity | The node affinty in the format `"{\"key\": \"compute.googleapis.com/node-group-name\", \"operator\": \"IN\", \"values\": [\"node-group-name\"]}"`. || Optional |
399
400
| node_count | The number of nodes in the nodepool when autoscaling is false. Otherwise defaults to 1. Only valid for non-autoscaling clusters || Required |
400
401
| node_locations | The list of zones in which the cluster's nodes are located. Nodes must be in the region of their regional cluster or in the same region as their cluster's zone for zonal clusters. Defaults to cluster level node locations if nothing is specified | " " | Optional |
401
402
| node_metadata | Options to expose the node metadata to the workload running on the node || Optional |
0 commit comments