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
feat: Enable Surge Upgrades by specifying max_surge and max_unavailable (Beta) (#394)
BREAKING CHANGE: beta clusters now have surge upgrades turned on by default. This behavior can be tuned using the max_surge and max_unavailable inputs.
Copy file name to clipboardExpand all lines: autogen/main/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,6 +189,8 @@ The node_pools variable takes the following parameters:
189
189
| max_count | Maximum number of nodes in the NodePool. Must be >= min_count | 100 | Optional |
190
190
{% if beta_cluster %}
191
191
| max_pods_per_node | The maximum number of pods per node in this cluster | null | Optional |
192
+
| max_surge | The number of additional nodes that can be added to the node pool during an upgrade. Increasing max_surge raises the number of nodes that can be upgraded simultaneously. Can be set to 0 or greater. | 1 | Optional |
193
+
| max_unavailable | The number of nodes that can be simultaneously unavailable during an upgrade. Increasing max_unavailable raises the number of nodes that can be upgraded in parallel. Can be set to 0 or greater. | 0 | Optional |
192
194
{% endif %}
193
195
| min_count | Minimum number of nodes in the NodePool. Must be >=0 and <= max_count. Should be used when autoscaling is true | 1 | Optional |
Copy file name to clipboardExpand all lines: modules/beta-private-cluster-update-variant/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -276,6 +276,8 @@ The node_pools variable takes the following parameters:
276
276
| machine_type | The name of a Google Compute Engine machine type | n1-standard-2 | Optional |
277
277
| max_count | Maximum number of nodes in the NodePool. Must be >= min_count | 100 | Optional |
278
278
| max_pods_per_node | The maximum number of pods per node in this cluster | null | Optional |
279
+
| max_surge | The number of additional nodes that can be added to the node pool during an upgrade. Increasing max_surge raises the number of nodes that can be upgraded simultaneously. Can be set to 0 or greater. | 1 | Optional |
280
+
| max_unavailable | The number of nodes that can be simultaneously unavailable during an upgrade. Increasing max_unavailable raises the number of nodes that can be upgraded in parallel. Can be set to 0 or greater. | 0 | Optional |
279
281
| min_count | Minimum number of nodes in the NodePool. Must be >=0 and <= max_count. Should be used when autoscaling is true | 1 | Optional |
280
282
| name | The name of the node pool || Required |
281
283
| node_count | The number of nodes in the nodepool when autoscaling is false. Otherwise defaults to 1. Only valid for non-autoscaling clusers || Required |
Copy file name to clipboardExpand all lines: modules/beta-private-cluster/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -254,6 +254,8 @@ The node_pools variable takes the following parameters:
254
254
| machine_type | The name of a Google Compute Engine machine type | n1-standard-2 | Optional |
255
255
| max_count | Maximum number of nodes in the NodePool. Must be >= min_count | 100 | Optional |
256
256
| max_pods_per_node | The maximum number of pods per node in this cluster | null | Optional |
257
+
| max_surge | The number of additional nodes that can be added to the node pool during an upgrade. Increasing max_surge raises the number of nodes that can be upgraded simultaneously. Can be set to 0 or greater. | 1 | Optional |
258
+
| max_unavailable | The number of nodes that can be simultaneously unavailable during an upgrade. Increasing max_unavailable raises the number of nodes that can be upgraded in parallel. Can be set to 0 or greater. | 0 | Optional |
257
259
| min_count | Minimum number of nodes in the NodePool. Must be >=0 and <= max_count. Should be used when autoscaling is true | 1 | Optional |
258
260
| name | The name of the node pool || Required |
259
261
| node_count | The number of nodes in the nodepool when autoscaling is false. Otherwise defaults to 1. Only valid for non-autoscaling clusers || Required |
Copy file name to clipboardExpand all lines: modules/beta-public-cluster/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -232,6 +232,8 @@ The node_pools variable takes the following parameters:
232
232
| machine_type | The name of a Google Compute Engine machine type | n1-standard-2 | Optional |
233
233
| max_count | Maximum number of nodes in the NodePool. Must be >= min_count | 100 | Optional |
234
234
| max_pods_per_node | The maximum number of pods per node in this cluster | null | Optional |
235
+
| max_surge | The number of additional nodes that can be added to the node pool during an upgrade. Increasing max_surge raises the number of nodes that can be upgraded simultaneously. Can be set to 0 or greater. | 1 | Optional |
236
+
| max_unavailable | The number of nodes that can be simultaneously unavailable during an upgrade. Increasing max_unavailable raises the number of nodes that can be upgraded in parallel. Can be set to 0 or greater. | 0 | Optional |
235
237
| min_count | Minimum number of nodes in the NodePool. Must be >=0 and <= max_count. Should be used when autoscaling is true | 1 | Optional |
236
238
| name | The name of the node pool || Required |
237
239
| node_count | The number of nodes in the nodepool when autoscaling is false. Otherwise defaults to 1. Only valid for non-autoscaling clusers || Required |
0 commit comments