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: docs/dyn/container_v1.projects.locations.clusters.nodePools.html
+26-4
Original file line number
Diff line number
Diff line change
@@ -203,6 +203,7 @@ <h3>Method Details</h3>
203
203
"a_key": "A String",
204
204
},
205
205
"linuxNodeConfig": { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
206
+
"cgroupMode": "A String", # cgroup_mode specifies the cgroup mode to be used on the node.
206
207
"sysctls": { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
207
208
"a_key": "A String",
208
209
},
@@ -230,6 +231,9 @@ <h3>Method Details</h3>
230
231
"A String",
231
232
],
232
233
},
234
+
"resourceLabels": { # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
235
+
"a_key": "A String",
236
+
},
233
237
"sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
234
238
"type": "A String", # Type of the sandbox to use for the node.
235
239
},
@@ -274,6 +278,7 @@ <h3>Method Details</h3>
274
278
"name": "A String", # The name of the node pool.
275
279
"networkConfig": { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
276
280
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
281
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
277
282
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
278
283
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
279
284
},
@@ -302,7 +307,7 @@ <h3>Method Details</h3>
302
307
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
303
308
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
304
309
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
305
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
310
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
306
311
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
307
312
},
308
313
},
@@ -522,6 +527,7 @@ <h3>Method Details</h3>
522
527
"a_key": "A String",
523
528
},
524
529
"linuxNodeConfig": { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
530
+
"cgroupMode": "A String", # cgroup_mode specifies the cgroup mode to be used on the node.
525
531
"sysctls": { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
526
532
"a_key": "A String",
527
533
},
@@ -549,6 +555,9 @@ <h3>Method Details</h3>
549
555
"A String",
550
556
],
551
557
},
558
+
"resourceLabels": { # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
559
+
"a_key": "A String",
560
+
},
552
561
"sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
553
562
"type": "A String", # Type of the sandbox to use for the node.
554
563
},
@@ -593,6 +602,7 @@ <h3>Method Details</h3>
593
602
"name": "A String", # The name of the node pool.
594
603
"networkConfig": { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
595
604
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
605
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
596
606
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
597
607
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
598
608
},
@@ -621,7 +631,7 @@ <h3>Method Details</h3>
621
631
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
622
632
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
623
633
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
624
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
634
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
625
635
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
626
636
},
627
637
},
@@ -707,6 +717,7 @@ <h3>Method Details</h3>
707
717
"a_key": "A String",
708
718
},
709
719
"linuxNodeConfig": { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
720
+
"cgroupMode": "A String", # cgroup_mode specifies the cgroup mode to be used on the node.
710
721
"sysctls": { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
711
722
"a_key": "A String",
712
723
},
@@ -734,6 +745,9 @@ <h3>Method Details</h3>
734
745
"A String",
735
746
],
736
747
},
748
+
"resourceLabels": { # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
749
+
"a_key": "A String",
750
+
},
737
751
"sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
738
752
"type": "A String", # Type of the sandbox to use for the node.
739
753
},
@@ -778,6 +792,7 @@ <h3>Method Details</h3>
778
792
"name": "A String", # The name of the node pool.
779
793
"networkConfig": { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
780
794
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
795
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
781
796
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
782
797
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
783
798
},
@@ -806,7 +821,7 @@ <h3>Method Details</h3>
806
821
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
807
822
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
808
823
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
809
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
824
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
810
825
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
811
826
},
812
827
},
@@ -1184,6 +1199,7 @@ <h3>Method Details</h3>
1184
1199
},
1185
1200
},
1186
1201
"linuxNodeConfig": { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
1202
+
"cgroupMode": "A String", # cgroup_mode specifies the cgroup mode to be used on the node.
1187
1203
"sysctls": { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
1188
1204
"a_key": "A String",
1189
1205
},
@@ -1199,6 +1215,7 @@ <h3>Method Details</h3>
1199
1215
"name": "A String", # The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
1218
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
1202
1219
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
1203
1220
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
1204
1221
},
@@ -1208,6 +1225,11 @@ <h3>Method Details</h3>
1208
1225
"nodePoolId": "A String", # Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
1209
1226
"nodeVersion": "A String", # Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version
1210
1227
"projectId": "A String", # Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.
1228
+
"resourceLabels": { # Collection of [GCP labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels). # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
1229
+
"labels": { # Map of node label keys and node label values.
1230
+
"a_key": "A String",
1231
+
},
1232
+
},
1211
1233
"tags": { # Collection of Compute Engine network tags that can be applied to a node's underlying VM instance. # The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags.
1212
1234
"tags": [ # List of network tags.
1213
1235
"A String",
@@ -1227,7 +1249,7 @@ <h3>Method Details</h3>
1227
1249
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
1228
1250
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
1229
1251
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
1230
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
1252
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
1231
1253
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
Copy file name to clipboardexpand all lines: docs/dyn/container_v1.projects.zones.clusters.nodePools.html
+26-4
Original file line number
Diff line number
Diff line change
@@ -268,6 +268,7 @@ <h3>Method Details</h3>
268
268
"a_key": "A String",
269
269
},
270
270
"linuxNodeConfig": { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
271
+
"cgroupMode": "A String", # cgroup_mode specifies the cgroup mode to be used on the node.
271
272
"sysctls": { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
272
273
"a_key": "A String",
273
274
},
@@ -295,6 +296,9 @@ <h3>Method Details</h3>
295
296
"A String",
296
297
],
297
298
},
299
+
"resourceLabels": { # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
300
+
"a_key": "A String",
301
+
},
298
302
"sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
299
303
"type": "A String", # Type of the sandbox to use for the node.
300
304
},
@@ -339,6 +343,7 @@ <h3>Method Details</h3>
339
343
"name": "A String", # The name of the node pool.
340
344
"networkConfig": { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
341
345
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
346
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
342
347
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
343
348
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
344
349
},
@@ -367,7 +372,7 @@ <h3>Method Details</h3>
367
372
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
368
373
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
369
374
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
370
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
375
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
371
376
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
372
377
},
373
378
},
@@ -587,6 +592,7 @@ <h3>Method Details</h3>
587
592
"a_key": "A String",
588
593
},
589
594
"linuxNodeConfig": { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
595
+
"cgroupMode": "A String", # cgroup_mode specifies the cgroup mode to be used on the node.
590
596
"sysctls": { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
591
597
"a_key": "A String",
592
598
},
@@ -614,6 +620,9 @@ <h3>Method Details</h3>
614
620
"A String",
615
621
],
616
622
},
623
+
"resourceLabels": { # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
624
+
"a_key": "A String",
625
+
},
617
626
"sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
618
627
"type": "A String", # Type of the sandbox to use for the node.
619
628
},
@@ -658,6 +667,7 @@ <h3>Method Details</h3>
658
667
"name": "A String", # The name of the node pool.
659
668
"networkConfig": { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
660
669
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
670
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
661
671
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
662
672
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
663
673
},
@@ -686,7 +696,7 @@ <h3>Method Details</h3>
686
696
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
687
697
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
688
698
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
689
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
699
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
690
700
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
691
701
},
692
702
},
@@ -772,6 +782,7 @@ <h3>Method Details</h3>
772
782
"a_key": "A String",
773
783
},
774
784
"linuxNodeConfig": { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
785
+
"cgroupMode": "A String", # cgroup_mode specifies the cgroup mode to be used on the node.
775
786
"sysctls": { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
776
787
"a_key": "A String",
777
788
},
@@ -799,6 +810,9 @@ <h3>Method Details</h3>
799
810
"A String",
800
811
],
801
812
},
813
+
"resourceLabels": { # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
814
+
"a_key": "A String",
815
+
},
802
816
"sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
803
817
"type": "A String", # Type of the sandbox to use for the node.
804
818
},
@@ -843,6 +857,7 @@ <h3>Method Details</h3>
843
857
"name": "A String", # The name of the node pool.
844
858
"networkConfig": { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
845
859
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
860
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
846
861
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
847
862
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
848
863
},
@@ -871,7 +886,7 @@ <h3>Method Details</h3>
871
886
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
872
887
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
873
888
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
874
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
889
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
875
890
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
876
891
},
877
892
},
@@ -1174,6 +1189,7 @@ <h3>Method Details</h3>
1174
1189
},
1175
1190
},
1176
1191
"linuxNodeConfig": { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
1192
+
"cgroupMode": "A String", # cgroup_mode specifies the cgroup mode to be used on the node.
1177
1193
"sysctls": { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
1178
1194
"a_key": "A String",
1179
1195
},
@@ -1189,6 +1205,7 @@ <h3>Method Details</h3>
1189
1205
"name": "A String", # The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
1208
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
1192
1209
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
1193
1210
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
1194
1211
},
@@ -1198,6 +1215,11 @@ <h3>Method Details</h3>
1198
1215
"nodePoolId": "A String", # Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
1199
1216
"nodeVersion": "A String", # Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version
1200
1217
"projectId": "A String", # Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.
1218
+
"resourceLabels": { # Collection of [GCP labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels). # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
1219
+
"labels": { # Map of node label keys and node label values.
1220
+
"a_key": "A String",
1221
+
},
1222
+
},
1201
1223
"tags": { # Collection of Compute Engine network tags that can be applied to a node's underlying VM instance. # The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags.
1202
1224
"tags": [ # List of network tags.
1203
1225
"A String",
@@ -1217,7 +1239,7 @@ <h3>Method Details</h3>
1217
1239
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
1218
1240
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
1219
1241
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
1220
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
1242
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
1221
1243
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
Copy file name to clipboardexpand all lines: docs/dyn/container_v1beta1.projects.locations.clusters.nodePools.html
+22-4
Original file line number
Diff line number
Diff line change
@@ -235,6 +235,9 @@ <h3>Method Details</h3>
235
235
"A String",
236
236
],
237
237
},
238
+
"resourceLabels": { # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
239
+
"a_key": "A String",
240
+
},
238
241
"sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
239
242
"sandboxType": "A String", # Type of the sandbox to use for the node (e.g. 'gvisor')
240
243
"type": "A String", # Type of the sandbox to use for the node.
@@ -281,6 +284,7 @@ <h3>Method Details</h3>
281
284
"name": "A String", # The name of the node pool.
282
285
"networkConfig": { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
283
286
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
287
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
284
288
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
285
289
"externalIpEgressBandwidthTier": "A String", # Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses.
286
290
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
@@ -313,7 +317,7 @@ <h3>Method Details</h3>
313
317
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
314
318
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
315
319
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
316
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
320
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
317
321
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
318
322
},
319
323
},
@@ -565,6 +569,9 @@ <h3>Method Details</h3>
565
569
"A String",
566
570
],
567
571
},
572
+
"resourceLabels": { # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
573
+
"a_key": "A String",
574
+
},
568
575
"sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
569
576
"sandboxType": "A String", # Type of the sandbox to use for the node (e.g. 'gvisor')
570
577
"type": "A String", # Type of the sandbox to use for the node.
@@ -611,6 +618,7 @@ <h3>Method Details</h3>
611
618
"name": "A String", # The name of the node pool.
612
619
"networkConfig": { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
613
620
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
621
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
614
622
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
615
623
"externalIpEgressBandwidthTier": "A String", # Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses.
616
624
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
@@ -643,7 +651,7 @@ <h3>Method Details</h3>
643
651
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
644
652
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
645
653
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
646
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
654
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
647
655
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
648
656
},
649
657
},
@@ -761,6 +769,9 @@ <h3>Method Details</h3>
761
769
"A String",
762
770
],
763
771
},
772
+
"resourceLabels": { # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
773
+
"a_key": "A String",
774
+
},
764
775
"sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
765
776
"sandboxType": "A String", # Type of the sandbox to use for the node (e.g. 'gvisor')
766
777
"type": "A String", # Type of the sandbox to use for the node.
@@ -807,6 +818,7 @@ <h3>Method Details</h3>
807
818
"name": "A String", # The name of the node pool.
808
819
"networkConfig": { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
809
820
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
821
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
810
822
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
811
823
"externalIpEgressBandwidthTier": "A String", # Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses.
812
824
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
@@ -839,7 +851,7 @@ <h3>Method Details</h3>
839
851
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
840
852
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
841
853
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
842
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
854
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
843
855
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
844
856
},
845
857
},
@@ -1233,6 +1245,7 @@ <h3>Method Details</h3>
1233
1245
"name": "A String", # The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
1248
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
1236
1249
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
1237
1250
"externalIpEgressBandwidthTier": "A String", # Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses.
1238
1251
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
@@ -1243,6 +1256,11 @@ <h3>Method Details</h3>
1243
1256
"nodePoolId": "A String", # Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
1244
1257
"nodeVersion": "A String", # Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version
1245
1258
"projectId": "A String", # Required. Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.
1259
+
"resourceLabels": { # Collection of [GCP labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels). # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
1260
+
"labels": { # Map of node label keys and node label values.
1261
+
"a_key": "A String",
1262
+
},
1263
+
},
1246
1264
"tags": { # Collection of Compute Engine network tags that can be applied to a node's underlying VM instance. (See `tags` field in [`NodeConfig`](/kubernetes-engine/docs/reference/rest/v1/NodeConfig)). # The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags.
1247
1265
"tags": [ # List of network tags.
1248
1266
"A String",
@@ -1262,7 +1280,7 @@ <h3>Method Details</h3>
1262
1280
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
1263
1281
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
1264
1282
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
1265
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
1283
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
1266
1284
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
Copy file name to clipboardexpand all lines: docs/dyn/container_v1beta1.projects.zones.clusters.nodePools.html
+22-4
Original file line number
Diff line number
Diff line change
@@ -300,6 +300,9 @@ <h3>Method Details</h3>
300
300
"A String",
301
301
],
302
302
},
303
+
"resourceLabels": { # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
304
+
"a_key": "A String",
305
+
},
303
306
"sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
304
307
"sandboxType": "A String", # Type of the sandbox to use for the node (e.g. 'gvisor')
305
308
"type": "A String", # Type of the sandbox to use for the node.
@@ -346,6 +349,7 @@ <h3>Method Details</h3>
346
349
"name": "A String", # The name of the node pool.
347
350
"networkConfig": { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
348
351
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
352
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
349
353
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
350
354
"externalIpEgressBandwidthTier": "A String", # Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses.
351
355
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
@@ -378,7 +382,7 @@ <h3>Method Details</h3>
378
382
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
379
383
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
380
384
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
381
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
385
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
382
386
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
383
387
},
384
388
},
@@ -630,6 +634,9 @@ <h3>Method Details</h3>
630
634
"A String",
631
635
],
632
636
},
637
+
"resourceLabels": { # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
638
+
"a_key": "A String",
639
+
},
633
640
"sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
634
641
"sandboxType": "A String", # Type of the sandbox to use for the node (e.g. 'gvisor')
635
642
"type": "A String", # Type of the sandbox to use for the node.
@@ -676,6 +683,7 @@ <h3>Method Details</h3>
676
683
"name": "A String", # The name of the node pool.
677
684
"networkConfig": { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
678
685
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
686
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
679
687
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
680
688
"externalIpEgressBandwidthTier": "A String", # Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses.
681
689
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
@@ -708,7 +716,7 @@ <h3>Method Details</h3>
708
716
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
709
717
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
710
718
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
711
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
719
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
712
720
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
713
721
},
714
722
},
@@ -826,6 +834,9 @@ <h3>Method Details</h3>
826
834
"A String",
827
835
],
828
836
},
837
+
"resourceLabels": { # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
838
+
"a_key": "A String",
839
+
},
829
840
"sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
830
841
"sandboxType": "A String", # Type of the sandbox to use for the node (e.g. 'gvisor')
831
842
"type": "A String", # Type of the sandbox to use for the node.
@@ -872,6 +883,7 @@ <h3>Method Details</h3>
872
883
"name": "A String", # The name of the node pool.
873
884
"networkConfig": { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
874
885
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
886
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
875
887
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
876
888
"externalIpEgressBandwidthTier": "A String", # Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses.
877
889
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
@@ -904,7 +916,7 @@ <h3>Method Details</h3>
904
916
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
905
917
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
906
918
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
907
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
919
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
908
920
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
909
921
},
910
922
},
@@ -1223,6 +1235,7 @@ <h3>Method Details</h3>
1223
1235
"name": "A String", # The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
"createPodRange": True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
1238
+
"enablePrivateNodes": True or False, # Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes
1226
1239
"networkPerformanceConfig": { # Configuration of all network bandwidth tiers # Network bandwidth tier configuration.
1227
1240
"externalIpEgressBandwidthTier": "A String", # Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses.
1228
1241
"totalEgressBandwidthTier": "A String", # Specifies the total network bandwidth tier for the NodePool.
@@ -1233,6 +1246,11 @@ <h3>Method Details</h3>
1233
1246
"nodePoolId": "A String", # Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
1234
1247
"nodeVersion": "A String", # Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version
1235
1248
"projectId": "A String", # Required. Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.
1249
+
"resourceLabels": { # Collection of [GCP labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels). # The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
1250
+
"labels": { # Map of node label keys and node label values.
1251
+
"a_key": "A String",
1252
+
},
1253
+
},
1236
1254
"tags": { # Collection of Compute Engine network tags that can be applied to a node's underlying VM instance. (See `tags` field in [`NodeConfig`](/kubernetes-engine/docs/reference/rest/v1/NodeConfig)). # The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags.
1237
1255
"tags": [ # List of network tags.
1238
1256
"A String",
@@ -1252,7 +1270,7 @@ <h3>Method Details</h3>
1252
1270
"nodePoolSoakDuration": "A String", # Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
1253
1271
"standardRolloutPolicy": { # Standard rollout policy is the default policy for blue-green. # Standard policy for the blue-green upgrade.
1254
1272
"batchNodeCount": 42, # Number of blue nodes to drain in a batch.
1255
-
"batchPercentage": 3.14, # Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
1273
+
"batchPercentage": 3.14, # Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
1256
1274
"batchSoakDuration": "A String", # Soak time after each batch gets drained. Default to zero.
Copy file name to clipboardexpand all lines: googleapiclient/discovery_cache/documents/container.v1.json
+96-4
Original file line number
Diff line number
Diff line change
@@ -2487,7 +2487,7 @@
2487
2487
}
2488
2488
}
2489
2489
},
2490
-
"revision": "20220927",
2490
+
"revision": "20221023",
2491
2491
"rootUrl": "https://container.googleapis.com/",
2492
2492
"schemas": {
2493
2493
"AcceleratorConfig": {
@@ -3229,6 +3229,14 @@
3229
3229
"$ref": "DNSConfig",
3230
3230
"description": "DNSConfig contains clusterDNS config for this cluster."
3231
3231
},
3232
+
"desiredEnablePrivateEndpoint": {
3233
+
"description": "Enable/Disable private endpoint for the cluster's master.",
3234
+
"type": "boolean"
3235
+
},
3236
+
"desiredGatewayApiConfig": {
3237
+
"$ref": "GatewayAPIConfig",
3238
+
"description": "The desired config of Gateway API on this cluster."
3239
+
},
3232
3240
"desiredGcfsConfig": {
3233
3241
"$ref": "GcfsConfig",
3234
3242
"description": "The desired GCFS config for the cluster"
@@ -3633,6 +3641,29 @@
3633
3641
},
3634
3642
"type": "object"
3635
3643
},
3644
+
"GatewayAPIConfig": {
3645
+
"description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster.",
3646
+
"id": "GatewayAPIConfig",
3647
+
"properties": {
3648
+
"channel": {
3649
+
"description": "The Gateway API release channel to use for Gateway API.",
3650
+
"enum": [
3651
+
"CHANNEL_UNSPECIFIED",
3652
+
"CHANNEL_DISABLED",
3653
+
"CHANNEL_EXPERIMENTAL",
3654
+
"CHANNEL_STANDARD"
3655
+
],
3656
+
"enumDescriptions": [
3657
+
"Default value.",
3658
+
"Gateway API support is disabled",
3659
+
"Gateway API support is enabled, experimental CRDs are installed",
3660
+
"Gateway API support is enabled, standard CRDs are installed"
3661
+
],
3662
+
"type": "string"
3663
+
}
3664
+
},
3665
+
"type": "object"
3666
+
},
3636
3667
"GcePersistentDiskCsiDriverConfig": {
3637
3668
"description": "Configuration for the Compute Engine PD CSI driver.",
3638
3669
"id": "GcePersistentDiskCsiDriverConfig",
@@ -3980,6 +4011,20 @@
3980
4011
"description": "Parameters that can be configured on Linux nodes.",
3981
4012
"id": "LinuxNodeConfig",
3982
4013
"properties": {
4014
+
"cgroupMode": {
4015
+
"description": "cgroup_mode specifies the cgroup mode to be used on the node.",
4016
+
"enum": [
4017
+
"CGROUP_MODE_UNSPECIFIED",
4018
+
"CGROUP_MODE_V1",
4019
+
"CGROUP_MODE_V2"
4020
+
],
4021
+
"enumDescriptions": [
4022
+
"CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.",
4023
+
"CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.",
4024
+
"CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image."
4025
+
],
4026
+
"type": "string"
4027
+
},
3983
4028
"sysctls": {
3984
4029
"additionalProperties": {
3985
4030
"type": "string"
@@ -4074,12 +4119,18 @@
4074
4119
"enum": [
4075
4120
"COMPONENT_UNSPECIFIED",
4076
4121
"SYSTEM_COMPONENTS",
4077
-
"WORKLOADS"
4122
+
"WORKLOADS",
4123
+
"APISERVER",
4124
+
"SCHEDULER",
4125
+
"CONTROLLER_MANAGER"
4078
4126
],
4079
4127
"enumDescriptions": [
4080
4128
"Default value. This shouldn't be used.",
4081
4129
"system components",
4082
-
"workloads"
4130
+
"workloads",
4131
+
"kube-apiserver",
4132
+
"kube-scheduler",
4133
+
"kube-controller-manager"
4083
4134
],
4084
4135
"type": "string"
4085
4136
},
@@ -4234,6 +4285,10 @@
4234
4285
"enabled": {
4235
4286
"description": "Whether or not master authorized networks is enabled.",
4236
4287
"type": "boolean"
4288
+
},
4289
+
"gcpPublicCidrsAccessEnabled": {
4290
+
"description": "Whether master is accessbile via Google Compute Engine Public IP addresses.",
4291
+
"type": "boolean"
4237
4292
}
4238
4293
},
4239
4294
"type": "object"
@@ -4363,6 +4418,10 @@
4363
4418
"description": "Whether L4ILB Subsetting is enabled for this cluster.",
4364
4419
"type": "boolean"
4365
4420
},
4421
+
"gatewayApiConfig": {
4422
+
"$ref": "GatewayAPIConfig",
4423
+
"description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster."
4424
+
},
4366
4425
"network": {
4367
4426
"description": "Output only. The relative name of the Google Compute Engine network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network",
4368
4427
"type": "string"
@@ -4563,6 +4622,13 @@
4563
4622
"$ref": "ReservationAffinity",
4564
4623
"description": "The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool."
4565
4624
},
4625
+
"resourceLabels": {
4626
+
"additionalProperties": {
4627
+
"type": "string"
4628
+
},
4629
+
"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources.",
4630
+
"type": "object"
4631
+
},
4566
4632
"sandboxConfig": {
4567
4633
"$ref": "SandboxConfig",
4568
4634
"description": "Sandbox configuration for this node."
@@ -4680,6 +4746,10 @@
4680
4746
"description": "Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.",
4681
4747
"type": "boolean"
4682
4748
},
4749
+
"enablePrivateNodes": {
4750
+
"description": "Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes",
"description": "Output only. The internal IP address of this cluster's master endpoint.",
5137
5207
"type": "string"
5138
5208
},
5209
+
"privateEndpointSubnetwork": {
5210
+
"description": "Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.",
5211
+
"type": "string"
5212
+
},
5139
5213
"publicEndpoint": {
5140
5214
"description": "Output only. The external IP address of this cluster's master endpoint.",
5141
5215
"type": "string"
@@ -5279,6 +5353,20 @@
5279
5353
},
5280
5354
"type": "object"
5281
5355
},
5356
+
"ResourceLabels": {
5357
+
"description": "Collection of [GCP labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).",
5358
+
"id": "ResourceLabels",
5359
+
"properties": {
5360
+
"labels": {
5361
+
"additionalProperties": {
5362
+
"type": "string"
5363
+
},
5364
+
"description": "Map of node label keys and node label values.",
5365
+
"type": "object"
5366
+
}
5367
+
},
5368
+
"type": "object"
5369
+
},
5282
5370
"ResourceLimit": {
5283
5371
"description": "Contains information about amount of some resource in the cluster. For memory, value should be in GB.",
5284
5372
"id": "ResourceLimit",
@@ -5878,7 +5966,7 @@
5878
5966
"type": "integer"
5879
5967
},
5880
5968
"batchPercentage": {
5881
-
"description": "Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].",
5969
+
"description": "Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].",
5882
5970
"format": "float",
5883
5971
"type": "number"
5884
5972
},
@@ -6172,6 +6260,10 @@
6172
6260
"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
6173
6261
"type": "string"
6174
6262
},
6263
+
"resourceLabels": {
6264
+
"$ref": "ResourceLabels",
6265
+
"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources."
6266
+
},
6175
6267
"tags": {
6176
6268
"$ref": "NetworkTags",
6177
6269
"description": "The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags."
Copy file name to clipboardexpand all lines: googleapiclient/discovery_cache/documents/container.v1beta1.json
+82-4
Original file line number
Diff line number
Diff line change
@@ -2512,7 +2512,7 @@
2512
2512
}
2513
2513
}
2514
2514
},
2515
-
"revision": "20220927",
2515
+
"revision": "20221023",
2516
2516
"rootUrl": "https://container.googleapis.com/",
2517
2517
"schemas": {
2518
2518
"AcceleratorConfig": {
@@ -3345,6 +3345,14 @@
3345
3345
"$ref": "DNSConfig",
3346
3346
"description": "DNSConfig contains clusterDNS config for this cluster."
3347
3347
},
3348
+
"desiredEnablePrivateEndpoint": {
3349
+
"description": "Enable/Disable private endpoint for the cluster's master.",
3350
+
"type": "boolean"
3351
+
},
3352
+
"desiredGatewayApiConfig": {
3353
+
"$ref": "GatewayAPIConfig",
3354
+
"description": "The desired config of Gateway API on this cluster."
3355
+
},
3348
3356
"desiredGcfsConfig": {
3349
3357
"$ref": "GcfsConfig",
3350
3358
"description": "The desired GCFS config for the cluster."
@@ -3809,6 +3817,29 @@
3809
3817
},
3810
3818
"type": "object"
3811
3819
},
3820
+
"GatewayAPIConfig": {
3821
+
"description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster.",
3822
+
"id": "GatewayAPIConfig",
3823
+
"properties": {
3824
+
"channel": {
3825
+
"description": "The Gateway API release channel to use for Gateway API.",
3826
+
"enum": [
3827
+
"CHANNEL_UNSPECIFIED",
3828
+
"CHANNEL_DISABLED",
3829
+
"CHANNEL_EXPERIMENTAL",
3830
+
"CHANNEL_STANDARD"
3831
+
],
3832
+
"enumDescriptions": [
3833
+
"Default value.",
3834
+
"Gateway API support is disabled",
3835
+
"Gateway API support is enabled, experimental CRDs are installed",
3836
+
"Gateway API support is enabled, standard CRDs are installed"
3837
+
],
3838
+
"type": "string"
3839
+
}
3840
+
},
3841
+
"type": "object"
3842
+
},
3812
3843
"GcePersistentDiskCsiDriverConfig": {
3813
3844
"description": "Configuration for the Compute Engine PD CSI driver.",
3814
3845
"id": "GcePersistentDiskCsiDriverConfig",
@@ -4359,12 +4390,18 @@
4359
4390
"enum": [
4360
4391
"COMPONENT_UNSPECIFIED",
4361
4392
"SYSTEM_COMPONENTS",
4362
-
"WORKLOADS"
4393
+
"WORKLOADS",
4394
+
"APISERVER",
4395
+
"SCHEDULER",
4396
+
"CONTROLLER_MANAGER"
4363
4397
],
4364
4398
"enumDescriptions": [
4365
4399
"Default value. This shouldn't be used.",
4366
4400
"system components",
4367
-
"workloads"
4401
+
"workloads",
4402
+
"kube-apiserver",
4403
+
"kube-scheduler",
4404
+
"kube-controller-manager"
4368
4405
],
4369
4406
"type": "string"
4370
4407
},
@@ -4524,6 +4561,10 @@
4524
4561
"enabled": {
4525
4562
"description": "Whether or not master authorized networks is enabled.",
4526
4563
"type": "boolean"
4564
+
},
4565
+
"gcpPublicCidrsAccessEnabled": {
4566
+
"description": "Whether master is accessbile via Google Compute Engine Public IP addresses.",
4567
+
"type": "boolean"
4527
4568
}
4528
4569
},
4529
4570
"type": "object"
@@ -4655,6 +4696,10 @@
4655
4696
"description": "Whether L4ILB Subsetting is enabled for this cluster.",
4656
4697
"type": "boolean"
4657
4698
},
4699
+
"gatewayApiConfig": {
4700
+
"$ref": "GatewayAPIConfig",
4701
+
"description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster."
4702
+
},
4658
4703
"network": {
4659
4704
"description": "Output only. The relative name of the Google Compute Engine network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network",
4660
4705
"type": "string"
@@ -4871,6 +4916,13 @@
4871
4916
"$ref": "ReservationAffinity",
4872
4917
"description": "The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool."
4873
4918
},
4919
+
"resourceLabels": {
4920
+
"additionalProperties": {
4921
+
"type": "string"
4922
+
},
4923
+
"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources.",
4924
+
"type": "object"
4925
+
},
4874
4926
"sandboxConfig": {
4875
4927
"$ref": "SandboxConfig",
4876
4928
"description": "Sandbox configuration for this node."
@@ -4988,6 +5040,10 @@
4988
5040
"description": "Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.",
4989
5041
"type": "boolean"
4990
5042
},
5043
+
"enablePrivateNodes": {
5044
+
"description": "Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes",
"description": "Output only. The internal IP address of this cluster's master endpoint.",
5479
5535
"type": "string"
5480
5536
},
5537
+
"privateEndpointSubnetwork": {
5538
+
"description": "Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.",
5539
+
"type": "string"
5540
+
},
5481
5541
"publicEndpoint": {
5482
5542
"description": "Output only. The external IP address of this cluster's master endpoint.",
5483
5543
"type": "string"
@@ -5653,6 +5713,20 @@
5653
5713
},
5654
5714
"type": "object"
5655
5715
},
5716
+
"ResourceLabels": {
5717
+
"description": "Collection of [GCP labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).",
5718
+
"id": "ResourceLabels",
5719
+
"properties": {
5720
+
"labels": {
5721
+
"additionalProperties": {
5722
+
"type": "string"
5723
+
},
5724
+
"description": "Map of node label keys and node label values.",
5725
+
"type": "object"
5726
+
}
5727
+
},
5728
+
"type": "object"
5729
+
},
5656
5730
"ResourceLimit": {
5657
5731
"description": "Contains information about amount of some resource in the cluster. For memory, value should be in GB.",
5658
5732
"id": "ResourceLimit",
@@ -6263,7 +6337,7 @@
6263
6337
"type": "integer"
6264
6338
},
6265
6339
"batchPercentage": {
6266
-
"description": "Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].",
6340
+
"description": "Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].",
6267
6341
"format": "float",
6268
6342
"type": "number"
6269
6343
},
@@ -6576,6 +6650,10 @@
6576
6650
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
6577
6651
"type": "string"
6578
6652
},
6653
+
"resourceLabels": {
6654
+
"$ref": "ResourceLabels",
6655
+
"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources."
6656
+
},
6579
6657
"tags": {
6580
6658
"$ref": "NetworkTags",
6581
6659
"description": "The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags."
0 commit comments