google-apis-container_v1 0.43.0 → 0.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +208 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/container_v1/classes.rb +2506 -125
- data/lib/google/apis/container_v1/gem_version.rb +3 -3
- data/lib/google/apis/container_v1/representations.rb +938 -5
- data/lib/google/apis/container_v1/service.rb +177 -6
- data/lib/google/apis/container_v1.rb +1 -1
- metadata +7 -10
@@ -37,6 +37,12 @@ module Google
|
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :accelerator_type
|
39
39
|
|
40
|
+
# GPUDriverInstallationConfig specifies the version of GPU driver to be auto
|
41
|
+
# installed.
|
42
|
+
# Corresponds to the JSON property `gpuDriverInstallationConfig`
|
43
|
+
# @return [Google::Apis::ContainerV1::GpuDriverInstallationConfig]
|
44
|
+
attr_accessor :gpu_driver_installation_config
|
45
|
+
|
40
46
|
# Size of partitions to create on the GPU. Valid values are described in the
|
41
47
|
# NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-
|
42
48
|
# guide/#partitioning).
|
@@ -58,11 +64,104 @@ module Google
|
|
58
64
|
def update!(**args)
|
59
65
|
@accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
|
60
66
|
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
67
|
+
@gpu_driver_installation_config = args[:gpu_driver_installation_config] if args.key?(:gpu_driver_installation_config)
|
61
68
|
@gpu_partition_size = args[:gpu_partition_size] if args.key?(:gpu_partition_size)
|
62
69
|
@gpu_sharing_config = args[:gpu_sharing_config] if args.key?(:gpu_sharing_config)
|
63
70
|
end
|
64
71
|
end
|
65
72
|
|
73
|
+
# AdditionalNodeNetworkConfig is the configuration for additional node networks
|
74
|
+
# within the NodeNetworkConfig message
|
75
|
+
class AdditionalNodeNetworkConfig
|
76
|
+
include Google::Apis::Core::Hashable
|
77
|
+
|
78
|
+
# Name of the VPC where the additional interface belongs
|
79
|
+
# Corresponds to the JSON property `network`
|
80
|
+
# @return [String]
|
81
|
+
attr_accessor :network
|
82
|
+
|
83
|
+
# Name of the subnetwork where the additional interface belongs
|
84
|
+
# Corresponds to the JSON property `subnetwork`
|
85
|
+
# @return [String]
|
86
|
+
attr_accessor :subnetwork
|
87
|
+
|
88
|
+
def initialize(**args)
|
89
|
+
update!(**args)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Update properties of this object
|
93
|
+
def update!(**args)
|
94
|
+
@network = args[:network] if args.key?(:network)
|
95
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# AdditionalPodNetworkConfig is the configuration for additional pod networks
|
100
|
+
# within the NodeNetworkConfig message
|
101
|
+
class AdditionalPodNetworkConfig
|
102
|
+
include Google::Apis::Core::Hashable
|
103
|
+
|
104
|
+
# Constraints applied to pods.
|
105
|
+
# Corresponds to the JSON property `maxPodsPerNode`
|
106
|
+
# @return [Google::Apis::ContainerV1::MaxPodsConstraint]
|
107
|
+
attr_accessor :max_pods_per_node
|
108
|
+
|
109
|
+
# The name of the network attachment for pods to communicate to; cannot be
|
110
|
+
# specified along with subnetwork or secondary_pod_range.
|
111
|
+
# Corresponds to the JSON property `networkAttachment`
|
112
|
+
# @return [String]
|
113
|
+
attr_accessor :network_attachment
|
114
|
+
|
115
|
+
# The name of the secondary range on the subnet which provides IP address for
|
116
|
+
# this pod range.
|
117
|
+
# Corresponds to the JSON property `secondaryPodRange`
|
118
|
+
# @return [String]
|
119
|
+
attr_accessor :secondary_pod_range
|
120
|
+
|
121
|
+
# Name of the subnetwork where the additional pod network belongs.
|
122
|
+
# Corresponds to the JSON property `subnetwork`
|
123
|
+
# @return [String]
|
124
|
+
attr_accessor :subnetwork
|
125
|
+
|
126
|
+
def initialize(**args)
|
127
|
+
update!(**args)
|
128
|
+
end
|
129
|
+
|
130
|
+
# Update properties of this object
|
131
|
+
def update!(**args)
|
132
|
+
@max_pods_per_node = args[:max_pods_per_node] if args.key?(:max_pods_per_node)
|
133
|
+
@network_attachment = args[:network_attachment] if args.key?(:network_attachment)
|
134
|
+
@secondary_pod_range = args[:secondary_pod_range] if args.key?(:secondary_pod_range)
|
135
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
# AdditionalPodRangesConfig is the configuration for additional pod secondary
|
140
|
+
# ranges supporting the ClusterUpdate message.
|
141
|
+
class AdditionalPodRangesConfig
|
142
|
+
include Google::Apis::Core::Hashable
|
143
|
+
|
144
|
+
# Output only. Information for additional pod range.
|
145
|
+
# Corresponds to the JSON property `podRangeInfo`
|
146
|
+
# @return [Array<Google::Apis::ContainerV1::RangeInfo>]
|
147
|
+
attr_accessor :pod_range_info
|
148
|
+
|
149
|
+
# Name for pod secondary ipv4 range which has the actual range defined ahead.
|
150
|
+
# Corresponds to the JSON property `podRangeNames`
|
151
|
+
# @return [Array<String>]
|
152
|
+
attr_accessor :pod_range_names
|
153
|
+
|
154
|
+
def initialize(**args)
|
155
|
+
update!(**args)
|
156
|
+
end
|
157
|
+
|
158
|
+
# Update properties of this object
|
159
|
+
def update!(**args)
|
160
|
+
@pod_range_info = args[:pod_range_info] if args.key?(:pod_range_info)
|
161
|
+
@pod_range_names = args[:pod_range_names] if args.key?(:pod_range_names)
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
66
165
|
# Configuration for the addons that can be automatically spun up in the cluster,
|
67
166
|
# enabling additional functionality.
|
68
167
|
class AddonsConfig
|
@@ -93,6 +192,11 @@ module Google
|
|
93
192
|
# @return [Google::Apis::ContainerV1::GcpFilestoreCsiDriverConfig]
|
94
193
|
attr_accessor :gcp_filestore_csi_driver_config
|
95
194
|
|
195
|
+
# Configuration for the Cloud Storage Fuse CSI driver.
|
196
|
+
# Corresponds to the JSON property `gcsFuseCsiDriverConfig`
|
197
|
+
# @return [Google::Apis::ContainerV1::GcsFuseCsiDriverConfig]
|
198
|
+
attr_accessor :gcs_fuse_csi_driver_config
|
199
|
+
|
96
200
|
# Configuration for the Backup for GKE Agent.
|
97
201
|
# Corresponds to the JSON property `gkeBackupAgentConfig`
|
98
202
|
# @return [Google::Apis::ContainerV1::GkeBackupAgentConfig]
|
@@ -123,6 +227,21 @@ module Google
|
|
123
227
|
# @return [Google::Apis::ContainerV1::NetworkPolicyConfig]
|
124
228
|
attr_accessor :network_policy_config
|
125
229
|
|
230
|
+
# Configuration for the Cloud Storage Parallelstore CSI driver.
|
231
|
+
# Corresponds to the JSON property `parallelstoreCsiDriverConfig`
|
232
|
+
# @return [Google::Apis::ContainerV1::ParallelstoreCsiDriverConfig]
|
233
|
+
attr_accessor :parallelstore_csi_driver_config
|
234
|
+
|
235
|
+
# Configuration options for the Ray Operator add-on.
|
236
|
+
# Corresponds to the JSON property `rayOperatorConfig`
|
237
|
+
# @return [Google::Apis::ContainerV1::RayOperatorConfig]
|
238
|
+
attr_accessor :ray_operator_config
|
239
|
+
|
240
|
+
# Configuration for the Stateful HA add-on.
|
241
|
+
# Corresponds to the JSON property `statefulHaConfig`
|
242
|
+
# @return [Google::Apis::ContainerV1::StatefulHaConfig]
|
243
|
+
attr_accessor :stateful_ha_config
|
244
|
+
|
126
245
|
def initialize(**args)
|
127
246
|
update!(**args)
|
128
247
|
end
|
@@ -134,11 +253,49 @@ module Google
|
|
134
253
|
@dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
|
135
254
|
@gce_persistent_disk_csi_driver_config = args[:gce_persistent_disk_csi_driver_config] if args.key?(:gce_persistent_disk_csi_driver_config)
|
136
255
|
@gcp_filestore_csi_driver_config = args[:gcp_filestore_csi_driver_config] if args.key?(:gcp_filestore_csi_driver_config)
|
256
|
+
@gcs_fuse_csi_driver_config = args[:gcs_fuse_csi_driver_config] if args.key?(:gcs_fuse_csi_driver_config)
|
137
257
|
@gke_backup_agent_config = args[:gke_backup_agent_config] if args.key?(:gke_backup_agent_config)
|
138
258
|
@horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
|
139
259
|
@http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
|
140
260
|
@kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
|
141
261
|
@network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config)
|
262
|
+
@parallelstore_csi_driver_config = args[:parallelstore_csi_driver_config] if args.key?(:parallelstore_csi_driver_config)
|
263
|
+
@ray_operator_config = args[:ray_operator_config] if args.key?(:ray_operator_config)
|
264
|
+
@stateful_ha_config = args[:stateful_ha_config] if args.key?(:stateful_ha_config)
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
# AdvancedDatapathObservabilityConfig specifies configuration of observability
|
269
|
+
# features of advanced datapath.
|
270
|
+
class AdvancedDatapathObservabilityConfig
|
271
|
+
include Google::Apis::Core::Hashable
|
272
|
+
|
273
|
+
# Expose flow metrics on nodes
|
274
|
+
# Corresponds to the JSON property `enableMetrics`
|
275
|
+
# @return [Boolean]
|
276
|
+
attr_accessor :enable_metrics
|
277
|
+
alias_method :enable_metrics?, :enable_metrics
|
278
|
+
|
279
|
+
# Enable Relay component
|
280
|
+
# Corresponds to the JSON property `enableRelay`
|
281
|
+
# @return [Boolean]
|
282
|
+
attr_accessor :enable_relay
|
283
|
+
alias_method :enable_relay?, :enable_relay
|
284
|
+
|
285
|
+
# Method used to make Relay available
|
286
|
+
# Corresponds to the JSON property `relayMode`
|
287
|
+
# @return [String]
|
288
|
+
attr_accessor :relay_mode
|
289
|
+
|
290
|
+
def initialize(**args)
|
291
|
+
update!(**args)
|
292
|
+
end
|
293
|
+
|
294
|
+
# Update properties of this object
|
295
|
+
def update!(**args)
|
296
|
+
@enable_metrics = args[:enable_metrics] if args.key?(:enable_metrics)
|
297
|
+
@enable_relay = args[:enable_relay] if args.key?(:enable_relay)
|
298
|
+
@relay_mode = args[:relay_mode] if args.key?(:relay_mode)
|
142
299
|
end
|
143
300
|
end
|
144
301
|
|
@@ -146,6 +303,12 @@ module Google
|
|
146
303
|
class AdvancedMachineFeatures
|
147
304
|
include Google::Apis::Core::Hashable
|
148
305
|
|
306
|
+
# Whether or not to enable nested virtualization (defaults to false).
|
307
|
+
# Corresponds to the JSON property `enableNestedVirtualization`
|
308
|
+
# @return [Boolean]
|
309
|
+
attr_accessor :enable_nested_virtualization
|
310
|
+
alias_method :enable_nested_virtualization?, :enable_nested_virtualization
|
311
|
+
|
149
312
|
# The number of threads per physical core. To disable simultaneous
|
150
313
|
# multithreading (SMT) set this to 1. If unset, the maximum number of threads
|
151
314
|
# supported per core by the underlying processor is assumed.
|
@@ -159,6 +322,7 @@ module Google
|
|
159
322
|
|
160
323
|
# Update properties of this object
|
161
324
|
def update!(**args)
|
325
|
+
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
162
326
|
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
163
327
|
end
|
164
328
|
end
|
@@ -191,19 +355,39 @@ module Google
|
|
191
355
|
end
|
192
356
|
end
|
193
357
|
|
358
|
+
# AutoMonitoringConfig defines the configuration for GKE Workload Auto-
|
359
|
+
# Monitoring.
|
360
|
+
class AutoMonitoringConfig
|
361
|
+
include Google::Apis::Core::Hashable
|
362
|
+
|
363
|
+
# Scope for GKE Workload Auto-Monitoring.
|
364
|
+
# Corresponds to the JSON property `scope`
|
365
|
+
# @return [String]
|
366
|
+
attr_accessor :scope
|
367
|
+
|
368
|
+
def initialize(**args)
|
369
|
+
update!(**args)
|
370
|
+
end
|
371
|
+
|
372
|
+
# Update properties of this object
|
373
|
+
def update!(**args)
|
374
|
+
@scope = args[:scope] if args.key?(:scope)
|
375
|
+
end
|
376
|
+
end
|
377
|
+
|
194
378
|
# AutoUpgradeOptions defines the set of options for the user to control how the
|
195
379
|
# Auto Upgrades will proceed.
|
196
380
|
class AutoUpgradeOptions
|
197
381
|
include Google::Apis::Core::Hashable
|
198
382
|
|
199
|
-
#
|
383
|
+
# Output only. This field is set when upgrades are about to commence with the
|
200
384
|
# approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/
|
201
385
|
# rfc3339.txt) text format.
|
202
386
|
# Corresponds to the JSON property `autoUpgradeStartTime`
|
203
387
|
# @return [String]
|
204
388
|
attr_accessor :auto_upgrade_start_time
|
205
389
|
|
206
|
-
#
|
390
|
+
# Output only. This field is set when upgrades are about to commence with the
|
207
391
|
# description of the upgrade.
|
208
392
|
# Corresponds to the JSON property `description`
|
209
393
|
# @return [String]
|
@@ -230,6 +414,82 @@ module Google
|
|
230
414
|
attr_accessor :enabled
|
231
415
|
alias_method :enabled?, :enabled
|
232
416
|
|
417
|
+
# WorkloadPolicyConfig is the configuration related to GCW workload policy
|
418
|
+
# Corresponds to the JSON property `workloadPolicyConfig`
|
419
|
+
# @return [Google::Apis::ContainerV1::WorkloadPolicyConfig]
|
420
|
+
attr_accessor :workload_policy_config
|
421
|
+
|
422
|
+
def initialize(**args)
|
423
|
+
update!(**args)
|
424
|
+
end
|
425
|
+
|
426
|
+
# Update properties of this object
|
427
|
+
def update!(**args)
|
428
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
429
|
+
@workload_policy_config = args[:workload_policy_config] if args.key?(:workload_policy_config)
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
# AutopilotCompatibilityIssue contains information about a specific
|
434
|
+
# compatibility issue with Autopilot mode.
|
435
|
+
class AutopilotCompatibilityIssue
|
436
|
+
include Google::Apis::Core::Hashable
|
437
|
+
|
438
|
+
# The constraint type of the issue.
|
439
|
+
# Corresponds to the JSON property `constraintType`
|
440
|
+
# @return [String]
|
441
|
+
attr_accessor :constraint_type
|
442
|
+
|
443
|
+
# The description of the issue.
|
444
|
+
# Corresponds to the JSON property `description`
|
445
|
+
# @return [String]
|
446
|
+
attr_accessor :description
|
447
|
+
|
448
|
+
# A URL to a public documentation, which addresses resolving this issue.
|
449
|
+
# Corresponds to the JSON property `documentationUrl`
|
450
|
+
# @return [String]
|
451
|
+
attr_accessor :documentation_url
|
452
|
+
|
453
|
+
# The incompatibility type of this issue.
|
454
|
+
# Corresponds to the JSON property `incompatibilityType`
|
455
|
+
# @return [String]
|
456
|
+
attr_accessor :incompatibility_type
|
457
|
+
|
458
|
+
# The last time when this issue was observed.
|
459
|
+
# Corresponds to the JSON property `lastObservation`
|
460
|
+
# @return [String]
|
461
|
+
attr_accessor :last_observation
|
462
|
+
|
463
|
+
# The name of the resources which are subject to this issue.
|
464
|
+
# Corresponds to the JSON property `subjects`
|
465
|
+
# @return [Array<String>]
|
466
|
+
attr_accessor :subjects
|
467
|
+
|
468
|
+
def initialize(**args)
|
469
|
+
update!(**args)
|
470
|
+
end
|
471
|
+
|
472
|
+
# Update properties of this object
|
473
|
+
def update!(**args)
|
474
|
+
@constraint_type = args[:constraint_type] if args.key?(:constraint_type)
|
475
|
+
@description = args[:description] if args.key?(:description)
|
476
|
+
@documentation_url = args[:documentation_url] if args.key?(:documentation_url)
|
477
|
+
@incompatibility_type = args[:incompatibility_type] if args.key?(:incompatibility_type)
|
478
|
+
@last_observation = args[:last_observation] if args.key?(:last_observation)
|
479
|
+
@subjects = args[:subjects] if args.key?(:subjects)
|
480
|
+
end
|
481
|
+
end
|
482
|
+
|
483
|
+
# AutopilotConfig contains configuration of autopilot feature for this nodepool.
|
484
|
+
class AutopilotConfig
|
485
|
+
include Google::Apis::Core::Hashable
|
486
|
+
|
487
|
+
# Denotes that nodes belonging to this node pool are Autopilot nodes.
|
488
|
+
# Corresponds to the JSON property `enabled`
|
489
|
+
# @return [Boolean]
|
490
|
+
attr_accessor :enabled
|
491
|
+
alias_method :enabled?, :enabled
|
492
|
+
|
233
493
|
def initialize(**args)
|
234
494
|
update!(**args)
|
235
495
|
end
|
@@ -266,11 +526,18 @@ module Google
|
|
266
526
|
# @return [String]
|
267
527
|
attr_accessor :disk_type
|
268
528
|
|
269
|
-
# The image type to use for NAP created node.
|
529
|
+
# The image type to use for NAP created node. Please see https://cloud.google.
|
530
|
+
# com/kubernetes-engine/docs/concepts/node-images for available image types.
|
270
531
|
# Corresponds to the JSON property `imageType`
|
271
532
|
# @return [String]
|
272
533
|
attr_accessor :image_type
|
273
534
|
|
535
|
+
# DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
|
536
|
+
# Corresponds to the JSON property `insecureKubeletReadonlyPortEnabled`
|
537
|
+
# @return [Boolean]
|
538
|
+
attr_accessor :insecure_kubelet_readonly_port_enabled
|
539
|
+
alias_method :insecure_kubelet_readonly_port_enabled?, :insecure_kubelet_readonly_port_enabled
|
540
|
+
|
274
541
|
# NodeManagement defines the set of node management services turned on for the
|
275
542
|
# node pool.
|
276
543
|
# Corresponds to the JSON property `management`
|
@@ -283,7 +550,7 @@ module Google
|
|
283
550
|
# Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how
|
284
551
|
# to specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
285
552
|
# specify-min-cpu-platform). This field is deprecated, min_cpu_platform should
|
286
|
-
# be specified using
|
553
|
+
# be specified using `cloud.google.com/requested-min-cpu-platform` label
|
287
554
|
# selector on the pod. To unset the min cpu platform field pass "automatic" as
|
288
555
|
# field value.
|
289
556
|
# Corresponds to the JSON property `minCpuPlatform`
|
@@ -350,6 +617,7 @@ module Google
|
|
350
617
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
351
618
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
352
619
|
@image_type = args[:image_type] if args.key?(:image_type)
|
620
|
+
@insecure_kubelet_readonly_port_enabled = args[:insecure_kubelet_readonly_port_enabled] if args.key?(:insecure_kubelet_readonly_port_enabled)
|
353
621
|
@management = args[:management] if args.key?(:management)
|
354
622
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
355
623
|
@oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
|
@@ -359,6 +627,36 @@ module Google
|
|
359
627
|
end
|
360
628
|
end
|
361
629
|
|
630
|
+
# Best effort provisioning.
|
631
|
+
class BestEffortProvisioning
|
632
|
+
include Google::Apis::Core::Hashable
|
633
|
+
|
634
|
+
# When this is enabled, cluster/node pool creations will ignore non-fatal errors
|
635
|
+
# like stockout to best provision as many nodes as possible right now and
|
636
|
+
# eventually bring up all target number of nodes
|
637
|
+
# Corresponds to the JSON property `enabled`
|
638
|
+
# @return [Boolean]
|
639
|
+
attr_accessor :enabled
|
640
|
+
alias_method :enabled?, :enabled
|
641
|
+
|
642
|
+
# Minimum number of nodes to be provisioned to be considered as succeeded, and
|
643
|
+
# the rest of nodes will be provisioned gradually and eventually when stockout
|
644
|
+
# issue has been resolved.
|
645
|
+
# Corresponds to the JSON property `minProvisionNodes`
|
646
|
+
# @return [Fixnum]
|
647
|
+
attr_accessor :min_provision_nodes
|
648
|
+
|
649
|
+
def initialize(**args)
|
650
|
+
update!(**args)
|
651
|
+
end
|
652
|
+
|
653
|
+
# Update properties of this object
|
654
|
+
def update!(**args)
|
655
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
656
|
+
@min_provision_nodes = args[:min_provision_nodes] if args.key?(:min_provision_nodes)
|
657
|
+
end
|
658
|
+
end
|
659
|
+
|
362
660
|
# Parameters for using BigQuery as the destination of resource usage export.
|
363
661
|
class BigQueryDestination
|
364
662
|
include Google::Apis::Core::Hashable
|
@@ -522,6 +820,59 @@ module Google
|
|
522
820
|
end
|
523
821
|
end
|
524
822
|
|
823
|
+
# CertificateAuthorityDomainConfig configures one or more fully qualified domain
|
824
|
+
# names (FQDN) to a specific certificate.
|
825
|
+
class CertificateAuthorityDomainConfig
|
826
|
+
include Google::Apis::Core::Hashable
|
827
|
+
|
828
|
+
# List of fully qualified domain names (FQDN). Specifying port is supported.
|
829
|
+
# Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000
|
830
|
+
# Corresponds to the JSON property `fqdns`
|
831
|
+
# @return [Array<String>]
|
832
|
+
attr_accessor :fqdns
|
833
|
+
|
834
|
+
# GCPSecretManagerCertificateConfig configures a secret from [Google Secret
|
835
|
+
# Manager](https://cloud.google.com/secret-manager).
|
836
|
+
# Corresponds to the JSON property `gcpSecretManagerCertificateConfig`
|
837
|
+
# @return [Google::Apis::ContainerV1::GcpSecretManagerCertificateConfig]
|
838
|
+
attr_accessor :gcp_secret_manager_certificate_config
|
839
|
+
|
840
|
+
def initialize(**args)
|
841
|
+
update!(**args)
|
842
|
+
end
|
843
|
+
|
844
|
+
# Update properties of this object
|
845
|
+
def update!(**args)
|
846
|
+
@fqdns = args[:fqdns] if args.key?(:fqdns)
|
847
|
+
@gcp_secret_manager_certificate_config = args[:gcp_secret_manager_certificate_config] if args.key?(:gcp_secret_manager_certificate_config)
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
851
|
+
# CheckAutopilotCompatibilityResponse has a list of compatibility issues.
|
852
|
+
class CheckAutopilotCompatibilityResponse
|
853
|
+
include Google::Apis::Core::Hashable
|
854
|
+
|
855
|
+
# The list of issues for the given operation.
|
856
|
+
# Corresponds to the JSON property `issues`
|
857
|
+
# @return [Array<Google::Apis::ContainerV1::AutopilotCompatibilityIssue>]
|
858
|
+
attr_accessor :issues
|
859
|
+
|
860
|
+
# The summary of the autopilot compatibility response.
|
861
|
+
# Corresponds to the JSON property `summary`
|
862
|
+
# @return [String]
|
863
|
+
attr_accessor :summary
|
864
|
+
|
865
|
+
def initialize(**args)
|
866
|
+
update!(**args)
|
867
|
+
end
|
868
|
+
|
869
|
+
# Update properties of this object
|
870
|
+
def update!(**args)
|
871
|
+
@issues = args[:issues] if args.key?(:issues)
|
872
|
+
@summary = args[:summary] if args.key?(:summary)
|
873
|
+
end
|
874
|
+
end
|
875
|
+
|
525
876
|
# CidrBlock contains an optional name and one CIDR block.
|
526
877
|
class CidrBlock
|
527
878
|
include Google::Apis::Core::Hashable
|
@@ -633,6 +984,12 @@ module Google
|
|
633
984
|
# @return [String]
|
634
985
|
attr_accessor :cluster_ipv4_cidr
|
635
986
|
|
987
|
+
# CompliancePostureConfig defines the settings needed to enable/disable features
|
988
|
+
# for the Compliance Posture.
|
989
|
+
# Corresponds to the JSON property `compliancePostureConfig`
|
990
|
+
# @return [Google::Apis::ContainerV1::CompliancePostureConfig]
|
991
|
+
attr_accessor :compliance_posture_config
|
992
|
+
|
636
993
|
# Which conditions caused the current cluster state.
|
637
994
|
# Corresponds to the JSON property `conditions`
|
638
995
|
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
@@ -644,29 +1001,34 @@ module Google
|
|
644
1001
|
# @return [Google::Apis::ContainerV1::ConfidentialNodes]
|
645
1002
|
attr_accessor :confidential_nodes
|
646
1003
|
|
1004
|
+
# Configuration for all of the cluster's control plane endpoints.
|
1005
|
+
# Corresponds to the JSON property `controlPlaneEndpointsConfig`
|
1006
|
+
# @return [Google::Apis::ContainerV1::ControlPlaneEndpointsConfig]
|
1007
|
+
attr_accessor :control_plane_endpoints_config
|
1008
|
+
|
647
1009
|
# Configuration for fine-grained cost management feature.
|
648
1010
|
# Corresponds to the JSON property `costManagementConfig`
|
649
1011
|
# @return [Google::Apis::ContainerV1::CostManagementConfig]
|
650
1012
|
attr_accessor :cost_management_config
|
651
1013
|
|
652
|
-
#
|
1014
|
+
# Output only. The time the cluster was created, in [RFC3339](https://www.ietf.
|
653
1015
|
# org/rfc/rfc3339.txt) text format.
|
654
1016
|
# Corresponds to the JSON property `createTime`
|
655
1017
|
# @return [String]
|
656
1018
|
attr_accessor :create_time
|
657
1019
|
|
658
|
-
#
|
1020
|
+
# Output only. The current software version of the master endpoint.
|
659
1021
|
# Corresponds to the JSON property `currentMasterVersion`
|
660
1022
|
# @return [String]
|
661
1023
|
attr_accessor :current_master_version
|
662
1024
|
|
663
|
-
#
|
1025
|
+
# Output only. The number of nodes currently in the cluster. Deprecated. Call
|
664
1026
|
# Kubernetes API directly to retrieve node information.
|
665
1027
|
# Corresponds to the JSON property `currentNodeCount`
|
666
1028
|
# @return [Fixnum]
|
667
1029
|
attr_accessor :current_node_count
|
668
1030
|
|
669
|
-
#
|
1031
|
+
# Output only. Deprecated, use [NodePools.version](https://cloud.google.com/
|
670
1032
|
# kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
|
671
1033
|
# instead. The current version of the node software components. If they are
|
672
1034
|
# currently at multiple versions because they're in the process of being
|
@@ -690,6 +1052,11 @@ module Google
|
|
690
1052
|
# @return [String]
|
691
1053
|
attr_accessor :description
|
692
1054
|
|
1055
|
+
# K8sBetaAPIConfig , configuration for beta APIs
|
1056
|
+
# Corresponds to the JSON property `enableK8sBetaApis`
|
1057
|
+
# @return [Google::Apis::ContainerV1::K8sBetaApiConfig]
|
1058
|
+
attr_accessor :enable_k8s_beta_apis
|
1059
|
+
|
693
1060
|
# Kubernetes alpha features are enabled on this cluster. This includes alpha API
|
694
1061
|
# groups (e.g. v1alpha1) and features that may not be production ready in the
|
695
1062
|
# kubernetes version of the master and nodes. The cluster has no SLA for uptime
|
@@ -700,13 +1067,15 @@ module Google
|
|
700
1067
|
attr_accessor :enable_kubernetes_alpha
|
701
1068
|
alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha
|
702
1069
|
|
703
|
-
# Enable the ability to use Cloud TPUs in this cluster.
|
1070
|
+
# Enable the ability to use Cloud TPUs in this cluster. This field is deprecated
|
1071
|
+
# due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-
|
1072
|
+
# 25.
|
704
1073
|
# Corresponds to the JSON property `enableTpu`
|
705
1074
|
# @return [Boolean]
|
706
1075
|
attr_accessor :enable_tpu
|
707
1076
|
alias_method :enable_tpu?, :enable_tpu
|
708
1077
|
|
709
|
-
#
|
1078
|
+
# Output only. The IP address of this cluster's master endpoint. The endpoint
|
710
1079
|
# can be accessed from the internet at `https://username:password@endpoint/`.
|
711
1080
|
# See the `masterAuth` property of this resource for username and password
|
712
1081
|
# information.
|
@@ -714,6 +1083,11 @@ module Google
|
|
714
1083
|
# @return [String]
|
715
1084
|
attr_accessor :endpoint
|
716
1085
|
|
1086
|
+
# EnterpriseConfig is the cluster enterprise configuration.
|
1087
|
+
# Corresponds to the JSON property `enterpriseConfig`
|
1088
|
+
# @return [Google::Apis::ContainerV1::EnterpriseConfig]
|
1089
|
+
attr_accessor :enterprise_config
|
1090
|
+
|
717
1091
|
# This checksum is computed by the server based on the value of cluster fields,
|
718
1092
|
# and may be sent on update requests to ensure the client has an up-to-date
|
719
1093
|
# value before proceeding.
|
@@ -721,12 +1095,17 @@ module Google
|
|
721
1095
|
# @return [String]
|
722
1096
|
attr_accessor :etag
|
723
1097
|
|
724
|
-
#
|
1098
|
+
# Output only. The time the cluster will be automatically deleted in [RFC3339](
|
725
1099
|
# https://www.ietf.org/rfc/rfc3339.txt) text format.
|
726
1100
|
# Corresponds to the JSON property `expireTime`
|
727
1101
|
# @return [String]
|
728
1102
|
attr_accessor :expire_time
|
729
1103
|
|
1104
|
+
# Fleet is the fleet configuration for the cluster.
|
1105
|
+
# Corresponds to the JSON property `fleet`
|
1106
|
+
# @return [Google::Apis::ContainerV1::Fleet]
|
1107
|
+
attr_accessor :fleet
|
1108
|
+
|
730
1109
|
# Output only. Unique id for the cluster.
|
731
1110
|
# Corresponds to the JSON property `id`
|
732
1111
|
# @return [String]
|
@@ -763,7 +1142,7 @@ module Google
|
|
763
1142
|
# @return [Fixnum]
|
764
1143
|
attr_accessor :initial_node_count
|
765
1144
|
|
766
|
-
# Deprecated. Use node_pools.instance_group_urls.
|
1145
|
+
# Output only. Deprecated. Use node_pools.instance_group_urls.
|
767
1146
|
# Corresponds to the JSON property `instanceGroupUrls`
|
768
1147
|
# @return [Array<String>]
|
769
1148
|
attr_accessor :instance_group_urls
|
@@ -783,10 +1162,10 @@ module Google
|
|
783
1162
|
# @return [Google::Apis::ContainerV1::LegacyAbac]
|
784
1163
|
attr_accessor :legacy_abac
|
785
1164
|
|
786
|
-
#
|
787
|
-
#
|
788
|
-
#
|
789
|
-
#
|
1165
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
1166
|
+
# com/compute/docs/regions-zones/regions-zones#available) or [region](https://
|
1167
|
+
# cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
|
1168
|
+
# the cluster resides.
|
790
1169
|
# Corresponds to the JSON property `location`
|
791
1170
|
# @return [String]
|
792
1171
|
attr_accessor :location
|
@@ -850,7 +1229,7 @@ module Google
|
|
850
1229
|
attr_accessor :monitoring_config
|
851
1230
|
|
852
1231
|
# The monitoring service the cluster should use to write metrics. Currently
|
853
|
-
# available options: *
|
1232
|
+
# available options: * `monitoring.googleapis.com/kubernetes` - The Cloud
|
854
1233
|
# Monitoring service with a Kubernetes-native resource model * `monitoring.
|
855
1234
|
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
856
1235
|
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
@@ -893,9 +1272,9 @@ module Google
|
|
893
1272
|
# @return [Google::Apis::ContainerV1::NodeConfig]
|
894
1273
|
attr_accessor :node_config
|
895
1274
|
|
896
|
-
#
|
897
|
-
#
|
898
|
-
#
|
1275
|
+
# Output only. The size of the address space on each node for hosting containers.
|
1276
|
+
# This is provisioned from within the `container_ipv4_cidr` range. This field
|
1277
|
+
# will only be set when cluster is in route-based network mode.
|
899
1278
|
# Corresponds to the JSON property `nodeIpv4CidrSize`
|
900
1279
|
# @return [Fixnum]
|
901
1280
|
attr_accessor :node_ipv4_cidr_size
|
@@ -922,11 +1301,30 @@ module Google
|
|
922
1301
|
# @return [Google::Apis::ContainerV1::NotificationConfig]
|
923
1302
|
attr_accessor :notification_config
|
924
1303
|
|
1304
|
+
# ParentProductConfig is the configuration of the parent product of the cluster.
|
1305
|
+
# This field is used by Google internal products that are built on top of a GKE
|
1306
|
+
# cluster and take the ownership of the cluster.
|
1307
|
+
# Corresponds to the JSON property `parentProductConfig`
|
1308
|
+
# @return [Google::Apis::ContainerV1::ParentProductConfig]
|
1309
|
+
attr_accessor :parent_product_config
|
1310
|
+
|
1311
|
+
# PodAutoscaling is used for configuration of parameters for workload
|
1312
|
+
# autoscaling.
|
1313
|
+
# Corresponds to the JSON property `podAutoscaling`
|
1314
|
+
# @return [Google::Apis::ContainerV1::PodAutoscaling]
|
1315
|
+
attr_accessor :pod_autoscaling
|
1316
|
+
|
925
1317
|
# Configuration options for private clusters.
|
926
1318
|
# Corresponds to the JSON property `privateClusterConfig`
|
927
1319
|
# @return [Google::Apis::ContainerV1::PrivateClusterConfig]
|
928
1320
|
attr_accessor :private_cluster_config
|
929
1321
|
|
1322
|
+
# RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings
|
1323
|
+
# that can be created.
|
1324
|
+
# Corresponds to the JSON property `rbacBindingConfig`
|
1325
|
+
# @return [Google::Apis::ContainerV1::RbacBindingConfig]
|
1326
|
+
attr_accessor :rbac_binding_config
|
1327
|
+
|
930
1328
|
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
931
1329
|
# Release channels are arranged in order of risk. When a cluster is subscribed
|
932
1330
|
# to a release channel, Google maintains both the master version and the node
|
@@ -946,12 +1344,35 @@ module Google
|
|
946
1344
|
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
|
947
1345
|
attr_accessor :resource_usage_export_config
|
948
1346
|
|
949
|
-
#
|
1347
|
+
# Output only. Reserved for future use.
|
1348
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
1349
|
+
# @return [Boolean]
|
1350
|
+
attr_accessor :satisfies_pzi
|
1351
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
1352
|
+
|
1353
|
+
# Output only. Reserved for future use.
|
1354
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
1355
|
+
# @return [Boolean]
|
1356
|
+
attr_accessor :satisfies_pzs
|
1357
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
1358
|
+
|
1359
|
+
# SecretManagerConfig is config for secret manager enablement.
|
1360
|
+
# Corresponds to the JSON property `secretManagerConfig`
|
1361
|
+
# @return [Google::Apis::ContainerV1::SecretManagerConfig]
|
1362
|
+
attr_accessor :secret_manager_config
|
1363
|
+
|
1364
|
+
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
1365
|
+
# the Security Posture API.
|
1366
|
+
# Corresponds to the JSON property `securityPostureConfig`
|
1367
|
+
# @return [Google::Apis::ContainerV1::SecurityPostureConfig]
|
1368
|
+
attr_accessor :security_posture_config
|
1369
|
+
|
1370
|
+
# Output only. Server-defined URL for the resource.
|
950
1371
|
# Corresponds to the JSON property `selfLink`
|
951
1372
|
# @return [String]
|
952
1373
|
attr_accessor :self_link
|
953
1374
|
|
954
|
-
#
|
1375
|
+
# Output only. The IP address range of the Kubernetes services in this cluster,
|
955
1376
|
# in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
|
956
1377
|
# notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
|
957
1378
|
# /16` from the container CIDR.
|
@@ -964,12 +1385,12 @@ module Google
|
|
964
1385
|
# @return [Google::Apis::ContainerV1::ShieldedNodes]
|
965
1386
|
attr_accessor :shielded_nodes
|
966
1387
|
|
967
|
-
#
|
1388
|
+
# Output only. The current status of this cluster.
|
968
1389
|
# Corresponds to the JSON property `status`
|
969
1390
|
# @return [String]
|
970
1391
|
attr_accessor :status
|
971
1392
|
|
972
|
-
#
|
1393
|
+
# Output only. Deprecated. Use conditions instead. Additional information about
|
973
1394
|
# the current status of this cluster, if available.
|
974
1395
|
# Corresponds to the JSON property `statusMessage`
|
975
1396
|
# @return [String]
|
@@ -981,13 +1402,20 @@ module Google
|
|
981
1402
|
# @return [String]
|
982
1403
|
attr_accessor :subnetwork
|
983
1404
|
|
984
|
-
#
|
985
|
-
#
|
986
|
-
#
|
1405
|
+
# Output only. The IP address range of the Cloud TPUs in this cluster, in [CIDR](
|
1406
|
+
# http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.
|
1407
|
+
# 2.3.4/29`). This field is deprecated due to the deprecation of 2VM TPU. The
|
1408
|
+
# end of life date for 2VM TPU is 2025-04-25.
|
987
1409
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
988
1410
|
# @return [String]
|
989
1411
|
attr_accessor :tpu_ipv4_cidr_block
|
990
1412
|
|
1413
|
+
# UserManagedKeysConfig holds the resource address to Keys which are used for
|
1414
|
+
# signing certs and token that are used for communication within cluster.
|
1415
|
+
# Corresponds to the JSON property `userManagedKeysConfig`
|
1416
|
+
# @return [Google::Apis::ContainerV1::UserManagedKeysConfig]
|
1417
|
+
attr_accessor :user_managed_keys_config
|
1418
|
+
|
991
1419
|
# VerticalPodAutoscaling contains global, per-cluster information required by
|
992
1420
|
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
993
1421
|
# controlled by it.
|
@@ -1000,9 +1428,9 @@ module Google
|
|
1000
1428
|
# @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
|
1001
1429
|
attr_accessor :workload_identity_config
|
1002
1430
|
|
1003
|
-
#
|
1004
|
-
#
|
1005
|
-
#
|
1431
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
1432
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field is
|
1433
|
+
# deprecated, use location instead.
|
1006
1434
|
# Corresponds to the JSON property `zone`
|
1007
1435
|
# @return [String]
|
1008
1436
|
attr_accessor :zone
|
@@ -1019,8 +1447,10 @@ module Google
|
|
1019
1447
|
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
|
1020
1448
|
@binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
|
1021
1449
|
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
1450
|
+
@compliance_posture_config = args[:compliance_posture_config] if args.key?(:compliance_posture_config)
|
1022
1451
|
@conditions = args[:conditions] if args.key?(:conditions)
|
1023
1452
|
@confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
|
1453
|
+
@control_plane_endpoints_config = args[:control_plane_endpoints_config] if args.key?(:control_plane_endpoints_config)
|
1024
1454
|
@cost_management_config = args[:cost_management_config] if args.key?(:cost_management_config)
|
1025
1455
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1026
1456
|
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
|
@@ -1029,11 +1459,14 @@ module Google
|
|
1029
1459
|
@database_encryption = args[:database_encryption] if args.key?(:database_encryption)
|
1030
1460
|
@default_max_pods_constraint = args[:default_max_pods_constraint] if args.key?(:default_max_pods_constraint)
|
1031
1461
|
@description = args[:description] if args.key?(:description)
|
1462
|
+
@enable_k8s_beta_apis = args[:enable_k8s_beta_apis] if args.key?(:enable_k8s_beta_apis)
|
1032
1463
|
@enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha)
|
1033
1464
|
@enable_tpu = args[:enable_tpu] if args.key?(:enable_tpu)
|
1034
1465
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
1466
|
+
@enterprise_config = args[:enterprise_config] if args.key?(:enterprise_config)
|
1035
1467
|
@etag = args[:etag] if args.key?(:etag)
|
1036
1468
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
1469
|
+
@fleet = args[:fleet] if args.key?(:fleet)
|
1037
1470
|
@id = args[:id] if args.key?(:id)
|
1038
1471
|
@identity_service_config = args[:identity_service_config] if args.key?(:identity_service_config)
|
1039
1472
|
@initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
|
@@ -1062,10 +1495,17 @@ module Google
|
|
1062
1495
|
@node_pool_defaults = args[:node_pool_defaults] if args.key?(:node_pool_defaults)
|
1063
1496
|
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
1064
1497
|
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
1498
|
+
@parent_product_config = args[:parent_product_config] if args.key?(:parent_product_config)
|
1499
|
+
@pod_autoscaling = args[:pod_autoscaling] if args.key?(:pod_autoscaling)
|
1065
1500
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
1501
|
+
@rbac_binding_config = args[:rbac_binding_config] if args.key?(:rbac_binding_config)
|
1066
1502
|
@release_channel = args[:release_channel] if args.key?(:release_channel)
|
1067
1503
|
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
1068
1504
|
@resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
|
1505
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
1506
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
1507
|
+
@secret_manager_config = args[:secret_manager_config] if args.key?(:secret_manager_config)
|
1508
|
+
@security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
|
1069
1509
|
@self_link = args[:self_link] if args.key?(:self_link)
|
1070
1510
|
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
|
1071
1511
|
@shielded_nodes = args[:shielded_nodes] if args.key?(:shielded_nodes)
|
@@ -1073,6 +1513,7 @@ module Google
|
|
1073
1513
|
@status_message = args[:status_message] if args.key?(:status_message)
|
1074
1514
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
1075
1515
|
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
1516
|
+
@user_managed_keys_config = args[:user_managed_keys_config] if args.key?(:user_managed_keys_config)
|
1076
1517
|
@vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling)
|
1077
1518
|
@workload_identity_config = args[:workload_identity_config] if args.key?(:workload_identity_config)
|
1078
1519
|
@zone = args[:zone] if args.key?(:zone)
|
@@ -1128,11 +1569,36 @@ module Google
|
|
1128
1569
|
end
|
1129
1570
|
end
|
1130
1571
|
|
1572
|
+
# Configuration of network bandwidth tiers
|
1573
|
+
class ClusterNetworkPerformanceConfig
|
1574
|
+
include Google::Apis::Core::Hashable
|
1575
|
+
|
1576
|
+
# Specifies the total network bandwidth tier for NodePools in the cluster.
|
1577
|
+
# Corresponds to the JSON property `totalEgressBandwidthTier`
|
1578
|
+
# @return [String]
|
1579
|
+
attr_accessor :total_egress_bandwidth_tier
|
1580
|
+
|
1581
|
+
def initialize(**args)
|
1582
|
+
update!(**args)
|
1583
|
+
end
|
1584
|
+
|
1585
|
+
# Update properties of this object
|
1586
|
+
def update!(**args)
|
1587
|
+
@total_egress_bandwidth_tier = args[:total_egress_bandwidth_tier] if args.key?(:total_egress_bandwidth_tier)
|
1588
|
+
end
|
1589
|
+
end
|
1590
|
+
|
1131
1591
|
# ClusterUpdate describes an update to the cluster. Exactly one update can be
|
1132
1592
|
# applied to a cluster with each request, so at most one field can be provided.
|
1133
1593
|
class ClusterUpdate
|
1134
1594
|
include Google::Apis::Core::Hashable
|
1135
1595
|
|
1596
|
+
# AdditionalPodRangesConfig is the configuration for additional pod secondary
|
1597
|
+
# ranges supporting the ClusterUpdate message.
|
1598
|
+
# Corresponds to the JSON property `additionalPodRangesConfig`
|
1599
|
+
# @return [Google::Apis::ContainerV1::AdditionalPodRangesConfig]
|
1600
|
+
attr_accessor :additional_pod_ranges_config
|
1601
|
+
|
1136
1602
|
# Configuration for the addons that can be automatically spun up in the cluster,
|
1137
1603
|
# enabling additional functionality.
|
1138
1604
|
# Corresponds to the JSON property `desiredAddonsConfig`
|
@@ -1144,6 +1610,11 @@ module Google
|
|
1144
1610
|
# @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
|
1145
1611
|
attr_accessor :desired_authenticator_groups_config
|
1146
1612
|
|
1613
|
+
# WorkloadPolicyConfig is the configuration related to GCW workload policy
|
1614
|
+
# Corresponds to the JSON property `desiredAutopilotWorkloadPolicyConfig`
|
1615
|
+
# @return [Google::Apis::ContainerV1::WorkloadPolicyConfig]
|
1616
|
+
attr_accessor :desired_autopilot_workload_policy_config
|
1617
|
+
|
1147
1618
|
# Configuration for Binary Authorization.
|
1148
1619
|
# Corresponds to the JSON property `desiredBinaryAuthorization`
|
1149
1620
|
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
@@ -1156,6 +1627,22 @@ module Google
|
|
1156
1627
|
# @return [Google::Apis::ContainerV1::ClusterAutoscaling]
|
1157
1628
|
attr_accessor :desired_cluster_autoscaling
|
1158
1629
|
|
1630
|
+
# CompliancePostureConfig defines the settings needed to enable/disable features
|
1631
|
+
# for the Compliance Posture.
|
1632
|
+
# Corresponds to the JSON property `desiredCompliancePostureConfig`
|
1633
|
+
# @return [Google::Apis::ContainerV1::CompliancePostureConfig]
|
1634
|
+
attr_accessor :desired_compliance_posture_config
|
1635
|
+
|
1636
|
+
# ContainerdConfig contains configuration to customize containerd.
|
1637
|
+
# Corresponds to the JSON property `desiredContainerdConfig`
|
1638
|
+
# @return [Google::Apis::ContainerV1::ContainerdConfig]
|
1639
|
+
attr_accessor :desired_containerd_config
|
1640
|
+
|
1641
|
+
# Configuration for all of the cluster's control plane endpoints.
|
1642
|
+
# Corresponds to the JSON property `desiredControlPlaneEndpointsConfig`
|
1643
|
+
# @return [Google::Apis::ContainerV1::ControlPlaneEndpointsConfig]
|
1644
|
+
attr_accessor :desired_control_plane_endpoints_config
|
1645
|
+
|
1159
1646
|
# Configuration for fine-grained cost management feature.
|
1160
1647
|
# Corresponds to the JSON property `desiredCostManagementConfig`
|
1161
1648
|
# @return [Google::Apis::ContainerV1::CostManagementConfig]
|
@@ -1171,23 +1658,68 @@ module Google
|
|
1171
1658
|
# @return [String]
|
1172
1659
|
attr_accessor :desired_datapath_provider
|
1173
1660
|
|
1661
|
+
# Override the default setting of whether future created nodes have private IP
|
1662
|
+
# addresses only, namely NetworkConfig.default_enable_private_nodes
|
1663
|
+
# Corresponds to the JSON property `desiredDefaultEnablePrivateNodes`
|
1664
|
+
# @return [Boolean]
|
1665
|
+
attr_accessor :desired_default_enable_private_nodes
|
1666
|
+
alias_method :desired_default_enable_private_nodes?, :desired_default_enable_private_nodes
|
1667
|
+
|
1174
1668
|
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
1175
1669
|
# disabled on the cluster.
|
1176
1670
|
# Corresponds to the JSON property `desiredDefaultSnatStatus`
|
1177
1671
|
# @return [Google::Apis::ContainerV1::DefaultSnatStatus]
|
1178
1672
|
attr_accessor :desired_default_snat_status
|
1179
1673
|
|
1674
|
+
# Enable/Disable L4 LB VPC firewall reconciliation for the cluster.
|
1675
|
+
# Corresponds to the JSON property `desiredDisableL4LbFirewallReconciliation`
|
1676
|
+
# @return [Boolean]
|
1677
|
+
attr_accessor :desired_disable_l4_lb_firewall_reconciliation
|
1678
|
+
alias_method :desired_disable_l4_lb_firewall_reconciliation?, :desired_disable_l4_lb_firewall_reconciliation
|
1679
|
+
|
1180
1680
|
# DNSConfig contains the desired set of options for configuring clusterDNS.
|
1181
1681
|
# Corresponds to the JSON property `desiredDnsConfig`
|
1182
1682
|
# @return [Google::Apis::ContainerV1::DnsConfig]
|
1183
1683
|
attr_accessor :desired_dns_config
|
1184
1684
|
|
1185
|
-
# Enable/Disable
|
1685
|
+
# Enable/Disable Cilium Clusterwide Network Policy for the cluster.
|
1686
|
+
# Corresponds to the JSON property `desiredEnableCiliumClusterwideNetworkPolicy`
|
1687
|
+
# @return [Boolean]
|
1688
|
+
attr_accessor :desired_enable_cilium_clusterwide_network_policy
|
1689
|
+
alias_method :desired_enable_cilium_clusterwide_network_policy?, :desired_enable_cilium_clusterwide_network_policy
|
1690
|
+
|
1691
|
+
# Enable/Disable FQDN Network Policy for the cluster.
|
1692
|
+
# Corresponds to the JSON property `desiredEnableFqdnNetworkPolicy`
|
1693
|
+
# @return [Boolean]
|
1694
|
+
attr_accessor :desired_enable_fqdn_network_policy
|
1695
|
+
alias_method :desired_enable_fqdn_network_policy?, :desired_enable_fqdn_network_policy
|
1696
|
+
|
1697
|
+
# Enable/Disable Multi-Networking for the cluster
|
1698
|
+
# Corresponds to the JSON property `desiredEnableMultiNetworking`
|
1699
|
+
# @return [Boolean]
|
1700
|
+
attr_accessor :desired_enable_multi_networking
|
1701
|
+
alias_method :desired_enable_multi_networking?, :desired_enable_multi_networking
|
1702
|
+
|
1703
|
+
# Enable/Disable private endpoint for the cluster's master. Deprecated: Use
|
1704
|
+
# desired_control_plane_endpoints_config.ip_endpoints_config.
|
1705
|
+
# enable_public_endpoint instead. Note that the value of enable_public_endpoint
|
1706
|
+
# is reversed: if enable_private_endpoint is false, then enable_public_endpoint
|
1707
|
+
# will be true.
|
1186
1708
|
# Corresponds to the JSON property `desiredEnablePrivateEndpoint`
|
1187
1709
|
# @return [Boolean]
|
1188
1710
|
attr_accessor :desired_enable_private_endpoint
|
1189
1711
|
alias_method :desired_enable_private_endpoint?, :desired_enable_private_endpoint
|
1190
1712
|
|
1713
|
+
# DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
|
1714
|
+
# Corresponds to the JSON property `desiredEnterpriseConfig`
|
1715
|
+
# @return [Google::Apis::ContainerV1::DesiredEnterpriseConfig]
|
1716
|
+
attr_accessor :desired_enterprise_config
|
1717
|
+
|
1718
|
+
# Fleet is the fleet configuration for the cluster.
|
1719
|
+
# Corresponds to the JSON property `desiredFleet`
|
1720
|
+
# @return [Google::Apis::ContainerV1::Fleet]
|
1721
|
+
attr_accessor :desired_fleet
|
1722
|
+
|
1191
1723
|
# GatewayAPIConfig contains the desired config of Gateway API on this cluster.
|
1192
1724
|
# Corresponds to the JSON property `desiredGatewayApiConfig`
|
1193
1725
|
# @return [Google::Apis::ContainerV1::GatewayApiConfig]
|
@@ -1211,12 +1743,22 @@ module Google
|
|
1211
1743
|
# @return [String]
|
1212
1744
|
attr_accessor :desired_image_type
|
1213
1745
|
|
1746
|
+
# Specify the details of in-transit encryption.
|
1747
|
+
# Corresponds to the JSON property `desiredInTransitEncryptionConfig`
|
1748
|
+
# @return [String]
|
1749
|
+
attr_accessor :desired_in_transit_encryption_config
|
1750
|
+
|
1214
1751
|
# IntraNodeVisibilityConfig contains the desired config of the intra-node
|
1215
1752
|
# visibility on this cluster.
|
1216
1753
|
# Corresponds to the JSON property `desiredIntraNodeVisibilityConfig`
|
1217
1754
|
# @return [Google::Apis::ContainerV1::IntraNodeVisibilityConfig]
|
1218
1755
|
attr_accessor :desired_intra_node_visibility_config
|
1219
1756
|
|
1757
|
+
# K8sBetaAPIConfig , configuration for beta APIs
|
1758
|
+
# Corresponds to the JSON property `desiredK8sBetaApis`
|
1759
|
+
# @return [Google::Apis::ContainerV1::K8sBetaApiConfig]
|
1760
|
+
attr_accessor :desired_k8s_beta_apis
|
1761
|
+
|
1220
1762
|
# ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
|
1221
1763
|
# subsetting on this cluster.
|
1222
1764
|
# Corresponds to the JSON property `desiredL4ilbSubsettingConfig`
|
@@ -1278,7 +1820,7 @@ module Google
|
|
1278
1820
|
attr_accessor :desired_monitoring_config
|
1279
1821
|
|
1280
1822
|
# The monitoring service the cluster should use to write metrics. Currently
|
1281
|
-
# available options: *
|
1823
|
+
# available options: * `monitoring.googleapis.com/kubernetes` - The Cloud
|
1282
1824
|
# Monitoring service with a Kubernetes-native resource model * `monitoring.
|
1283
1825
|
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
1284
1826
|
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
@@ -1288,12 +1830,41 @@ module Google
|
|
1288
1830
|
# @return [String]
|
1289
1831
|
attr_accessor :desired_monitoring_service
|
1290
1832
|
|
1833
|
+
# Configuration of network bandwidth tiers
|
1834
|
+
# Corresponds to the JSON property `desiredNetworkPerformanceConfig`
|
1835
|
+
# @return [Google::Apis::ContainerV1::ClusterNetworkPerformanceConfig]
|
1836
|
+
attr_accessor :desired_network_performance_config
|
1837
|
+
|
1838
|
+
# Node kubelet configs.
|
1839
|
+
# Corresponds to the JSON property `desiredNodeKubeletConfig`
|
1840
|
+
# @return [Google::Apis::ContainerV1::NodeKubeletConfig]
|
1841
|
+
attr_accessor :desired_node_kubelet_config
|
1842
|
+
|
1843
|
+
# Node kubelet configs.
|
1844
|
+
# Corresponds to the JSON property `desiredNodePoolAutoConfigKubeletConfig`
|
1845
|
+
# @return [Google::Apis::ContainerV1::NodeKubeletConfig]
|
1846
|
+
attr_accessor :desired_node_pool_auto_config_kubelet_config
|
1847
|
+
|
1848
|
+
# Parameters that can be configured on Linux nodes.
|
1849
|
+
# Corresponds to the JSON property `desiredNodePoolAutoConfigLinuxNodeConfig`
|
1850
|
+
# @return [Google::Apis::ContainerV1::LinuxNodeConfig]
|
1851
|
+
attr_accessor :desired_node_pool_auto_config_linux_node_config
|
1852
|
+
|
1291
1853
|
# Collection of Compute Engine network tags that can be applied to a node's
|
1292
1854
|
# underlying VM instance.
|
1293
1855
|
# Corresponds to the JSON property `desiredNodePoolAutoConfigNetworkTags`
|
1294
1856
|
# @return [Google::Apis::ContainerV1::NetworkTags]
|
1295
1857
|
attr_accessor :desired_node_pool_auto_config_network_tags
|
1296
1858
|
|
1859
|
+
# A map of resource manager tag keys and values to be attached to the nodes for
|
1860
|
+
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
1861
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
1862
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
1863
|
+
# specified. Existing tags will be replaced with new values.
|
1864
|
+
# Corresponds to the JSON property `desiredNodePoolAutoConfigResourceManagerTags`
|
1865
|
+
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
|
1866
|
+
attr_accessor :desired_node_pool_auto_config_resource_manager_tags
|
1867
|
+
|
1297
1868
|
# NodePoolAutoscaling contains information required by cluster autoscaler to
|
1298
1869
|
# adjust the size of the node pool to the current cluster usage.
|
1299
1870
|
# Corresponds to the JSON property `desiredNodePoolAutoscaling`
|
@@ -1328,6 +1899,19 @@ module Google
|
|
1328
1899
|
# @return [Google::Apis::ContainerV1::NotificationConfig]
|
1329
1900
|
attr_accessor :desired_notification_config
|
1330
1901
|
|
1902
|
+
# ParentProductConfig is the configuration of the parent product of the cluster.
|
1903
|
+
# This field is used by Google internal products that are built on top of a GKE
|
1904
|
+
# cluster and take the ownership of the cluster.
|
1905
|
+
# Corresponds to the JSON property `desiredParentProductConfig`
|
1906
|
+
# @return [Google::Apis::ContainerV1::ParentProductConfig]
|
1907
|
+
attr_accessor :desired_parent_product_config
|
1908
|
+
|
1909
|
+
# PodAutoscaling is used for configuration of parameters for workload
|
1910
|
+
# autoscaling.
|
1911
|
+
# Corresponds to the JSON property `desiredPodAutoscaling`
|
1912
|
+
# @return [Google::Apis::ContainerV1::PodAutoscaling]
|
1913
|
+
attr_accessor :desired_pod_autoscaling
|
1914
|
+
|
1331
1915
|
# Configuration options for private clusters.
|
1332
1916
|
# Corresponds to the JSON property `desiredPrivateClusterConfig`
|
1333
1917
|
# @return [Google::Apis::ContainerV1::PrivateClusterConfig]
|
@@ -1338,6 +1922,12 @@ module Google
|
|
1338
1922
|
# @return [String]
|
1339
1923
|
attr_accessor :desired_private_ipv6_google_access
|
1340
1924
|
|
1925
|
+
# RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings
|
1926
|
+
# that can be created.
|
1927
|
+
# Corresponds to the JSON property `desiredRbacBindingConfig`
|
1928
|
+
# @return [Google::Apis::ContainerV1::RbacBindingConfig]
|
1929
|
+
attr_accessor :desired_rbac_binding_config
|
1930
|
+
|
1341
1931
|
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
1342
1932
|
# Release channels are arranged in order of risk. When a cluster is subscribed
|
1343
1933
|
# to a release channel, Google maintains both the master version and the node
|
@@ -1351,6 +1941,17 @@ module Google
|
|
1351
1941
|
# @return [Google::Apis::ContainerV1::ResourceUsageExportConfig]
|
1352
1942
|
attr_accessor :desired_resource_usage_export_config
|
1353
1943
|
|
1944
|
+
# SecretManagerConfig is config for secret manager enablement.
|
1945
|
+
# Corresponds to the JSON property `desiredSecretManagerConfig`
|
1946
|
+
# @return [Google::Apis::ContainerV1::SecretManagerConfig]
|
1947
|
+
attr_accessor :desired_secret_manager_config
|
1948
|
+
|
1949
|
+
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
1950
|
+
# the Security Posture API.
|
1951
|
+
# Corresponds to the JSON property `desiredSecurityPostureConfig`
|
1952
|
+
# @return [Google::Apis::ContainerV1::SecurityPostureConfig]
|
1953
|
+
attr_accessor :desired_security_posture_config
|
1954
|
+
|
1354
1955
|
# Config to block services with externalIPs field.
|
1355
1956
|
# Corresponds to the JSON property `desiredServiceExternalIpsConfig`
|
1356
1957
|
# @return [Google::Apis::ContainerV1::ServiceExternalIPsConfig]
|
@@ -1380,6 +1981,11 @@ module Google
|
|
1380
1981
|
# @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
|
1381
1982
|
attr_accessor :desired_workload_identity_config
|
1382
1983
|
|
1984
|
+
# K8sBetaAPIConfig , configuration for beta APIs
|
1985
|
+
# Corresponds to the JSON property `enableK8sBetaApis`
|
1986
|
+
# @return [Google::Apis::ContainerV1::K8sBetaApiConfig]
|
1987
|
+
attr_accessor :enable_k8s_beta_apis
|
1988
|
+
|
1383
1989
|
# The current etag of the cluster. If an etag is provided and does not match the
|
1384
1990
|
# current etag of the cluster, update will be blocked and an ABORTED error will
|
1385
1991
|
# be returned.
|
@@ -1387,27 +1993,53 @@ module Google
|
|
1387
1993
|
# @return [String]
|
1388
1994
|
attr_accessor :etag
|
1389
1995
|
|
1996
|
+
# AdditionalPodRangesConfig is the configuration for additional pod secondary
|
1997
|
+
# ranges supporting the ClusterUpdate message.
|
1998
|
+
# Corresponds to the JSON property `removedAdditionalPodRangesConfig`
|
1999
|
+
# @return [Google::Apis::ContainerV1::AdditionalPodRangesConfig]
|
2000
|
+
attr_accessor :removed_additional_pod_ranges_config
|
2001
|
+
|
2002
|
+
# UserManagedKeysConfig holds the resource address to Keys which are used for
|
2003
|
+
# signing certs and token that are used for communication within cluster.
|
2004
|
+
# Corresponds to the JSON property `userManagedKeysConfig`
|
2005
|
+
# @return [Google::Apis::ContainerV1::UserManagedKeysConfig]
|
2006
|
+
attr_accessor :user_managed_keys_config
|
2007
|
+
|
1390
2008
|
def initialize(**args)
|
1391
2009
|
update!(**args)
|
1392
2010
|
end
|
1393
2011
|
|
1394
2012
|
# Update properties of this object
|
1395
2013
|
def update!(**args)
|
2014
|
+
@additional_pod_ranges_config = args[:additional_pod_ranges_config] if args.key?(:additional_pod_ranges_config)
|
1396
2015
|
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
|
1397
2016
|
@desired_authenticator_groups_config = args[:desired_authenticator_groups_config] if args.key?(:desired_authenticator_groups_config)
|
2017
|
+
@desired_autopilot_workload_policy_config = args[:desired_autopilot_workload_policy_config] if args.key?(:desired_autopilot_workload_policy_config)
|
1398
2018
|
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
1399
2019
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
2020
|
+
@desired_compliance_posture_config = args[:desired_compliance_posture_config] if args.key?(:desired_compliance_posture_config)
|
2021
|
+
@desired_containerd_config = args[:desired_containerd_config] if args.key?(:desired_containerd_config)
|
2022
|
+
@desired_control_plane_endpoints_config = args[:desired_control_plane_endpoints_config] if args.key?(:desired_control_plane_endpoints_config)
|
1400
2023
|
@desired_cost_management_config = args[:desired_cost_management_config] if args.key?(:desired_cost_management_config)
|
1401
2024
|
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
1402
2025
|
@desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
|
2026
|
+
@desired_default_enable_private_nodes = args[:desired_default_enable_private_nodes] if args.key?(:desired_default_enable_private_nodes)
|
1403
2027
|
@desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
|
2028
|
+
@desired_disable_l4_lb_firewall_reconciliation = args[:desired_disable_l4_lb_firewall_reconciliation] if args.key?(:desired_disable_l4_lb_firewall_reconciliation)
|
1404
2029
|
@desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
|
2030
|
+
@desired_enable_cilium_clusterwide_network_policy = args[:desired_enable_cilium_clusterwide_network_policy] if args.key?(:desired_enable_cilium_clusterwide_network_policy)
|
2031
|
+
@desired_enable_fqdn_network_policy = args[:desired_enable_fqdn_network_policy] if args.key?(:desired_enable_fqdn_network_policy)
|
2032
|
+
@desired_enable_multi_networking = args[:desired_enable_multi_networking] if args.key?(:desired_enable_multi_networking)
|
1405
2033
|
@desired_enable_private_endpoint = args[:desired_enable_private_endpoint] if args.key?(:desired_enable_private_endpoint)
|
2034
|
+
@desired_enterprise_config = args[:desired_enterprise_config] if args.key?(:desired_enterprise_config)
|
2035
|
+
@desired_fleet = args[:desired_fleet] if args.key?(:desired_fleet)
|
1406
2036
|
@desired_gateway_api_config = args[:desired_gateway_api_config] if args.key?(:desired_gateway_api_config)
|
1407
2037
|
@desired_gcfs_config = args[:desired_gcfs_config] if args.key?(:desired_gcfs_config)
|
1408
2038
|
@desired_identity_service_config = args[:desired_identity_service_config] if args.key?(:desired_identity_service_config)
|
1409
2039
|
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
2040
|
+
@desired_in_transit_encryption_config = args[:desired_in_transit_encryption_config] if args.key?(:desired_in_transit_encryption_config)
|
1410
2041
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
2042
|
+
@desired_k8s_beta_apis = args[:desired_k8s_beta_apis] if args.key?(:desired_k8s_beta_apis)
|
1411
2043
|
@desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
|
1412
2044
|
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
|
1413
2045
|
@desired_logging_config = args[:desired_logging_config] if args.key?(:desired_logging_config)
|
@@ -1417,22 +2049,90 @@ module Google
|
|
1417
2049
|
@desired_mesh_certificates = args[:desired_mesh_certificates] if args.key?(:desired_mesh_certificates)
|
1418
2050
|
@desired_monitoring_config = args[:desired_monitoring_config] if args.key?(:desired_monitoring_config)
|
1419
2051
|
@desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
|
2052
|
+
@desired_network_performance_config = args[:desired_network_performance_config] if args.key?(:desired_network_performance_config)
|
2053
|
+
@desired_node_kubelet_config = args[:desired_node_kubelet_config] if args.key?(:desired_node_kubelet_config)
|
2054
|
+
@desired_node_pool_auto_config_kubelet_config = args[:desired_node_pool_auto_config_kubelet_config] if args.key?(:desired_node_pool_auto_config_kubelet_config)
|
2055
|
+
@desired_node_pool_auto_config_linux_node_config = args[:desired_node_pool_auto_config_linux_node_config] if args.key?(:desired_node_pool_auto_config_linux_node_config)
|
1420
2056
|
@desired_node_pool_auto_config_network_tags = args[:desired_node_pool_auto_config_network_tags] if args.key?(:desired_node_pool_auto_config_network_tags)
|
2057
|
+
@desired_node_pool_auto_config_resource_manager_tags = args[:desired_node_pool_auto_config_resource_manager_tags] if args.key?(:desired_node_pool_auto_config_resource_manager_tags)
|
1421
2058
|
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
|
1422
2059
|
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
1423
2060
|
@desired_node_pool_logging_config = args[:desired_node_pool_logging_config] if args.key?(:desired_node_pool_logging_config)
|
1424
2061
|
@desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
|
1425
2062
|
@desired_notification_config = args[:desired_notification_config] if args.key?(:desired_notification_config)
|
2063
|
+
@desired_parent_product_config = args[:desired_parent_product_config] if args.key?(:desired_parent_product_config)
|
2064
|
+
@desired_pod_autoscaling = args[:desired_pod_autoscaling] if args.key?(:desired_pod_autoscaling)
|
1426
2065
|
@desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
|
1427
2066
|
@desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
|
2067
|
+
@desired_rbac_binding_config = args[:desired_rbac_binding_config] if args.key?(:desired_rbac_binding_config)
|
1428
2068
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
1429
2069
|
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
2070
|
+
@desired_secret_manager_config = args[:desired_secret_manager_config] if args.key?(:desired_secret_manager_config)
|
2071
|
+
@desired_security_posture_config = args[:desired_security_posture_config] if args.key?(:desired_security_posture_config)
|
1430
2072
|
@desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
|
1431
2073
|
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
|
1432
2074
|
@desired_stack_type = args[:desired_stack_type] if args.key?(:desired_stack_type)
|
1433
2075
|
@desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
|
1434
2076
|
@desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
|
2077
|
+
@enable_k8s_beta_apis = args[:enable_k8s_beta_apis] if args.key?(:enable_k8s_beta_apis)
|
1435
2078
|
@etag = args[:etag] if args.key?(:etag)
|
2079
|
+
@removed_additional_pod_ranges_config = args[:removed_additional_pod_ranges_config] if args.key?(:removed_additional_pod_ranges_config)
|
2080
|
+
@user_managed_keys_config = args[:user_managed_keys_config] if args.key?(:user_managed_keys_config)
|
2081
|
+
end
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
# ClusterUpgradeInfo contains the upgrade information of a cluster.
|
2085
|
+
class ClusterUpgradeInfo
|
2086
|
+
include Google::Apis::Core::Hashable
|
2087
|
+
|
2088
|
+
# The auto upgrade status.
|
2089
|
+
# Corresponds to the JSON property `autoUpgradeStatus`
|
2090
|
+
# @return [Array<String>]
|
2091
|
+
attr_accessor :auto_upgrade_status
|
2092
|
+
|
2093
|
+
# The cluster's current minor version's end of extended support timestamp.
|
2094
|
+
# Corresponds to the JSON property `endOfExtendedSupportTimestamp`
|
2095
|
+
# @return [String]
|
2096
|
+
attr_accessor :end_of_extended_support_timestamp
|
2097
|
+
|
2098
|
+
# The cluster's current minor version's end of standard support timestamp.
|
2099
|
+
# Corresponds to the JSON property `endOfStandardSupportTimestamp`
|
2100
|
+
# @return [String]
|
2101
|
+
attr_accessor :end_of_standard_support_timestamp
|
2102
|
+
|
2103
|
+
# minor_target_version indicates the target version for minor upgrade.
|
2104
|
+
# Corresponds to the JSON property `minorTargetVersion`
|
2105
|
+
# @return [String]
|
2106
|
+
attr_accessor :minor_target_version
|
2107
|
+
|
2108
|
+
# patch_target_version indicates the target version for patch upgrade.
|
2109
|
+
# Corresponds to the JSON property `patchTargetVersion`
|
2110
|
+
# @return [String]
|
2111
|
+
attr_accessor :patch_target_version
|
2112
|
+
|
2113
|
+
# The auto upgrade paused reason.
|
2114
|
+
# Corresponds to the JSON property `pausedReason`
|
2115
|
+
# @return [Array<String>]
|
2116
|
+
attr_accessor :paused_reason
|
2117
|
+
|
2118
|
+
# The list of past auto upgrades.
|
2119
|
+
# Corresponds to the JSON property `upgradeDetails`
|
2120
|
+
# @return [Array<Google::Apis::ContainerV1::UpgradeDetails>]
|
2121
|
+
attr_accessor :upgrade_details
|
2122
|
+
|
2123
|
+
def initialize(**args)
|
2124
|
+
update!(**args)
|
2125
|
+
end
|
2126
|
+
|
2127
|
+
# Update properties of this object
|
2128
|
+
def update!(**args)
|
2129
|
+
@auto_upgrade_status = args[:auto_upgrade_status] if args.key?(:auto_upgrade_status)
|
2130
|
+
@end_of_extended_support_timestamp = args[:end_of_extended_support_timestamp] if args.key?(:end_of_extended_support_timestamp)
|
2131
|
+
@end_of_standard_support_timestamp = args[:end_of_standard_support_timestamp] if args.key?(:end_of_standard_support_timestamp)
|
2132
|
+
@minor_target_version = args[:minor_target_version] if args.key?(:minor_target_version)
|
2133
|
+
@patch_target_version = args[:patch_target_version] if args.key?(:patch_target_version)
|
2134
|
+
@paused_reason = args[:paused_reason] if args.key?(:paused_reason)
|
2135
|
+
@upgrade_details = args[:upgrade_details] if args.key?(:upgrade_details)
|
1436
2136
|
end
|
1437
2137
|
end
|
1438
2138
|
|
@@ -1493,11 +2193,61 @@ module Google
|
|
1493
2193
|
end
|
1494
2194
|
end
|
1495
2195
|
|
2196
|
+
# CompliancePostureConfig defines the settings needed to enable/disable features
|
2197
|
+
# for the Compliance Posture.
|
2198
|
+
class CompliancePostureConfig
|
2199
|
+
include Google::Apis::Core::Hashable
|
2200
|
+
|
2201
|
+
# List of enabled compliance standards.
|
2202
|
+
# Corresponds to the JSON property `complianceStandards`
|
2203
|
+
# @return [Array<Google::Apis::ContainerV1::ComplianceStandard>]
|
2204
|
+
attr_accessor :compliance_standards
|
2205
|
+
|
2206
|
+
# Defines the enablement mode for Compliance Posture.
|
2207
|
+
# Corresponds to the JSON property `mode`
|
2208
|
+
# @return [String]
|
2209
|
+
attr_accessor :mode
|
2210
|
+
|
2211
|
+
def initialize(**args)
|
2212
|
+
update!(**args)
|
2213
|
+
end
|
2214
|
+
|
2215
|
+
# Update properties of this object
|
2216
|
+
def update!(**args)
|
2217
|
+
@compliance_standards = args[:compliance_standards] if args.key?(:compliance_standards)
|
2218
|
+
@mode = args[:mode] if args.key?(:mode)
|
2219
|
+
end
|
2220
|
+
end
|
2221
|
+
|
2222
|
+
# Defines the details of a compliance standard.
|
2223
|
+
class ComplianceStandard
|
2224
|
+
include Google::Apis::Core::Hashable
|
2225
|
+
|
2226
|
+
# Name of the compliance standard.
|
2227
|
+
# Corresponds to the JSON property `standard`
|
2228
|
+
# @return [String]
|
2229
|
+
attr_accessor :standard
|
2230
|
+
|
2231
|
+
def initialize(**args)
|
2232
|
+
update!(**args)
|
2233
|
+
end
|
2234
|
+
|
2235
|
+
# Update properties of this object
|
2236
|
+
def update!(**args)
|
2237
|
+
@standard = args[:standard] if args.key?(:standard)
|
2238
|
+
end
|
2239
|
+
end
|
2240
|
+
|
1496
2241
|
# ConfidentialNodes is configuration for the confidential nodes feature, which
|
1497
2242
|
# makes nodes run on confidential VMs.
|
1498
2243
|
class ConfidentialNodes
|
1499
2244
|
include Google::Apis::Core::Hashable
|
1500
2245
|
|
2246
|
+
# Defines the type of technology used by the confidential node.
|
2247
|
+
# Corresponds to the JSON property `confidentialInstanceType`
|
2248
|
+
# @return [String]
|
2249
|
+
attr_accessor :confidential_instance_type
|
2250
|
+
|
1501
2251
|
# Whether Confidential Nodes feature is enabled.
|
1502
2252
|
# Corresponds to the JSON property `enabled`
|
1503
2253
|
# @return [Boolean]
|
@@ -1510,6 +2260,7 @@ module Google
|
|
1510
2260
|
|
1511
2261
|
# Update properties of this object
|
1512
2262
|
def update!(**args)
|
2263
|
+
@confidential_instance_type = args[:confidential_instance_type] if args.key?(:confidential_instance_type)
|
1513
2264
|
@enabled = args[:enabled] if args.key?(:enabled)
|
1514
2265
|
end
|
1515
2266
|
end
|
@@ -1555,6 +2306,51 @@ module Google
|
|
1555
2306
|
end
|
1556
2307
|
end
|
1557
2308
|
|
2309
|
+
# ContainerdConfig contains configuration to customize containerd.
|
2310
|
+
class ContainerdConfig
|
2311
|
+
include Google::Apis::Core::Hashable
|
2312
|
+
|
2313
|
+
# PrivateRegistryAccessConfig contains access configuration for private
|
2314
|
+
# container registries.
|
2315
|
+
# Corresponds to the JSON property `privateRegistryAccessConfig`
|
2316
|
+
# @return [Google::Apis::ContainerV1::PrivateRegistryAccessConfig]
|
2317
|
+
attr_accessor :private_registry_access_config
|
2318
|
+
|
2319
|
+
def initialize(**args)
|
2320
|
+
update!(**args)
|
2321
|
+
end
|
2322
|
+
|
2323
|
+
# Update properties of this object
|
2324
|
+
def update!(**args)
|
2325
|
+
@private_registry_access_config = args[:private_registry_access_config] if args.key?(:private_registry_access_config)
|
2326
|
+
end
|
2327
|
+
end
|
2328
|
+
|
2329
|
+
# Configuration for all of the cluster's control plane endpoints.
|
2330
|
+
class ControlPlaneEndpointsConfig
|
2331
|
+
include Google::Apis::Core::Hashable
|
2332
|
+
|
2333
|
+
# Describes the configuration of a DNS endpoint.
|
2334
|
+
# Corresponds to the JSON property `dnsEndpointConfig`
|
2335
|
+
# @return [Google::Apis::ContainerV1::DnsEndpointConfig]
|
2336
|
+
attr_accessor :dns_endpoint_config
|
2337
|
+
|
2338
|
+
# IP endpoints configuration.
|
2339
|
+
# Corresponds to the JSON property `ipEndpointsConfig`
|
2340
|
+
# @return [Google::Apis::ContainerV1::IpEndpointsConfig]
|
2341
|
+
attr_accessor :ip_endpoints_config
|
2342
|
+
|
2343
|
+
def initialize(**args)
|
2344
|
+
update!(**args)
|
2345
|
+
end
|
2346
|
+
|
2347
|
+
# Update properties of this object
|
2348
|
+
def update!(**args)
|
2349
|
+
@dns_endpoint_config = args[:dns_endpoint_config] if args.key?(:dns_endpoint_config)
|
2350
|
+
@ip_endpoints_config = args[:ip_endpoints_config] if args.key?(:ip_endpoints_config)
|
2351
|
+
end
|
2352
|
+
end
|
2353
|
+
|
1558
2354
|
# Configuration for fine-grained cost management feature.
|
1559
2355
|
class CostManagementConfig
|
1560
2356
|
include Google::Apis::Core::Hashable
|
@@ -1675,6 +2471,11 @@ module Google
|
|
1675
2471
|
class DnsConfig
|
1676
2472
|
include Google::Apis::Core::Hashable
|
1677
2473
|
|
2474
|
+
# Optional. The domain used in Additive VPC scope.
|
2475
|
+
# Corresponds to the JSON property `additiveVpcScopeDnsDomain`
|
2476
|
+
# @return [String]
|
2477
|
+
attr_accessor :additive_vpc_scope_dns_domain
|
2478
|
+
|
1678
2479
|
# cluster_dns indicates which in-cluster DNS provider should be used.
|
1679
2480
|
# Corresponds to the JSON property `clusterDns`
|
1680
2481
|
# @return [String]
|
@@ -1696,17 +2497,48 @@ module Google
|
|
1696
2497
|
|
1697
2498
|
# Update properties of this object
|
1698
2499
|
def update!(**args)
|
2500
|
+
@additive_vpc_scope_dns_domain = args[:additive_vpc_scope_dns_domain] if args.key?(:additive_vpc_scope_dns_domain)
|
1699
2501
|
@cluster_dns = args[:cluster_dns] if args.key?(:cluster_dns)
|
1700
2502
|
@cluster_dns_domain = args[:cluster_dns_domain] if args.key?(:cluster_dns_domain)
|
1701
2503
|
@cluster_dns_scope = args[:cluster_dns_scope] if args.key?(:cluster_dns_scope)
|
1702
2504
|
end
|
1703
2505
|
end
|
1704
2506
|
|
2507
|
+
# Describes the configuration of a DNS endpoint.
|
2508
|
+
class DnsEndpointConfig
|
2509
|
+
include Google::Apis::Core::Hashable
|
2510
|
+
|
2511
|
+
# Controls whether user traffic is allowed over this endpoint. Note that GCP-
|
2512
|
+
# managed services may still use the endpoint even if this is false.
|
2513
|
+
# Corresponds to the JSON property `allowExternalTraffic`
|
2514
|
+
# @return [Boolean]
|
2515
|
+
attr_accessor :allow_external_traffic
|
2516
|
+
alias_method :allow_external_traffic?, :allow_external_traffic
|
2517
|
+
|
2518
|
+
# Output only. The cluster's DNS endpoint configuration. A DNS format address.
|
2519
|
+
# This is accessible from the public internet. Ex: uid.us-central1.gke.goog.
|
2520
|
+
# Always present, but the behavior may change according to the value of
|
2521
|
+
# DNSEndpointConfig.allow_external_traffic.
|
2522
|
+
# Corresponds to the JSON property `endpoint`
|
2523
|
+
# @return [String]
|
2524
|
+
attr_accessor :endpoint
|
2525
|
+
|
2526
|
+
def initialize(**args)
|
2527
|
+
update!(**args)
|
2528
|
+
end
|
2529
|
+
|
2530
|
+
# Update properties of this object
|
2531
|
+
def update!(**args)
|
2532
|
+
@allow_external_traffic = args[:allow_external_traffic] if args.key?(:allow_external_traffic)
|
2533
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
2534
|
+
end
|
2535
|
+
end
|
2536
|
+
|
1705
2537
|
# Time window specified for daily maintenance operations.
|
1706
2538
|
class DailyMaintenanceWindow
|
1707
2539
|
include Google::Apis::Core::Hashable
|
1708
2540
|
|
1709
|
-
#
|
2541
|
+
# Output only. Duration of the time window, automatically chosen to be smallest
|
1710
2542
|
# possible in the given scenario. Duration will be in [RFC3339](https://www.ietf.
|
1711
2543
|
# org/rfc/rfc3339.txt) format "PTnHnMnS".
|
1712
2544
|
# Corresponds to the JSON property `duration`
|
@@ -1735,13 +2567,29 @@ module Google
|
|
1735
2567
|
class DatabaseEncryption
|
1736
2568
|
include Google::Apis::Core::Hashable
|
1737
2569
|
|
2570
|
+
# Output only. The current state of etcd encryption.
|
2571
|
+
# Corresponds to the JSON property `currentState`
|
2572
|
+
# @return [String]
|
2573
|
+
attr_accessor :current_state
|
2574
|
+
|
2575
|
+
# Output only. Keys in use by the cluster for decrypting existing objects, in
|
2576
|
+
# addition to the key in `key_name`. Each item is a CloudKMS key resource.
|
2577
|
+
# Corresponds to the JSON property `decryptionKeys`
|
2578
|
+
# @return [Array<String>]
|
2579
|
+
attr_accessor :decryption_keys
|
2580
|
+
|
1738
2581
|
# Name of CloudKMS key to use for the encryption of secrets in etcd. Ex.
|
1739
2582
|
# projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
|
1740
2583
|
# Corresponds to the JSON property `keyName`
|
1741
2584
|
# @return [String]
|
1742
2585
|
attr_accessor :key_name
|
1743
2586
|
|
1744
|
-
#
|
2587
|
+
# Output only. Records errors seen during DatabaseEncryption update operations.
|
2588
|
+
# Corresponds to the JSON property `lastOperationErrors`
|
2589
|
+
# @return [Array<Google::Apis::ContainerV1::OperationError>]
|
2590
|
+
attr_accessor :last_operation_errors
|
2591
|
+
|
2592
|
+
# The desired state of etcd encryption.
|
1745
2593
|
# Corresponds to the JSON property `state`
|
1746
2594
|
# @return [String]
|
1747
2595
|
attr_accessor :state
|
@@ -1752,7 +2600,10 @@ module Google
|
|
1752
2600
|
|
1753
2601
|
# Update properties of this object
|
1754
2602
|
def update!(**args)
|
2603
|
+
@current_state = args[:current_state] if args.key?(:current_state)
|
2604
|
+
@decryption_keys = args[:decryption_keys] if args.key?(:decryption_keys)
|
1755
2605
|
@key_name = args[:key_name] if args.key?(:key_name)
|
2606
|
+
@last_operation_errors = args[:last_operation_errors] if args.key?(:last_operation_errors)
|
1756
2607
|
@state = args[:state] if args.key?(:state)
|
1757
2608
|
end
|
1758
2609
|
end
|
@@ -1778,6 +2629,25 @@ module Google
|
|
1778
2629
|
end
|
1779
2630
|
end
|
1780
2631
|
|
2632
|
+
# DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
|
2633
|
+
class DesiredEnterpriseConfig
|
2634
|
+
include Google::Apis::Core::Hashable
|
2635
|
+
|
2636
|
+
# desired_tier specifies the desired tier of the cluster.
|
2637
|
+
# Corresponds to the JSON property `desiredTier`
|
2638
|
+
# @return [String]
|
2639
|
+
attr_accessor :desired_tier
|
2640
|
+
|
2641
|
+
def initialize(**args)
|
2642
|
+
update!(**args)
|
2643
|
+
end
|
2644
|
+
|
2645
|
+
# Update properties of this object
|
2646
|
+
def update!(**args)
|
2647
|
+
@desired_tier = args[:desired_tier] if args.key?(:desired_tier)
|
2648
|
+
end
|
2649
|
+
end
|
2650
|
+
|
1781
2651
|
# Configuration for NodeLocal DNSCache
|
1782
2652
|
class DnsCacheConfig
|
1783
2653
|
include Google::Apis::Core::Hashable
|
@@ -1814,16 +2684,53 @@ module Google
|
|
1814
2684
|
end
|
1815
2685
|
end
|
1816
2686
|
|
2687
|
+
# EnterpriseConfig is the cluster enterprise configuration.
|
2688
|
+
class EnterpriseConfig
|
2689
|
+
include Google::Apis::Core::Hashable
|
2690
|
+
|
2691
|
+
# Output only. cluster_tier indicates the effective tier of the cluster.
|
2692
|
+
# Corresponds to the JSON property `clusterTier`
|
2693
|
+
# @return [String]
|
2694
|
+
attr_accessor :cluster_tier
|
2695
|
+
|
2696
|
+
# desired_tier specifies the desired tier of the cluster.
|
2697
|
+
# Corresponds to the JSON property `desiredTier`
|
2698
|
+
# @return [String]
|
2699
|
+
attr_accessor :desired_tier
|
2700
|
+
|
2701
|
+
def initialize(**args)
|
2702
|
+
update!(**args)
|
2703
|
+
end
|
2704
|
+
|
2705
|
+
# Update properties of this object
|
2706
|
+
def update!(**args)
|
2707
|
+
@cluster_tier = args[:cluster_tier] if args.key?(:cluster_tier)
|
2708
|
+
@desired_tier = args[:desired_tier] if args.key?(:desired_tier)
|
2709
|
+
end
|
2710
|
+
end
|
2711
|
+
|
1817
2712
|
# EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
|
1818
|
-
# storage using Local
|
2713
|
+
# storage using Local SSDs.
|
1819
2714
|
class EphemeralStorageLocalSsdConfig
|
1820
2715
|
include Google::Apis::Core::Hashable
|
1821
2716
|
|
1822
|
-
# Number of local SSDs to use
|
1823
|
-
#
|
1824
|
-
#
|
1825
|
-
|
1826
|
-
|
2717
|
+
# Number of local SSDs to use for GKE Data Cache.
|
2718
|
+
# Corresponds to the JSON property `dataCacheCount`
|
2719
|
+
# @return [Fixnum]
|
2720
|
+
attr_accessor :data_cache_count
|
2721
|
+
|
2722
|
+
# Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A
|
2723
|
+
# zero (or unset) value has different meanings depending on machine type being
|
2724
|
+
# used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds,
|
2725
|
+
# zero (or unset) means to disable using local SSDs as ephemeral storage. The
|
2726
|
+
# limit for this value is dependent upon the maximum number of disk available on
|
2727
|
+
# a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd
|
2728
|
+
# for more information. 2. For Gen3 machines which dictate a specific number of
|
2729
|
+
# local ssds, zero (or unset) means to use the default number of local ssds that
|
2730
|
+
# goes with that machine type. For example, for a c3-standard-8-lssd machine, 2
|
2731
|
+
# local ssds would be provisioned. For c3-standard-8 (which doesn't support
|
2732
|
+
# local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/
|
2733
|
+
# disks/local-ssd#choose_number_local_ssds for more info.
|
1827
2734
|
# Corresponds to the JSON property `localSsdCount`
|
1828
2735
|
# @return [Fixnum]
|
1829
2736
|
attr_accessor :local_ssd_count
|
@@ -1834,6 +2741,7 @@ module Google
|
|
1834
2741
|
|
1835
2742
|
# Update properties of this object
|
1836
2743
|
def update!(**args)
|
2744
|
+
@data_cache_count = args[:data_cache_count] if args.key?(:data_cache_count)
|
1837
2745
|
@local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
|
1838
2746
|
end
|
1839
2747
|
end
|
@@ -1880,6 +2788,83 @@ module Google
|
|
1880
2788
|
end
|
1881
2789
|
end
|
1882
2790
|
|
2791
|
+
# Fleet is the fleet configuration for the cluster.
|
2792
|
+
class Fleet
|
2793
|
+
include Google::Apis::Core::Hashable
|
2794
|
+
|
2795
|
+
# Output only. The full resource name of the registered fleet membership of the
|
2796
|
+
# cluster, in the format `//gkehub.googleapis.com/projects/*/locations/*/
|
2797
|
+
# memberships/*`.
|
2798
|
+
# Corresponds to the JSON property `membership`
|
2799
|
+
# @return [String]
|
2800
|
+
attr_accessor :membership
|
2801
|
+
|
2802
|
+
# Output only. Whether the cluster has been registered through the fleet API.
|
2803
|
+
# Corresponds to the JSON property `preRegistered`
|
2804
|
+
# @return [Boolean]
|
2805
|
+
attr_accessor :pre_registered
|
2806
|
+
alias_method :pre_registered?, :pre_registered
|
2807
|
+
|
2808
|
+
# The Fleet host project(project ID or project number) where this cluster will
|
2809
|
+
# be registered to. This field cannot be changed after the cluster has been
|
2810
|
+
# registered.
|
2811
|
+
# Corresponds to the JSON property `project`
|
2812
|
+
# @return [String]
|
2813
|
+
attr_accessor :project
|
2814
|
+
|
2815
|
+
def initialize(**args)
|
2816
|
+
update!(**args)
|
2817
|
+
end
|
2818
|
+
|
2819
|
+
# Update properties of this object
|
2820
|
+
def update!(**args)
|
2821
|
+
@membership = args[:membership] if args.key?(:membership)
|
2822
|
+
@pre_registered = args[:pre_registered] if args.key?(:pre_registered)
|
2823
|
+
@project = args[:project] if args.key?(:project)
|
2824
|
+
end
|
2825
|
+
end
|
2826
|
+
|
2827
|
+
# GCPSecretManagerCertificateConfig configures a secret from [Google Secret
|
2828
|
+
# Manager](https://cloud.google.com/secret-manager).
|
2829
|
+
class GcpSecretManagerCertificateConfig
|
2830
|
+
include Google::Apis::Core::Hashable
|
2831
|
+
|
2832
|
+
# Secret URI, in the form "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$
|
2833
|
+
# VERSION". Version can be fixed (e.g. "2") or "latest"
|
2834
|
+
# Corresponds to the JSON property `secretUri`
|
2835
|
+
# @return [String]
|
2836
|
+
attr_accessor :secret_uri
|
2837
|
+
|
2838
|
+
def initialize(**args)
|
2839
|
+
update!(**args)
|
2840
|
+
end
|
2841
|
+
|
2842
|
+
# Update properties of this object
|
2843
|
+
def update!(**args)
|
2844
|
+
@secret_uri = args[:secret_uri] if args.key?(:secret_uri)
|
2845
|
+
end
|
2846
|
+
end
|
2847
|
+
|
2848
|
+
# GPUDriverInstallationConfig specifies the version of GPU driver to be auto
|
2849
|
+
# installed.
|
2850
|
+
class GpuDriverInstallationConfig
|
2851
|
+
include Google::Apis::Core::Hashable
|
2852
|
+
|
2853
|
+
# Mode for how the GPU driver is installed.
|
2854
|
+
# Corresponds to the JSON property `gpuDriverVersion`
|
2855
|
+
# @return [String]
|
2856
|
+
attr_accessor :gpu_driver_version
|
2857
|
+
|
2858
|
+
def initialize(**args)
|
2859
|
+
update!(**args)
|
2860
|
+
end
|
2861
|
+
|
2862
|
+
# Update properties of this object
|
2863
|
+
def update!(**args)
|
2864
|
+
@gpu_driver_version = args[:gpu_driver_version] if args.key?(:gpu_driver_version)
|
2865
|
+
end
|
2866
|
+
end
|
2867
|
+
|
1883
2868
|
# GPUSharingConfig represents the GPU sharing configuration for Hardware
|
1884
2869
|
# Accelerators.
|
1885
2870
|
class GpuSharingConfig
|
@@ -1986,7 +2971,27 @@ module Google
|
|
1986
2971
|
end
|
1987
2972
|
end
|
1988
2973
|
|
1989
|
-
#
|
2974
|
+
# Configuration for the Cloud Storage Fuse CSI driver.
|
2975
|
+
class GcsFuseCsiDriverConfig
|
2976
|
+
include Google::Apis::Core::Hashable
|
2977
|
+
|
2978
|
+
# Whether the Cloud Storage Fuse CSI driver is enabled for this cluster.
|
2979
|
+
# Corresponds to the JSON property `enabled`
|
2980
|
+
# @return [Boolean]
|
2981
|
+
attr_accessor :enabled
|
2982
|
+
alias_method :enabled?, :enabled
|
2983
|
+
|
2984
|
+
def initialize(**args)
|
2985
|
+
update!(**args)
|
2986
|
+
end
|
2987
|
+
|
2988
|
+
# Update properties of this object
|
2989
|
+
def update!(**args)
|
2990
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
2991
|
+
end
|
2992
|
+
end
|
2993
|
+
|
2994
|
+
# GetJSONWebKeysResponse is a valid JSON Web Key Set as specified in rfc 7517
|
1990
2995
|
class GetJsonWebKeysResponse
|
1991
2996
|
include Google::Apis::Core::Hashable
|
1992
2997
|
|
@@ -2169,6 +3174,31 @@ module Google
|
|
2169
3174
|
end
|
2170
3175
|
end
|
2171
3176
|
|
3177
|
+
# Hugepages amount in both 2m and 1g size
|
3178
|
+
class HugepagesConfig
|
3179
|
+
include Google::Apis::Core::Hashable
|
3180
|
+
|
3181
|
+
# Optional. Amount of 1G hugepages
|
3182
|
+
# Corresponds to the JSON property `hugepageSize1g`
|
3183
|
+
# @return [Fixnum]
|
3184
|
+
attr_accessor :hugepage_size1g
|
3185
|
+
|
3186
|
+
# Optional. Amount of 2M hugepages
|
3187
|
+
# Corresponds to the JSON property `hugepageSize2m`
|
3188
|
+
# @return [Fixnum]
|
3189
|
+
attr_accessor :hugepage_size2m
|
3190
|
+
|
3191
|
+
def initialize(**args)
|
3192
|
+
update!(**args)
|
3193
|
+
end
|
3194
|
+
|
3195
|
+
# Update properties of this object
|
3196
|
+
def update!(**args)
|
3197
|
+
@hugepage_size1g = args[:hugepage_size1g] if args.key?(:hugepage_size1g)
|
3198
|
+
@hugepage_size2m = args[:hugepage_size2m] if args.key?(:hugepage_size2m)
|
3199
|
+
end
|
3200
|
+
end
|
3201
|
+
|
2172
3202
|
# ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer
|
2173
3203
|
# subsetting on this cluster.
|
2174
3204
|
class IlbSubsettingConfig
|
@@ -2194,6 +3224,12 @@ module Google
|
|
2194
3224
|
class IpAllocationPolicy
|
2195
3225
|
include Google::Apis::Core::Hashable
|
2196
3226
|
|
3227
|
+
# AdditionalPodRangesConfig is the configuration for additional pod secondary
|
3228
|
+
# ranges supporting the ClusterUpdate message.
|
3229
|
+
# Corresponds to the JSON property `additionalPodRangesConfig`
|
3230
|
+
# @return [Google::Apis::ContainerV1::AdditionalPodRangesConfig]
|
3231
|
+
attr_accessor :additional_pod_ranges_config
|
3232
|
+
|
2197
3233
|
# This field is deprecated, use cluster_ipv4_cidr_block.
|
2198
3234
|
# Corresponds to the JSON property `clusterIpv4Cidr`
|
2199
3235
|
# @return [String]
|
@@ -2226,6 +3262,13 @@ module Google
|
|
2226
3262
|
attr_accessor :create_subnetwork
|
2227
3263
|
alias_method :create_subnetwork?, :create_subnetwork
|
2228
3264
|
|
3265
|
+
# Output only. The utilization of the cluster default IPv4 range for the pod.
|
3266
|
+
# The ratio is Usage/[Total number of IPs in the secondary range], Usage=
|
3267
|
+
# numNodes*numZones*podIPsPerNode.
|
3268
|
+
# Corresponds to the JSON property `defaultPodIpv4RangeUtilization`
|
3269
|
+
# @return [Float]
|
3270
|
+
attr_accessor :default_pod_ipv4_range_utilization
|
3271
|
+
|
2229
3272
|
# The ipv6 access type (internal or external) when create_subnetwork is true
|
2230
3273
|
# Corresponds to the JSON property `ipv6AccessType`
|
2231
3274
|
# @return [String]
|
@@ -2247,6 +3290,11 @@ module Google
|
|
2247
3290
|
# @return [String]
|
2248
3291
|
attr_accessor :node_ipv4_cidr_block
|
2249
3292
|
|
3293
|
+
# [PRIVATE FIELD] Config for pod CIDR size overprovisioning.
|
3294
|
+
# Corresponds to the JSON property `podCidrOverprovisionConfig`
|
3295
|
+
# @return [Google::Apis::ContainerV1::PodCidrOverprovisionConfig]
|
3296
|
+
attr_accessor :pod_cidr_overprovision_config
|
3297
|
+
|
2250
3298
|
# This field is deprecated, use services_ipv4_cidr_block.
|
2251
3299
|
# Corresponds to the JSON property `servicesIpv4Cidr`
|
2252
3300
|
# @return [String]
|
@@ -2264,6 +3312,11 @@ module Google
|
|
2264
3312
|
# @return [String]
|
2265
3313
|
attr_accessor :services_ipv4_cidr_block
|
2266
3314
|
|
3315
|
+
# Output only. The services IPv6 CIDR block for the cluster.
|
3316
|
+
# Corresponds to the JSON property `servicesIpv6CidrBlock`
|
3317
|
+
# @return [String]
|
3318
|
+
attr_accessor :services_ipv6_cidr_block
|
3319
|
+
|
2267
3320
|
# The name of the secondary range to be used as for the services CIDR block. The
|
2268
3321
|
# secondary range will be used for service ClusterIPs. This must be an existing
|
2269
3322
|
# secondary range associated with the cluster subnetwork. This field is only
|
@@ -2277,6 +3330,11 @@ module Google
|
|
2277
3330
|
# @return [String]
|
2278
3331
|
attr_accessor :stack_type
|
2279
3332
|
|
3333
|
+
# Output only. The subnet's IPv6 CIDR block used by nodes and pods.
|
3334
|
+
# Corresponds to the JSON property `subnetIpv6CidrBlock`
|
3335
|
+
# @return [String]
|
3336
|
+
attr_accessor :subnet_ipv6_cidr_block
|
3337
|
+
|
2280
3338
|
# A custom subnetwork name to be used if `create_subnetwork` is true. If this
|
2281
3339
|
# field is empty, then an automatic name will be chosen for the new subnetwork.
|
2282
3340
|
# Corresponds to the JSON property `subnetworkName`
|
@@ -2290,7 +3348,8 @@ module Google
|
|
2290
3348
|
# specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
|
2291
3349
|
# Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
|
2292
3350
|
# networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
|
2293
|
-
# specific range to use.
|
3351
|
+
# specific range to use. This field is deprecated due to the deprecation of 2VM
|
3352
|
+
# TPU. The end of life date for 2VM TPU is 2025-04-25.
|
2294
3353
|
# Corresponds to the JSON property `tpuIpv4CidrBlock`
|
2295
3354
|
# @return [String]
|
2296
3355
|
attr_accessor :tpu_ipv4_cidr_block
|
@@ -2319,17 +3378,22 @@ module Google
|
|
2319
3378
|
|
2320
3379
|
# Update properties of this object
|
2321
3380
|
def update!(**args)
|
3381
|
+
@additional_pod_ranges_config = args[:additional_pod_ranges_config] if args.key?(:additional_pod_ranges_config)
|
2322
3382
|
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
2323
3383
|
@cluster_ipv4_cidr_block = args[:cluster_ipv4_cidr_block] if args.key?(:cluster_ipv4_cidr_block)
|
2324
3384
|
@cluster_secondary_range_name = args[:cluster_secondary_range_name] if args.key?(:cluster_secondary_range_name)
|
2325
3385
|
@create_subnetwork = args[:create_subnetwork] if args.key?(:create_subnetwork)
|
3386
|
+
@default_pod_ipv4_range_utilization = args[:default_pod_ipv4_range_utilization] if args.key?(:default_pod_ipv4_range_utilization)
|
2326
3387
|
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
2327
3388
|
@node_ipv4_cidr = args[:node_ipv4_cidr] if args.key?(:node_ipv4_cidr)
|
2328
3389
|
@node_ipv4_cidr_block = args[:node_ipv4_cidr_block] if args.key?(:node_ipv4_cidr_block)
|
3390
|
+
@pod_cidr_overprovision_config = args[:pod_cidr_overprovision_config] if args.key?(:pod_cidr_overprovision_config)
|
2329
3391
|
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
|
2330
3392
|
@services_ipv4_cidr_block = args[:services_ipv4_cidr_block] if args.key?(:services_ipv4_cidr_block)
|
3393
|
+
@services_ipv6_cidr_block = args[:services_ipv6_cidr_block] if args.key?(:services_ipv6_cidr_block)
|
2331
3394
|
@services_secondary_range_name = args[:services_secondary_range_name] if args.key?(:services_secondary_range_name)
|
2332
3395
|
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
3396
|
+
@subnet_ipv6_cidr_block = args[:subnet_ipv6_cidr_block] if args.key?(:subnet_ipv6_cidr_block)
|
2333
3397
|
@subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
|
2334
3398
|
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
2335
3399
|
@use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
|
@@ -2337,25 +3401,95 @@ module Google
|
|
2337
3401
|
end
|
2338
3402
|
end
|
2339
3403
|
|
2340
|
-
#
|
2341
|
-
|
2342
|
-
class IdentityServiceConfig
|
3404
|
+
# IP endpoints configuration.
|
3405
|
+
class IpEndpointsConfig
|
2343
3406
|
include Google::Apis::Core::Hashable
|
2344
3407
|
|
2345
|
-
#
|
3408
|
+
# Configuration options for the master authorized networks feature. Enabled
|
3409
|
+
# master authorized networks will disallow all external traffic to access
|
3410
|
+
# Kubernetes master through HTTPS except traffic from the given CIDR blocks,
|
3411
|
+
# Google Compute Engine Public IPs and Google Prod IPs.
|
3412
|
+
# Corresponds to the JSON property `authorizedNetworksConfig`
|
3413
|
+
# @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
|
3414
|
+
attr_accessor :authorized_networks_config
|
3415
|
+
|
3416
|
+
# Controls whether the control plane allows access through a public IP. It is
|
3417
|
+
# invalid to specify both PrivateClusterConfig.enablePrivateEndpoint and this
|
3418
|
+
# field at the same time.
|
3419
|
+
# Corresponds to the JSON property `enablePublicEndpoint`
|
3420
|
+
# @return [Boolean]
|
3421
|
+
attr_accessor :enable_public_endpoint
|
3422
|
+
alias_method :enable_public_endpoint?, :enable_public_endpoint
|
3423
|
+
|
3424
|
+
# Controls whether to allow direct IP access.
|
2346
3425
|
# Corresponds to the JSON property `enabled`
|
2347
3426
|
# @return [Boolean]
|
2348
3427
|
attr_accessor :enabled
|
2349
3428
|
alias_method :enabled?, :enabled
|
2350
3429
|
|
3430
|
+
# Controls whether the control plane's private endpoint is accessible from
|
3431
|
+
# sources in other regions. It is invalid to specify both
|
3432
|
+
# PrivateClusterMasterGlobalAccessConfig.enabled and this field at the same time.
|
3433
|
+
# Corresponds to the JSON property `globalAccess`
|
3434
|
+
# @return [Boolean]
|
3435
|
+
attr_accessor :global_access
|
3436
|
+
alias_method :global_access?, :global_access
|
3437
|
+
|
3438
|
+
# Output only. The internal IP address of this cluster's control plane. Only
|
3439
|
+
# populated if enabled.
|
3440
|
+
# Corresponds to the JSON property `privateEndpoint`
|
3441
|
+
# @return [String]
|
3442
|
+
attr_accessor :private_endpoint
|
3443
|
+
|
3444
|
+
# Subnet to provision the master's private endpoint during cluster creation.
|
3445
|
+
# Specified in projects/*/regions/*/subnetworks/* format. It is invalid to
|
3446
|
+
# specify both PrivateClusterConfig.privateEndpointSubnetwork and this field at
|
3447
|
+
# the same time.
|
3448
|
+
# Corresponds to the JSON property `privateEndpointSubnetwork`
|
3449
|
+
# @return [String]
|
3450
|
+
attr_accessor :private_endpoint_subnetwork
|
3451
|
+
|
3452
|
+
# Output only. The external IP address of this cluster's control plane. Only
|
3453
|
+
# populated if enabled.
|
3454
|
+
# Corresponds to the JSON property `publicEndpoint`
|
3455
|
+
# @return [String]
|
3456
|
+
attr_accessor :public_endpoint
|
3457
|
+
|
2351
3458
|
def initialize(**args)
|
2352
3459
|
update!(**args)
|
2353
3460
|
end
|
2354
3461
|
|
2355
3462
|
# Update properties of this object
|
2356
3463
|
def update!(**args)
|
3464
|
+
@authorized_networks_config = args[:authorized_networks_config] if args.key?(:authorized_networks_config)
|
3465
|
+
@enable_public_endpoint = args[:enable_public_endpoint] if args.key?(:enable_public_endpoint)
|
2357
3466
|
@enabled = args[:enabled] if args.key?(:enabled)
|
2358
|
-
|
3467
|
+
@global_access = args[:global_access] if args.key?(:global_access)
|
3468
|
+
@private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
|
3469
|
+
@private_endpoint_subnetwork = args[:private_endpoint_subnetwork] if args.key?(:private_endpoint_subnetwork)
|
3470
|
+
@public_endpoint = args[:public_endpoint] if args.key?(:public_endpoint)
|
3471
|
+
end
|
3472
|
+
end
|
3473
|
+
|
3474
|
+
# IdentityServiceConfig is configuration for Identity Service which allows
|
3475
|
+
# customers to use external identity providers with the K8S API
|
3476
|
+
class IdentityServiceConfig
|
3477
|
+
include Google::Apis::Core::Hashable
|
3478
|
+
|
3479
|
+
# Whether to enable the Identity Service component
|
3480
|
+
# Corresponds to the JSON property `enabled`
|
3481
|
+
# @return [Boolean]
|
3482
|
+
attr_accessor :enabled
|
3483
|
+
alias_method :enabled?, :enabled
|
3484
|
+
|
3485
|
+
def initialize(**args)
|
3486
|
+
update!(**args)
|
3487
|
+
end
|
3488
|
+
|
3489
|
+
# Update properties of this object
|
3490
|
+
def update!(**args)
|
3491
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
3492
|
+
end
|
2359
3493
|
end
|
2360
3494
|
|
2361
3495
|
# IntraNodeVisibilityConfig contains the desired config of the intra-node
|
@@ -2446,6 +3580,25 @@ module Google
|
|
2446
3580
|
end
|
2447
3581
|
end
|
2448
3582
|
|
3583
|
+
# K8sBetaAPIConfig , configuration for beta APIs
|
3584
|
+
class K8sBetaApiConfig
|
3585
|
+
include Google::Apis::Core::Hashable
|
3586
|
+
|
3587
|
+
# Enabled k8s beta APIs.
|
3588
|
+
# Corresponds to the JSON property `enabledApis`
|
3589
|
+
# @return [Array<String>]
|
3590
|
+
attr_accessor :enabled_apis
|
3591
|
+
|
3592
|
+
def initialize(**args)
|
3593
|
+
update!(**args)
|
3594
|
+
end
|
3595
|
+
|
3596
|
+
# Update properties of this object
|
3597
|
+
def update!(**args)
|
3598
|
+
@enabled_apis = args[:enabled_apis] if args.key?(:enabled_apis)
|
3599
|
+
end
|
3600
|
+
end
|
3601
|
+
|
2449
3602
|
# Configuration for the Kubernetes Dashboard.
|
2450
3603
|
class KubernetesDashboard
|
2451
3604
|
include Google::Apis::Core::Hashable
|
@@ -2498,11 +3651,21 @@ module Google
|
|
2498
3651
|
# @return [String]
|
2499
3652
|
attr_accessor :cgroup_mode
|
2500
3653
|
|
3654
|
+
# Hugepages amount in both 2m and 1g size
|
3655
|
+
# Corresponds to the JSON property `hugepages`
|
3656
|
+
# @return [Google::Apis::ContainerV1::HugepagesConfig]
|
3657
|
+
attr_accessor :hugepages
|
3658
|
+
|
2501
3659
|
# The Linux kernel parameters to be applied to the nodes and all pods running on
|
2502
3660
|
# the nodes. The following parameters are supported. net.core.busy_poll net.core.
|
2503
|
-
# busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.
|
2504
|
-
# net.core.
|
2505
|
-
# ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
|
3661
|
+
# busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default
|
3662
|
+
# net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn
|
3663
|
+
# net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.netfilter.
|
3664
|
+
# nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.
|
3665
|
+
# nf_conntrack_tcp_timeout_close_wait net.netfilter.
|
3666
|
+
# nf_conntrack_tcp_timeout_time_wait net.netfilter.
|
3667
|
+
# nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.
|
3668
|
+
# shmmni kernel.shmmax kernel.shmall vm.max_map_count
|
2506
3669
|
# Corresponds to the JSON property `sysctls`
|
2507
3670
|
# @return [Hash<String,String>]
|
2508
3671
|
attr_accessor :sysctls
|
@@ -2514,6 +3677,7 @@ module Google
|
|
2514
3677
|
# Update properties of this object
|
2515
3678
|
def update!(**args)
|
2516
3679
|
@cgroup_mode = args[:cgroup_mode] if args.key?(:cgroup_mode)
|
3680
|
+
@hugepages = args[:hugepages] if args.key?(:hugepages)
|
2517
3681
|
@sysctls = args[:sysctls] if args.key?(:sysctls)
|
2518
3682
|
end
|
2519
3683
|
end
|
@@ -2618,15 +3782,22 @@ module Google
|
|
2618
3782
|
end
|
2619
3783
|
|
2620
3784
|
# LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe
|
2621
|
-
#
|
3785
|
+
# SSDs
|
2622
3786
|
class LocalNvmeSsdBlockConfig
|
2623
3787
|
include Google::Apis::Core::Hashable
|
2624
3788
|
|
2625
|
-
#
|
2626
|
-
#
|
2627
|
-
# disks
|
2628
|
-
#
|
2629
|
-
#
|
3789
|
+
# Number of local NVMe SSDs to use. The limit for this value is dependent upon
|
3790
|
+
# the maximum number of disk available on a machine per zone. See: https://cloud.
|
3791
|
+
# google.com/compute/docs/disks/local-ssd for more information. A zero (or unset)
|
3792
|
+
# value has different meanings depending on machine type being used: 1. For pre-
|
3793
|
+
# Gen3 machines, which support flexible numbers of local ssds, zero (or unset)
|
3794
|
+
# means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines
|
3795
|
+
# which dictate a specific number of local ssds, zero (or unset) means to use
|
3796
|
+
# the default number of local ssds that goes with that machine type. For example,
|
3797
|
+
# for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-
|
3798
|
+
# standard-8 (which doesn't support local ssds), 0 will be provisioned. See
|
3799
|
+
# https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
|
3800
|
+
# for more info.
|
2630
3801
|
# Corresponds to the JSON property `localSsdCount`
|
2631
3802
|
# @return [Fixnum]
|
2632
3803
|
attr_accessor :local_ssd_count
|
@@ -2783,6 +3954,12 @@ module Google
|
|
2783
3954
|
class ManagedPrometheusConfig
|
2784
3955
|
include Google::Apis::Core::Hashable
|
2785
3956
|
|
3957
|
+
# AutoMonitoringConfig defines the configuration for GKE Workload Auto-
|
3958
|
+
# Monitoring.
|
3959
|
+
# Corresponds to the JSON property `autoMonitoringConfig`
|
3960
|
+
# @return [Google::Apis::ContainerV1::AutoMonitoringConfig]
|
3961
|
+
attr_accessor :auto_monitoring_config
|
3962
|
+
|
2786
3963
|
# Enable Managed Collection.
|
2787
3964
|
# Corresponds to the JSON property `enabled`
|
2788
3965
|
# @return [Boolean]
|
@@ -2795,6 +3972,7 @@ module Google
|
|
2795
3972
|
|
2796
3973
|
# Update properties of this object
|
2797
3974
|
def update!(**args)
|
3975
|
+
@auto_monitoring_config = args[:auto_monitoring_config] if args.key?(:auto_monitoring_config)
|
2798
3976
|
@enabled = args[:enabled] if args.key?(:enabled)
|
2799
3977
|
end
|
2800
3978
|
end
|
@@ -2804,8 +3982,8 @@ module Google
|
|
2804
3982
|
class MasterAuth
|
2805
3983
|
include Google::Apis::Core::Hashable
|
2806
3984
|
|
2807
|
-
#
|
2808
|
-
#
|
3985
|
+
# Output only. Base64-encoded public certificate used by clients to authenticate
|
3986
|
+
# to the cluster endpoint. Issued only if client_certificate_config is set.
|
2809
3987
|
# Corresponds to the JSON property `clientCertificate`
|
2810
3988
|
# @return [String]
|
2811
3989
|
attr_accessor :client_certificate
|
@@ -2815,13 +3993,13 @@ module Google
|
|
2815
3993
|
# @return [Google::Apis::ContainerV1::ClientCertificateConfig]
|
2816
3994
|
attr_accessor :client_certificate_config
|
2817
3995
|
|
2818
|
-
#
|
2819
|
-
#
|
3996
|
+
# Output only. Base64-encoded private key used by clients to authenticate to the
|
3997
|
+
# cluster endpoint.
|
2820
3998
|
# Corresponds to the JSON property `clientKey`
|
2821
3999
|
# @return [String]
|
2822
4000
|
attr_accessor :client_key
|
2823
4001
|
|
2824
|
-
#
|
4002
|
+
# Output only. Base64-encoded public certificate that is the root of trust for
|
2825
4003
|
# the cluster.
|
2826
4004
|
# Corresponds to the JSON property `clusterCaCertificate`
|
2827
4005
|
# @return [String]
|
@@ -2883,12 +4061,18 @@ module Google
|
|
2883
4061
|
attr_accessor :enabled
|
2884
4062
|
alias_method :enabled?, :enabled
|
2885
4063
|
|
2886
|
-
# Whether master is
|
4064
|
+
# Whether master is accessible via Google Compute Engine Public IP addresses.
|
2887
4065
|
# Corresponds to the JSON property `gcpPublicCidrsAccessEnabled`
|
2888
4066
|
# @return [Boolean]
|
2889
4067
|
attr_accessor :gcp_public_cidrs_access_enabled
|
2890
4068
|
alias_method :gcp_public_cidrs_access_enabled?, :gcp_public_cidrs_access_enabled
|
2891
4069
|
|
4070
|
+
# Whether master authorized networks is enforced on private endpoint or not.
|
4071
|
+
# Corresponds to the JSON property `privateEndpointEnforcementEnabled`
|
4072
|
+
# @return [Boolean]
|
4073
|
+
attr_accessor :private_endpoint_enforcement_enabled
|
4074
|
+
alias_method :private_endpoint_enforcement_enabled?, :private_endpoint_enforcement_enabled
|
4075
|
+
|
2892
4076
|
def initialize(**args)
|
2893
4077
|
update!(**args)
|
2894
4078
|
end
|
@@ -2898,6 +4082,7 @@ module Google
|
|
2898
4082
|
@cidr_blocks = args[:cidr_blocks] if args.key?(:cidr_blocks)
|
2899
4083
|
@enabled = args[:enabled] if args.key?(:enabled)
|
2900
4084
|
@gcp_public_cidrs_access_enabled = args[:gcp_public_cidrs_access_enabled] if args.key?(:gcp_public_cidrs_access_enabled)
|
4085
|
+
@private_endpoint_enforcement_enabled = args[:private_endpoint_enforcement_enabled] if args.key?(:private_endpoint_enforcement_enabled)
|
2901
4086
|
end
|
2902
4087
|
end
|
2903
4088
|
|
@@ -3005,6 +4190,12 @@ module Google
|
|
3005
4190
|
class MonitoringConfig
|
3006
4191
|
include Google::Apis::Core::Hashable
|
3007
4192
|
|
4193
|
+
# AdvancedDatapathObservabilityConfig specifies configuration of observability
|
4194
|
+
# features of advanced datapath.
|
4195
|
+
# Corresponds to the JSON property `advancedDatapathObservabilityConfig`
|
4196
|
+
# @return [Google::Apis::ContainerV1::AdvancedDatapathObservabilityConfig]
|
4197
|
+
attr_accessor :advanced_datapath_observability_config
|
4198
|
+
|
3008
4199
|
# MonitoringComponentConfig is cluster monitoring component configuration.
|
3009
4200
|
# Corresponds to the JSON property `componentConfig`
|
3010
4201
|
# @return [Google::Apis::ContainerV1::MonitoringComponentConfig]
|
@@ -3022,6 +4213,7 @@ module Google
|
|
3022
4213
|
|
3023
4214
|
# Update properties of this object
|
3024
4215
|
def update!(**args)
|
4216
|
+
@advanced_datapath_observability_config = args[:advanced_datapath_observability_config] if args.key?(:advanced_datapath_observability_config)
|
3025
4217
|
@component_config = args[:component_config] if args.key?(:component_config)
|
3026
4218
|
@managed_prometheus_config = args[:managed_prometheus_config] if args.key?(:managed_prometheus_config)
|
3027
4219
|
end
|
@@ -3037,17 +4229,44 @@ module Google
|
|
3037
4229
|
# @return [String]
|
3038
4230
|
attr_accessor :datapath_provider
|
3039
4231
|
|
4232
|
+
# Controls whether by default nodes have private IP addresses only. It is
|
4233
|
+
# invalid to specify both PrivateClusterConfig.enablePrivateNodes and this field
|
4234
|
+
# at the same time. To update the default setting, use ClusterUpdate.
|
4235
|
+
# desired_default_enable_private_nodes
|
4236
|
+
# Corresponds to the JSON property `defaultEnablePrivateNodes`
|
4237
|
+
# @return [Boolean]
|
4238
|
+
attr_accessor :default_enable_private_nodes
|
4239
|
+
alias_method :default_enable_private_nodes?, :default_enable_private_nodes
|
4240
|
+
|
3040
4241
|
# DefaultSnatStatus contains the desired state of whether default sNAT should be
|
3041
4242
|
# disabled on the cluster.
|
3042
4243
|
# Corresponds to the JSON property `defaultSnatStatus`
|
3043
4244
|
# @return [Google::Apis::ContainerV1::DefaultSnatStatus]
|
3044
4245
|
attr_accessor :default_snat_status
|
3045
4246
|
|
4247
|
+
# Disable L4 load balancer VPC firewalls to enable firewall policies.
|
4248
|
+
# Corresponds to the JSON property `disableL4LbFirewallReconciliation`
|
4249
|
+
# @return [Boolean]
|
4250
|
+
attr_accessor :disable_l4_lb_firewall_reconciliation
|
4251
|
+
alias_method :disable_l4_lb_firewall_reconciliation?, :disable_l4_lb_firewall_reconciliation
|
4252
|
+
|
3046
4253
|
# DNSConfig contains the desired set of options for configuring clusterDNS.
|
3047
4254
|
# Corresponds to the JSON property `dnsConfig`
|
3048
4255
|
# @return [Google::Apis::ContainerV1::DnsConfig]
|
3049
4256
|
attr_accessor :dns_config
|
3050
4257
|
|
4258
|
+
# Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.
|
4259
|
+
# Corresponds to the JSON property `enableCiliumClusterwideNetworkPolicy`
|
4260
|
+
# @return [Boolean]
|
4261
|
+
attr_accessor :enable_cilium_clusterwide_network_policy
|
4262
|
+
alias_method :enable_cilium_clusterwide_network_policy?, :enable_cilium_clusterwide_network_policy
|
4263
|
+
|
4264
|
+
# Whether FQDN Network Policy is enabled on this cluster.
|
4265
|
+
# Corresponds to the JSON property `enableFqdnNetworkPolicy`
|
4266
|
+
# @return [Boolean]
|
4267
|
+
attr_accessor :enable_fqdn_network_policy
|
4268
|
+
alias_method :enable_fqdn_network_policy?, :enable_fqdn_network_policy
|
4269
|
+
|
3051
4270
|
# Whether Intra-node visibility is enabled for this cluster. This makes same
|
3052
4271
|
# node pod to pod traffic visible for VPC network.
|
3053
4272
|
# Corresponds to the JSON property `enableIntraNodeVisibility`
|
@@ -3061,18 +4280,35 @@ module Google
|
|
3061
4280
|
attr_accessor :enable_l4ilb_subsetting
|
3062
4281
|
alias_method :enable_l4ilb_subsetting?, :enable_l4ilb_subsetting
|
3063
4282
|
|
4283
|
+
# Whether multi-networking is enabled for this cluster.
|
4284
|
+
# Corresponds to the JSON property `enableMultiNetworking`
|
4285
|
+
# @return [Boolean]
|
4286
|
+
attr_accessor :enable_multi_networking
|
4287
|
+
alias_method :enable_multi_networking?, :enable_multi_networking
|
4288
|
+
|
3064
4289
|
# GatewayAPIConfig contains the desired config of Gateway API on this cluster.
|
3065
4290
|
# Corresponds to the JSON property `gatewayApiConfig`
|
3066
4291
|
# @return [Google::Apis::ContainerV1::GatewayApiConfig]
|
3067
4292
|
attr_accessor :gateway_api_config
|
3068
4293
|
|
3069
|
-
#
|
4294
|
+
# Specify the details of in-transit encryption. Now named inter-node transparent
|
4295
|
+
# encryption.
|
4296
|
+
# Corresponds to the JSON property `inTransitEncryptionConfig`
|
4297
|
+
# @return [String]
|
4298
|
+
attr_accessor :in_transit_encryption_config
|
4299
|
+
|
4300
|
+
# Output only. The relative name of the Google Compute Engine [network](https://
|
3070
4301
|
# cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
|
3071
4302
|
# cluster is connected. Example: projects/my-project/global/networks/my-network
|
3072
4303
|
# Corresponds to the JSON property `network`
|
3073
4304
|
# @return [String]
|
3074
4305
|
attr_accessor :network
|
3075
4306
|
|
4307
|
+
# Configuration of network bandwidth tiers
|
4308
|
+
# Corresponds to the JSON property `networkPerformanceConfig`
|
4309
|
+
# @return [Google::Apis::ContainerV1::ClusterNetworkPerformanceConfig]
|
4310
|
+
attr_accessor :network_performance_config
|
4311
|
+
|
3076
4312
|
# The desired state of IPv6 connectivity to Google Services. By default, no
|
3077
4313
|
# private IPv6 access to or from Google Services (all access will be via IPv4)
|
3078
4314
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
@@ -3098,12 +4334,19 @@ module Google
|
|
3098
4334
|
# Update properties of this object
|
3099
4335
|
def update!(**args)
|
3100
4336
|
@datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
|
4337
|
+
@default_enable_private_nodes = args[:default_enable_private_nodes] if args.key?(:default_enable_private_nodes)
|
3101
4338
|
@default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
|
4339
|
+
@disable_l4_lb_firewall_reconciliation = args[:disable_l4_lb_firewall_reconciliation] if args.key?(:disable_l4_lb_firewall_reconciliation)
|
3102
4340
|
@dns_config = args[:dns_config] if args.key?(:dns_config)
|
4341
|
+
@enable_cilium_clusterwide_network_policy = args[:enable_cilium_clusterwide_network_policy] if args.key?(:enable_cilium_clusterwide_network_policy)
|
4342
|
+
@enable_fqdn_network_policy = args[:enable_fqdn_network_policy] if args.key?(:enable_fqdn_network_policy)
|
3103
4343
|
@enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
|
3104
4344
|
@enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
|
4345
|
+
@enable_multi_networking = args[:enable_multi_networking] if args.key?(:enable_multi_networking)
|
3105
4346
|
@gateway_api_config = args[:gateway_api_config] if args.key?(:gateway_api_config)
|
4347
|
+
@in_transit_encryption_config = args[:in_transit_encryption_config] if args.key?(:in_transit_encryption_config)
|
3106
4348
|
@network = args[:network] if args.key?(:network)
|
4349
|
+
@network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
|
3107
4350
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
3108
4351
|
@service_external_ips_config = args[:service_external_ips_config] if args.key?(:service_external_ips_config)
|
3109
4352
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
@@ -3198,6 +4441,39 @@ module Google
|
|
3198
4441
|
end
|
3199
4442
|
end
|
3200
4443
|
|
4444
|
+
# Specifies the NodeAffinity key, values, and affinity operator according to [
|
4445
|
+
# shared sole tenant node group affinities](https://cloud.google.com/compute/
|
4446
|
+
# docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).
|
4447
|
+
class NodeAffinity
|
4448
|
+
include Google::Apis::Core::Hashable
|
4449
|
+
|
4450
|
+
# Key for NodeAffinity.
|
4451
|
+
# Corresponds to the JSON property `key`
|
4452
|
+
# @return [String]
|
4453
|
+
attr_accessor :key
|
4454
|
+
|
4455
|
+
# Operator for NodeAffinity.
|
4456
|
+
# Corresponds to the JSON property `operator`
|
4457
|
+
# @return [String]
|
4458
|
+
attr_accessor :operator
|
4459
|
+
|
4460
|
+
# Values for NodeAffinity.
|
4461
|
+
# Corresponds to the JSON property `values`
|
4462
|
+
# @return [Array<String>]
|
4463
|
+
attr_accessor :values
|
4464
|
+
|
4465
|
+
def initialize(**args)
|
4466
|
+
update!(**args)
|
4467
|
+
end
|
4468
|
+
|
4469
|
+
# Update properties of this object
|
4470
|
+
def update!(**args)
|
4471
|
+
@key = args[:key] if args.key?(:key)
|
4472
|
+
@operator = args[:operator] if args.key?(:operator)
|
4473
|
+
@values = args[:values] if args.key?(:values)
|
4474
|
+
end
|
4475
|
+
end
|
4476
|
+
|
3201
4477
|
# Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
|
3202
4478
|
# recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
|
3203
4479
|
# instead.
|
@@ -3230,6 +4506,11 @@ module Google
|
|
3230
4506
|
# @return [Google::Apis::ContainerV1::ConfidentialNodes]
|
3231
4507
|
attr_accessor :confidential_nodes
|
3232
4508
|
|
4509
|
+
# ContainerdConfig contains configuration to customize containerd.
|
4510
|
+
# Corresponds to the JSON property `containerdConfig`
|
4511
|
+
# @return [Google::Apis::ContainerV1::ContainerdConfig]
|
4512
|
+
attr_accessor :containerd_config
|
4513
|
+
|
3233
4514
|
# Size of the disk attached to each node, specified in GB. The smallest allowed
|
3234
4515
|
# disk size is 10GB. If unspecified, the default disk size is 100GB.
|
3235
4516
|
# Corresponds to the JSON property `diskSizeGb`
|
@@ -3242,8 +4523,22 @@ module Google
|
|
3242
4523
|
# @return [String]
|
3243
4524
|
attr_accessor :disk_type
|
3244
4525
|
|
4526
|
+
# Output only. effective_cgroup_mode is the cgroup mode actually used by the
|
4527
|
+
# node pool. It is determined by the cgroup mode specified in the
|
4528
|
+
# LinuxNodeConfig or the default cgroup mode based on the cluster creation
|
4529
|
+
# version.
|
4530
|
+
# Corresponds to the JSON property `effectiveCgroupMode`
|
4531
|
+
# @return [String]
|
4532
|
+
attr_accessor :effective_cgroup_mode
|
4533
|
+
|
4534
|
+
# Optional. Reserved for future use.
|
4535
|
+
# Corresponds to the JSON property `enableConfidentialStorage`
|
4536
|
+
# @return [Boolean]
|
4537
|
+
attr_accessor :enable_confidential_storage
|
4538
|
+
alias_method :enable_confidential_storage?, :enable_confidential_storage
|
4539
|
+
|
3245
4540
|
# EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
|
3246
|
-
# storage using Local
|
4541
|
+
# storage using Local SSDs.
|
3247
4542
|
# Corresponds to the JSON property `ephemeralStorageLocalSsdConfig`
|
3248
4543
|
# @return [Google::Apis::ContainerV1::EphemeralStorageLocalSsdConfig]
|
3249
4544
|
attr_accessor :ephemeral_storage_local_ssd_config
|
@@ -3253,6 +4548,12 @@ module Google
|
|
3253
4548
|
# @return [Google::Apis::ContainerV1::FastSocket]
|
3254
4549
|
attr_accessor :fast_socket
|
3255
4550
|
|
4551
|
+
# Flex Start flag for enabling Flex Start VM.
|
4552
|
+
# Corresponds to the JSON property `flexStart`
|
4553
|
+
# @return [Boolean]
|
4554
|
+
attr_accessor :flex_start
|
4555
|
+
alias_method :flex_start?, :flex_start
|
4556
|
+
|
3256
4557
|
# GcfsConfig contains configurations of Google Container File System (image
|
3257
4558
|
# streaming).
|
3258
4559
|
# Corresponds to the JSON property `gcfsConfig`
|
@@ -3265,7 +4566,8 @@ module Google
|
|
3265
4566
|
attr_accessor :gvnic
|
3266
4567
|
|
3267
4568
|
# The image type to use for this node. Note that for a given image type, the
|
3268
|
-
# latest version of it will be used.
|
4569
|
+
# latest version of it will be used. Please see https://cloud.google.com/
|
4570
|
+
# kubernetes-engine/docs/concepts/node-images for available image types.
|
3269
4571
|
# Corresponds to the JSON property `imageType`
|
3270
4572
|
# @return [String]
|
3271
4573
|
attr_accessor :image_type
|
@@ -3292,7 +4594,7 @@ module Google
|
|
3292
4594
|
attr_accessor :linux_node_config
|
3293
4595
|
|
3294
4596
|
# LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe
|
3295
|
-
#
|
4597
|
+
# SSDs
|
3296
4598
|
# Corresponds to the JSON property `localNvmeSsdBlockConfig`
|
3297
4599
|
# @return [Google::Apis::ContainerV1::LocalNvmeSsdBlockConfig]
|
3298
4600
|
attr_accessor :local_nvme_ssd_block_config
|
@@ -3305,6 +4607,12 @@ module Google
|
|
3305
4607
|
# @return [Fixnum]
|
3306
4608
|
attr_accessor :local_ssd_count
|
3307
4609
|
|
4610
|
+
# Specifies which method should be used for encrypting the Local SSDs attached
|
4611
|
+
# to the node.
|
4612
|
+
# Corresponds to the JSON property `localSsdEncryptionMode`
|
4613
|
+
# @return [String]
|
4614
|
+
attr_accessor :local_ssd_encryption_mode
|
4615
|
+
|
3308
4616
|
# NodePoolLoggingConfig specifies logging configuration for nodepools.
|
3309
4617
|
# Corresponds to the JSON property `loggingConfig`
|
3310
4618
|
# @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
|
@@ -3317,6 +4625,12 @@ module Google
|
|
3317
4625
|
# @return [String]
|
3318
4626
|
attr_accessor :machine_type
|
3319
4627
|
|
4628
|
+
# The maximum duration for the nodes to exist. If unspecified, the nodes can
|
4629
|
+
# exist indefinitely.
|
4630
|
+
# Corresponds to the JSON property `maxRunDuration`
|
4631
|
+
# @return [String]
|
4632
|
+
attr_accessor :max_run_duration
|
4633
|
+
|
3320
4634
|
# The metadata key/value pairs assigned to instances in the cluster. Keys must
|
3321
4635
|
# conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length.
|
3322
4636
|
# These are reflected as part of a URL in the metadata server. Additionally, to
|
@@ -3386,11 +4700,31 @@ module Google
|
|
3386
4700
|
# @return [Hash<String,String>]
|
3387
4701
|
attr_accessor :resource_labels
|
3388
4702
|
|
4703
|
+
# A map of resource manager tag keys and values to be attached to the nodes for
|
4704
|
+
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
4705
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
4706
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
4707
|
+
# specified. Existing tags will be replaced with new values.
|
4708
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
4709
|
+
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
|
4710
|
+
attr_accessor :resource_manager_tags
|
4711
|
+
|
3389
4712
|
# SandboxConfig contains configurations of the sandbox to use for the node.
|
3390
4713
|
# Corresponds to the JSON property `sandboxConfig`
|
3391
4714
|
# @return [Google::Apis::ContainerV1::SandboxConfig]
|
3392
4715
|
attr_accessor :sandbox_config
|
3393
4716
|
|
4717
|
+
# SecondaryBootDiskUpdateStrategy is a placeholder which will be extended in the
|
4718
|
+
# future to define different options for updating secondary boot disks.
|
4719
|
+
# Corresponds to the JSON property `secondaryBootDiskUpdateStrategy`
|
4720
|
+
# @return [Google::Apis::ContainerV1::SecondaryBootDiskUpdateStrategy]
|
4721
|
+
attr_accessor :secondary_boot_disk_update_strategy
|
4722
|
+
|
4723
|
+
# List of secondary boot disks attached to the nodes.
|
4724
|
+
# Corresponds to the JSON property `secondaryBootDisks`
|
4725
|
+
# @return [Array<Google::Apis::ContainerV1::SecondaryBootDisk>]
|
4726
|
+
attr_accessor :secondary_boot_disks
|
4727
|
+
|
3394
4728
|
# The Google Cloud Platform Service Account to be used by the node VMs. Specify
|
3395
4729
|
# the email address of the Service Account; otherwise, if no Service Account is
|
3396
4730
|
# specified, the "default" service account is used.
|
@@ -3403,6 +4737,12 @@ module Google
|
|
3403
4737
|
# @return [Google::Apis::ContainerV1::ShieldedInstanceConfig]
|
3404
4738
|
attr_accessor :shielded_instance_config
|
3405
4739
|
|
4740
|
+
# SoleTenantConfig contains the NodeAffinities to specify what shared sole
|
4741
|
+
# tenant node groups should back the node pool.
|
4742
|
+
# Corresponds to the JSON property `soleTenantConfig`
|
4743
|
+
# @return [Google::Apis::ContainerV1::SoleTenantConfig]
|
4744
|
+
attr_accessor :sole_tenant_config
|
4745
|
+
|
3406
4746
|
# Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible
|
3407
4747
|
# flag.
|
3408
4748
|
# Corresponds to the JSON property `spot`
|
@@ -3410,6 +4750,11 @@ module Google
|
|
3410
4750
|
attr_accessor :spot
|
3411
4751
|
alias_method :spot?, :spot
|
3412
4752
|
|
4753
|
+
# List of Storage Pools where boot disks are provisioned.
|
4754
|
+
# Corresponds to the JSON property `storagePools`
|
4755
|
+
# @return [Array<String>]
|
4756
|
+
attr_accessor :storage_pools
|
4757
|
+
|
3413
4758
|
# The list of instance tags applied to all nodes. Tags are used to identify
|
3414
4759
|
# valid sources or targets for network firewalls and are specified by the client
|
3415
4760
|
# during cluster or node pool creation. Each tag within the list must comply
|
@@ -3427,7 +4772,7 @@ module Google
|
|
3427
4772
|
|
3428
4773
|
# Parameters that can be configured on Windows nodes. Windows Node Config that
|
3429
4774
|
# define the parameters that will be used to configure the Windows node pool
|
3430
|
-
# settings
|
4775
|
+
# settings.
|
3431
4776
|
# Corresponds to the JSON property `windowsNodeConfig`
|
3432
4777
|
# @return [Google::Apis::ContainerV1::WindowsNodeConfig]
|
3433
4778
|
attr_accessor :windows_node_config
|
@@ -3448,10 +4793,14 @@ module Google
|
|
3448
4793
|
@advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
|
3449
4794
|
@boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
|
3450
4795
|
@confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
|
4796
|
+
@containerd_config = args[:containerd_config] if args.key?(:containerd_config)
|
3451
4797
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
3452
4798
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
4799
|
+
@effective_cgroup_mode = args[:effective_cgroup_mode] if args.key?(:effective_cgroup_mode)
|
4800
|
+
@enable_confidential_storage = args[:enable_confidential_storage] if args.key?(:enable_confidential_storage)
|
3453
4801
|
@ephemeral_storage_local_ssd_config = args[:ephemeral_storage_local_ssd_config] if args.key?(:ephemeral_storage_local_ssd_config)
|
3454
4802
|
@fast_socket = args[:fast_socket] if args.key?(:fast_socket)
|
4803
|
+
@flex_start = args[:flex_start] if args.key?(:flex_start)
|
3455
4804
|
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
|
3456
4805
|
@gvnic = args[:gvnic] if args.key?(:gvnic)
|
3457
4806
|
@image_type = args[:image_type] if args.key?(:image_type)
|
@@ -3460,8 +4809,10 @@ module Google
|
|
3460
4809
|
@linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
|
3461
4810
|
@local_nvme_ssd_block_config = args[:local_nvme_ssd_block_config] if args.key?(:local_nvme_ssd_block_config)
|
3462
4811
|
@local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
|
4812
|
+
@local_ssd_encryption_mode = args[:local_ssd_encryption_mode] if args.key?(:local_ssd_encryption_mode)
|
3463
4813
|
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
3464
4814
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
4815
|
+
@max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
|
3465
4816
|
@metadata = args[:metadata] if args.key?(:metadata)
|
3466
4817
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
3467
4818
|
@node_group = args[:node_group] if args.key?(:node_group)
|
@@ -3469,10 +4820,15 @@ module Google
|
|
3469
4820
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
3470
4821
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
3471
4822
|
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
4823
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
3472
4824
|
@sandbox_config = args[:sandbox_config] if args.key?(:sandbox_config)
|
4825
|
+
@secondary_boot_disk_update_strategy = args[:secondary_boot_disk_update_strategy] if args.key?(:secondary_boot_disk_update_strategy)
|
4826
|
+
@secondary_boot_disks = args[:secondary_boot_disks] if args.key?(:secondary_boot_disks)
|
3473
4827
|
@service_account = args[:service_account] if args.key?(:service_account)
|
3474
4828
|
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
4829
|
+
@sole_tenant_config = args[:sole_tenant_config] if args.key?(:sole_tenant_config)
|
3475
4830
|
@spot = args[:spot] if args.key?(:spot)
|
4831
|
+
@storage_pools = args[:storage_pools] if args.key?(:storage_pools)
|
3476
4832
|
@tags = args[:tags] if args.key?(:tags)
|
3477
4833
|
@taints = args[:taints] if args.key?(:taints)
|
3478
4834
|
@windows_node_config = args[:windows_node_config] if args.key?(:windows_node_config)
|
@@ -3484,6 +4840,11 @@ module Google
|
|
3484
4840
|
class NodeConfigDefaults
|
3485
4841
|
include Google::Apis::Core::Hashable
|
3486
4842
|
|
4843
|
+
# ContainerdConfig contains configuration to customize containerd.
|
4844
|
+
# Corresponds to the JSON property `containerdConfig`
|
4845
|
+
# @return [Google::Apis::ContainerV1::ContainerdConfig]
|
4846
|
+
attr_accessor :containerd_config
|
4847
|
+
|
3487
4848
|
# GcfsConfig contains configurations of Google Container File System (image
|
3488
4849
|
# streaming).
|
3489
4850
|
# Corresponds to the JSON property `gcfsConfig`
|
@@ -3495,14 +4856,21 @@ module Google
|
|
3495
4856
|
# @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
|
3496
4857
|
attr_accessor :logging_config
|
3497
4858
|
|
4859
|
+
# Node kubelet configs.
|
4860
|
+
# Corresponds to the JSON property `nodeKubeletConfig`
|
4861
|
+
# @return [Google::Apis::ContainerV1::NodeKubeletConfig]
|
4862
|
+
attr_accessor :node_kubelet_config
|
4863
|
+
|
3498
4864
|
def initialize(**args)
|
3499
4865
|
update!(**args)
|
3500
4866
|
end
|
3501
4867
|
|
3502
4868
|
# Update properties of this object
|
3503
4869
|
def update!(**args)
|
4870
|
+
@containerd_config = args[:containerd_config] if args.key?(:containerd_config)
|
3504
4871
|
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
|
3505
4872
|
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
4873
|
+
@node_kubelet_config = args[:node_kubelet_config] if args.key?(:node_kubelet_config)
|
3506
4874
|
end
|
3507
4875
|
end
|
3508
4876
|
|
@@ -3510,6 +4878,37 @@ module Google
|
|
3510
4878
|
class NodeKubeletConfig
|
3511
4879
|
include Google::Apis::Core::Hashable
|
3512
4880
|
|
4881
|
+
# Optional. Defines a comma-separated allowlist of unsafe sysctls or sysctl
|
4882
|
+
# patterns (ending in `*`). The unsafe namespaced sysctl groups are `kernel.shm*`
|
4883
|
+
# , `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`. Leaving this
|
4884
|
+
# allowlist empty means they cannot be set on Pods. To allow certain sysctls or
|
4885
|
+
# sysctl patterns to be set on Pods, list them separated by commas. For example:
|
4886
|
+
# `kernel.msg*,net.ipv4.route.min_pmtu`. See https://kubernetes.io/docs/tasks/
|
4887
|
+
# administer-cluster/sysctl-cluster/ for more details.
|
4888
|
+
# Corresponds to the JSON property `allowedUnsafeSysctls`
|
4889
|
+
# @return [Array<String>]
|
4890
|
+
attr_accessor :allowed_unsafe_sysctls
|
4891
|
+
|
4892
|
+
# Optional. Defines the maximum number of container log files that can be
|
4893
|
+
# present for a container. See https://kubernetes.io/docs/concepts/cluster-
|
4894
|
+
# administration/logging/#log-rotation The value must be an integer between 2
|
4895
|
+
# and 10, inclusive. The default value is 5 if unspecified.
|
4896
|
+
# Corresponds to the JSON property `containerLogMaxFiles`
|
4897
|
+
# @return [Fixnum]
|
4898
|
+
attr_accessor :container_log_max_files
|
4899
|
+
|
4900
|
+
# Optional. Defines the maximum size of the container log file before it is
|
4901
|
+
# rotated. See https://kubernetes.io/docs/concepts/cluster-administration/
|
4902
|
+
# logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi.
|
4903
|
+
# Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi,
|
4904
|
+
# inclusive. Note that the total container log size (container_log_max_size *
|
4905
|
+
# container_log_max_files) cannot exceed 1% of the total storage of the node, to
|
4906
|
+
# avoid disk pressure caused by log files. The default value is 10Mi if
|
4907
|
+
# unspecified.
|
4908
|
+
# Corresponds to the JSON property `containerLogMaxSize`
|
4909
|
+
# @return [String]
|
4910
|
+
attr_accessor :container_log_max_size
|
4911
|
+
|
3513
4912
|
# Enable CPU CFS quota enforcement for containers that specify CPU limits. This
|
3514
4913
|
# option is enabled by default which makes kubelet use CFS quota (https://www.
|
3515
4914
|
# kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU
|
@@ -3540,6 +4939,50 @@ module Google
|
|
3540
4939
|
# @return [String]
|
3541
4940
|
attr_accessor :cpu_manager_policy
|
3542
4941
|
|
4942
|
+
# Optional. Defines the percent of disk usage after which image garbage
|
4943
|
+
# collection is always run. The percent is calculated as this field value out of
|
4944
|
+
# 100. The value must be between 10 and 85, inclusive and greater than
|
4945
|
+
# image_gc_low_threshold_percent. The default value is 85 if unspecified.
|
4946
|
+
# Corresponds to the JSON property `imageGcHighThresholdPercent`
|
4947
|
+
# @return [Fixnum]
|
4948
|
+
attr_accessor :image_gc_high_threshold_percent
|
4949
|
+
|
4950
|
+
# Optional. Defines the percent of disk usage before which image garbage
|
4951
|
+
# collection is never run. Lowest disk usage to garbage collect to. The percent
|
4952
|
+
# is calculated as this field value out of 100. The value must be between 10 and
|
4953
|
+
# 85, inclusive and smaller than image_gc_high_threshold_percent. The default
|
4954
|
+
# value is 80 if unspecified.
|
4955
|
+
# Corresponds to the JSON property `imageGcLowThresholdPercent`
|
4956
|
+
# @return [Fixnum]
|
4957
|
+
attr_accessor :image_gc_low_threshold_percent
|
4958
|
+
|
4959
|
+
# Optional. Defines the maximum age an image can be unused before it is garbage
|
4960
|
+
# collected. The string must be a sequence of decimal numbers, each with
|
4961
|
+
# optional fraction and a unit suffix, such as "300s", "1.5h", and "2h45m".
|
4962
|
+
# Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must
|
4963
|
+
# be a positive duration greater than image_minimum_gc_age or "0s". The default
|
4964
|
+
# value is "0s" if unspecified, which disables this field, meaning images won't
|
4965
|
+
# be garbage collected based on being unused for too long.
|
4966
|
+
# Corresponds to the JSON property `imageMaximumGcAge`
|
4967
|
+
# @return [String]
|
4968
|
+
attr_accessor :image_maximum_gc_age
|
4969
|
+
|
4970
|
+
# Optional. Defines the minimum age for an unused image before it is garbage
|
4971
|
+
# collected. The string must be a sequence of decimal numbers, each with
|
4972
|
+
# optional fraction and a unit suffix, such as "300s", "1.5h", and "2h45m".
|
4973
|
+
# Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must
|
4974
|
+
# be a positive duration less than or equal to 2 minutes. The default value is "
|
4975
|
+
# 2m0s" if unspecified.
|
4976
|
+
# Corresponds to the JSON property `imageMinimumGcAge`
|
4977
|
+
# @return [String]
|
4978
|
+
attr_accessor :image_minimum_gc_age
|
4979
|
+
|
4980
|
+
# Enable or disable Kubelet read only port.
|
4981
|
+
# Corresponds to the JSON property `insecureKubeletReadonlyPortEnabled`
|
4982
|
+
# @return [Boolean]
|
4983
|
+
attr_accessor :insecure_kubelet_readonly_port_enabled
|
4984
|
+
alias_method :insecure_kubelet_readonly_port_enabled?, :insecure_kubelet_readonly_port_enabled
|
4985
|
+
|
3543
4986
|
# Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-
|
3544
4987
|
# limiting/#pod-pid-limits Controls the maximum number of processes allowed to
|
3545
4988
|
# run in a pod. The value must be greater than or equal to 1024 and less than
|
@@ -3554,9 +4997,17 @@ module Google
|
|
3554
4997
|
|
3555
4998
|
# Update properties of this object
|
3556
4999
|
def update!(**args)
|
5000
|
+
@allowed_unsafe_sysctls = args[:allowed_unsafe_sysctls] if args.key?(:allowed_unsafe_sysctls)
|
5001
|
+
@container_log_max_files = args[:container_log_max_files] if args.key?(:container_log_max_files)
|
5002
|
+
@container_log_max_size = args[:container_log_max_size] if args.key?(:container_log_max_size)
|
3557
5003
|
@cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
|
3558
5004
|
@cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
|
3559
5005
|
@cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
|
5006
|
+
@image_gc_high_threshold_percent = args[:image_gc_high_threshold_percent] if args.key?(:image_gc_high_threshold_percent)
|
5007
|
+
@image_gc_low_threshold_percent = args[:image_gc_low_threshold_percent] if args.key?(:image_gc_low_threshold_percent)
|
5008
|
+
@image_maximum_gc_age = args[:image_maximum_gc_age] if args.key?(:image_maximum_gc_age)
|
5009
|
+
@image_minimum_gc_age = args[:image_minimum_gc_age] if args.key?(:image_minimum_gc_age)
|
5010
|
+
@insecure_kubelet_readonly_port_enabled = args[:insecure_kubelet_readonly_port_enabled] if args.key?(:insecure_kubelet_readonly_port_enabled)
|
3560
5011
|
@pod_pids_limit = args[:pod_pids_limit] if args.key?(:pod_pids_limit)
|
3561
5012
|
end
|
3562
5013
|
end
|
@@ -3625,6 +5076,18 @@ module Google
|
|
3625
5076
|
class NodeNetworkConfig
|
3626
5077
|
include Google::Apis::Core::Hashable
|
3627
5078
|
|
5079
|
+
# We specify the additional node networks for this node pool using this list.
|
5080
|
+
# Each node network corresponds to an additional interface
|
5081
|
+
# Corresponds to the JSON property `additionalNodeNetworkConfigs`
|
5082
|
+
# @return [Array<Google::Apis::ContainerV1::AdditionalNodeNetworkConfig>]
|
5083
|
+
attr_accessor :additional_node_network_configs
|
5084
|
+
|
5085
|
+
# We specify the additional pod networks for this node pool using this list.
|
5086
|
+
# Each pod network corresponds to an additional alias IP range for the node
|
5087
|
+
# Corresponds to the JSON property `additionalPodNetworkConfigs`
|
5088
|
+
# @return [Array<Google::Apis::ContainerV1::AdditionalPodNetworkConfig>]
|
5089
|
+
attr_accessor :additional_pod_network_configs
|
5090
|
+
|
3628
5091
|
# Input only. Whether to create a new range for pod IPs in this node pool.
|
3629
5092
|
# Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are
|
3630
5093
|
# not specified. If neither `create_pod_range` or `pod_range` are specified, the
|
@@ -3637,8 +5100,8 @@ module Google
|
|
3637
5100
|
alias_method :create_pod_range?, :create_pod_range
|
3638
5101
|
|
3639
5102
|
# Whether nodes have internal IP addresses only. If enable_private_nodes is not
|
3640
|
-
# specified, then the value is derived from
|
3641
|
-
#
|
5103
|
+
# specified, then the value is derived from Cluster.NetworkConfig.
|
5104
|
+
# default_enable_private_nodes
|
3642
5105
|
# Corresponds to the JSON property `enablePrivateNodes`
|
3643
5106
|
# @return [Boolean]
|
3644
5107
|
attr_accessor :enable_private_nodes
|
@@ -3649,6 +5112,11 @@ module Google
|
|
3649
5112
|
# @return [Google::Apis::ContainerV1::NetworkPerformanceConfig]
|
3650
5113
|
attr_accessor :network_performance_config
|
3651
5114
|
|
5115
|
+
# [PRIVATE FIELD] Config for pod CIDR size overprovisioning.
|
5116
|
+
# Corresponds to the JSON property `podCidrOverprovisionConfig`
|
5117
|
+
# @return [Google::Apis::ContainerV1::PodCidrOverprovisionConfig]
|
5118
|
+
attr_accessor :pod_cidr_overprovision_config
|
5119
|
+
|
3652
5120
|
# The IP address range for pod IPs in this node pool. Only applicable if `
|
3653
5121
|
# create_pod_range` is true. Set to blank to have a range chosen with the
|
3654
5122
|
# default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
@@ -3660,6 +5128,13 @@ module Google
|
|
3660
5128
|
# @return [String]
|
3661
5129
|
attr_accessor :pod_ipv4_cidr_block
|
3662
5130
|
|
5131
|
+
# Output only. The utilization of the IPv4 range for the pod. The ratio is Usage/
|
5132
|
+
# [Total number of IPs in the secondary range], Usage=numNodes*numZones*
|
5133
|
+
# podIPsPerNode.
|
5134
|
+
# Corresponds to the JSON property `podIpv4RangeUtilization`
|
5135
|
+
# @return [Float]
|
5136
|
+
attr_accessor :pod_ipv4_range_utilization
|
5137
|
+
|
3663
5138
|
# The ID of the secondary range for pod IPs. If `create_pod_range` is true, this
|
3664
5139
|
# ID is used for the new range. If `create_pod_range` is false, uses an existing
|
3665
5140
|
# secondary range with this ID. Only applicable if `ip_allocation_policy.
|
@@ -3675,10 +5150,14 @@ module Google
|
|
3675
5150
|
|
3676
5151
|
# Update properties of this object
|
3677
5152
|
def update!(**args)
|
5153
|
+
@additional_node_network_configs = args[:additional_node_network_configs] if args.key?(:additional_node_network_configs)
|
5154
|
+
@additional_pod_network_configs = args[:additional_pod_network_configs] if args.key?(:additional_pod_network_configs)
|
3678
5155
|
@create_pod_range = args[:create_pod_range] if args.key?(:create_pod_range)
|
3679
5156
|
@enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
|
3680
5157
|
@network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
|
5158
|
+
@pod_cidr_overprovision_config = args[:pod_cidr_overprovision_config] if args.key?(:pod_cidr_overprovision_config)
|
3681
5159
|
@pod_ipv4_cidr_block = args[:pod_ipv4_cidr_block] if args.key?(:pod_ipv4_cidr_block)
|
5160
|
+
@pod_ipv4_range_utilization = args[:pod_ipv4_range_utilization] if args.key?(:pod_ipv4_range_utilization)
|
3682
5161
|
@pod_range = args[:pod_range] if args.key?(:pod_range)
|
3683
5162
|
end
|
3684
5163
|
end
|
@@ -3692,12 +5171,22 @@ module Google
|
|
3692
5171
|
class NodePool
|
3693
5172
|
include Google::Apis::Core::Hashable
|
3694
5173
|
|
5174
|
+
# AutopilotConfig contains configuration of autopilot feature for this nodepool.
|
5175
|
+
# Corresponds to the JSON property `autopilotConfig`
|
5176
|
+
# @return [Google::Apis::ContainerV1::AutopilotConfig]
|
5177
|
+
attr_accessor :autopilot_config
|
5178
|
+
|
3695
5179
|
# NodePoolAutoscaling contains information required by cluster autoscaler to
|
3696
5180
|
# adjust the size of the node pool to the current cluster usage.
|
3697
5181
|
# Corresponds to the JSON property `autoscaling`
|
3698
5182
|
# @return [Google::Apis::ContainerV1::NodePoolAutoscaling]
|
3699
5183
|
attr_accessor :autoscaling
|
3700
5184
|
|
5185
|
+
# Best effort provisioning.
|
5186
|
+
# Corresponds to the JSON property `bestEffortProvisioning`
|
5187
|
+
# @return [Google::Apis::ContainerV1::BestEffortProvisioning]
|
5188
|
+
attr_accessor :best_effort_provisioning
|
5189
|
+
|
3701
5190
|
# Which conditions caused the current node pool state.
|
3702
5191
|
# Corresponds to the JSON property `conditions`
|
3703
5192
|
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
@@ -3725,7 +5214,7 @@ module Google
|
|
3725
5214
|
# @return [Fixnum]
|
3726
5215
|
attr_accessor :initial_node_count
|
3727
5216
|
|
3728
|
-
#
|
5217
|
+
# Output only. The resource URLs of the [managed instance groups](https://cloud.
|
3729
5218
|
# google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
3730
5219
|
# associated with this node pool. During the node pool blue-green upgrade
|
3731
5220
|
# operation, the URLs contain both blue and green resources.
|
@@ -3769,22 +5258,27 @@ module Google
|
|
3769
5258
|
# @return [Google::Apis::ContainerV1::PlacementPolicy]
|
3770
5259
|
attr_accessor :placement_policy
|
3771
5260
|
|
3772
|
-
#
|
5261
|
+
# Output only. The pod CIDR block size per node in this node pool.
|
3773
5262
|
# Corresponds to the JSON property `podIpv4CidrSize`
|
3774
5263
|
# @return [Fixnum]
|
3775
5264
|
attr_accessor :pod_ipv4_cidr_size
|
3776
5265
|
|
3777
|
-
#
|
5266
|
+
# QueuedProvisioning defines the queued provisioning used by the node pool.
|
5267
|
+
# Corresponds to the JSON property `queuedProvisioning`
|
5268
|
+
# @return [Google::Apis::ContainerV1::QueuedProvisioning]
|
5269
|
+
attr_accessor :queued_provisioning
|
5270
|
+
|
5271
|
+
# Output only. Server-defined URL for the resource.
|
3778
5272
|
# Corresponds to the JSON property `selfLink`
|
3779
5273
|
# @return [String]
|
3780
5274
|
attr_accessor :self_link
|
3781
5275
|
|
3782
|
-
#
|
5276
|
+
# Output only. The status of the nodes in this pool instance.
|
3783
5277
|
# Corresponds to the JSON property `status`
|
3784
5278
|
# @return [String]
|
3785
5279
|
attr_accessor :status
|
3786
5280
|
|
3787
|
-
#
|
5281
|
+
# Output only. Deprecated. Use conditions instead. Additional information about
|
3788
5282
|
# the current status of this node pool instance, if available.
|
3789
5283
|
# Corresponds to the JSON property `statusMessage`
|
3790
5284
|
# @return [String]
|
@@ -3831,7 +5325,9 @@ module Google
|
|
3831
5325
|
# @return [Google::Apis::ContainerV1::UpgradeSettings]
|
3832
5326
|
attr_accessor :upgrade_settings
|
3833
5327
|
|
3834
|
-
# The version of
|
5328
|
+
# The version of Kubernetes running on this NodePool's nodes. If unspecified, it
|
5329
|
+
# defaults as described [here](https://cloud.google.com/kubernetes-engine/
|
5330
|
+
# versioning#specifying_node_version).
|
3835
5331
|
# Corresponds to the JSON property `version`
|
3836
5332
|
# @return [String]
|
3837
5333
|
attr_accessor :version
|
@@ -3842,7 +5338,9 @@ module Google
|
|
3842
5338
|
|
3843
5339
|
# Update properties of this object
|
3844
5340
|
def update!(**args)
|
5341
|
+
@autopilot_config = args[:autopilot_config] if args.key?(:autopilot_config)
|
3845
5342
|
@autoscaling = args[:autoscaling] if args.key?(:autoscaling)
|
5343
|
+
@best_effort_provisioning = args[:best_effort_provisioning] if args.key?(:best_effort_provisioning)
|
3846
5344
|
@conditions = args[:conditions] if args.key?(:conditions)
|
3847
5345
|
@config = args[:config] if args.key?(:config)
|
3848
5346
|
@etag = args[:etag] if args.key?(:etag)
|
@@ -3855,6 +5353,7 @@ module Google
|
|
3855
5353
|
@network_config = args[:network_config] if args.key?(:network_config)
|
3856
5354
|
@placement_policy = args[:placement_policy] if args.key?(:placement_policy)
|
3857
5355
|
@pod_ipv4_cidr_size = args[:pod_ipv4_cidr_size] if args.key?(:pod_ipv4_cidr_size)
|
5356
|
+
@queued_provisioning = args[:queued_provisioning] if args.key?(:queued_provisioning)
|
3858
5357
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3859
5358
|
@status = args[:status] if args.key?(:status)
|
3860
5359
|
@status_message = args[:status_message] if args.key?(:status_message)
|
@@ -3869,19 +5368,41 @@ module Google
|
|
3869
5368
|
class NodePoolAutoConfig
|
3870
5369
|
include Google::Apis::Core::Hashable
|
3871
5370
|
|
5371
|
+
# Parameters that can be configured on Linux nodes.
|
5372
|
+
# Corresponds to the JSON property `linuxNodeConfig`
|
5373
|
+
# @return [Google::Apis::ContainerV1::LinuxNodeConfig]
|
5374
|
+
attr_accessor :linux_node_config
|
5375
|
+
|
3872
5376
|
# Collection of Compute Engine network tags that can be applied to a node's
|
3873
5377
|
# underlying VM instance.
|
3874
5378
|
# Corresponds to the JSON property `networkTags`
|
3875
5379
|
# @return [Google::Apis::ContainerV1::NetworkTags]
|
3876
5380
|
attr_accessor :network_tags
|
3877
5381
|
|
5382
|
+
# Node kubelet configs.
|
5383
|
+
# Corresponds to the JSON property `nodeKubeletConfig`
|
5384
|
+
# @return [Google::Apis::ContainerV1::NodeKubeletConfig]
|
5385
|
+
attr_accessor :node_kubelet_config
|
5386
|
+
|
5387
|
+
# A map of resource manager tag keys and values to be attached to the nodes for
|
5388
|
+
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
5389
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
5390
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
5391
|
+
# specified. Existing tags will be replaced with new values.
|
5392
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
5393
|
+
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
|
5394
|
+
attr_accessor :resource_manager_tags
|
5395
|
+
|
3878
5396
|
def initialize(**args)
|
3879
5397
|
update!(**args)
|
3880
5398
|
end
|
3881
5399
|
|
3882
5400
|
# Update properties of this object
|
3883
5401
|
def update!(**args)
|
5402
|
+
@linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
|
3884
5403
|
@network_tags = args[:network_tags] if args.key?(:network_tags)
|
5404
|
+
@node_kubelet_config = args[:node_kubelet_config] if args.key?(:node_kubelet_config)
|
5405
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
3885
5406
|
end
|
3886
5407
|
end
|
3887
5408
|
|
@@ -3907,19 +5428,19 @@ module Google
|
|
3907
5428
|
# @return [String]
|
3908
5429
|
attr_accessor :location_policy
|
3909
5430
|
|
3910
|
-
# Maximum number of nodes for one location in the
|
5431
|
+
# Maximum number of nodes for one location in the node pool. Must be >=
|
3911
5432
|
# min_node_count. There has to be enough quota to scale up the cluster.
|
3912
5433
|
# Corresponds to the JSON property `maxNodeCount`
|
3913
5434
|
# @return [Fixnum]
|
3914
5435
|
attr_accessor :max_node_count
|
3915
5436
|
|
3916
|
-
# Minimum number of nodes for one location in the
|
3917
|
-
# max_node_count.
|
5437
|
+
# Minimum number of nodes for one location in the node pool. Must be greater
|
5438
|
+
# than or equal to 0 and less than or equal to max_node_count.
|
3918
5439
|
# Corresponds to the JSON property `minNodeCount`
|
3919
5440
|
# @return [Fixnum]
|
3920
5441
|
attr_accessor :min_node_count
|
3921
5442
|
|
3922
|
-
# Maximum number of nodes in the node pool. Must be greater than
|
5443
|
+
# Maximum number of nodes in the node pool. Must be greater than or equal to
|
3923
5444
|
# total_min_node_count. There has to be enough quota to scale up the cluster.
|
3924
5445
|
# The total_*_node_count fields are mutually exclusive with the *_node_count
|
3925
5446
|
# fields.
|
@@ -3927,9 +5448,9 @@ module Google
|
|
3927
5448
|
# @return [Fixnum]
|
3928
5449
|
attr_accessor :total_max_node_count
|
3929
5450
|
|
3930
|
-
# Minimum number of nodes in the node pool. Must be greater than
|
3931
|
-
# total_max_node_count. The total_*_node_count fields
|
3932
|
-
# with the *_node_count fields.
|
5451
|
+
# Minimum number of nodes in the node pool. Must be greater than or equal to 0
|
5452
|
+
# and less than or equal to total_max_node_count. The total_*_node_count fields
|
5453
|
+
# are mutually exclusive with the *_node_count fields.
|
3933
5454
|
# Corresponds to the JSON property `totalMinNodeCount`
|
3934
5455
|
# @return [Fixnum]
|
3935
5456
|
attr_accessor :total_min_node_count
|
@@ -3988,7 +5509,62 @@ module Google
|
|
3988
5509
|
end
|
3989
5510
|
end
|
3990
5511
|
|
3991
|
-
#
|
5512
|
+
# NodePoolUpgradeInfo contains the upgrade information of a nodepool.
|
5513
|
+
class NodePoolUpgradeInfo
|
5514
|
+
include Google::Apis::Core::Hashable
|
5515
|
+
|
5516
|
+
# The auto upgrade status.
|
5517
|
+
# Corresponds to the JSON property `autoUpgradeStatus`
|
5518
|
+
# @return [Array<String>]
|
5519
|
+
attr_accessor :auto_upgrade_status
|
5520
|
+
|
5521
|
+
# The nodepool's current minor version's end of extended support timestamp.
|
5522
|
+
# Corresponds to the JSON property `endOfExtendedSupportTimestamp`
|
5523
|
+
# @return [String]
|
5524
|
+
attr_accessor :end_of_extended_support_timestamp
|
5525
|
+
|
5526
|
+
# The nodepool's current minor version's end of standard support timestamp.
|
5527
|
+
# Corresponds to the JSON property `endOfStandardSupportTimestamp`
|
5528
|
+
# @return [String]
|
5529
|
+
attr_accessor :end_of_standard_support_timestamp
|
5530
|
+
|
5531
|
+
# minor_target_version indicates the target version for minor upgrade.
|
5532
|
+
# Corresponds to the JSON property `minorTargetVersion`
|
5533
|
+
# @return [String]
|
5534
|
+
attr_accessor :minor_target_version
|
5535
|
+
|
5536
|
+
# patch_target_version indicates the target version for patch upgrade.
|
5537
|
+
# Corresponds to the JSON property `patchTargetVersion`
|
5538
|
+
# @return [String]
|
5539
|
+
attr_accessor :patch_target_version
|
5540
|
+
|
5541
|
+
# The auto upgrade paused reason.
|
5542
|
+
# Corresponds to the JSON property `pausedReason`
|
5543
|
+
# @return [Array<String>]
|
5544
|
+
attr_accessor :paused_reason
|
5545
|
+
|
5546
|
+
# The list of past auto upgrades.
|
5547
|
+
# Corresponds to the JSON property `upgradeDetails`
|
5548
|
+
# @return [Array<Google::Apis::ContainerV1::UpgradeDetails>]
|
5549
|
+
attr_accessor :upgrade_details
|
5550
|
+
|
5551
|
+
def initialize(**args)
|
5552
|
+
update!(**args)
|
5553
|
+
end
|
5554
|
+
|
5555
|
+
# Update properties of this object
|
5556
|
+
def update!(**args)
|
5557
|
+
@auto_upgrade_status = args[:auto_upgrade_status] if args.key?(:auto_upgrade_status)
|
5558
|
+
@end_of_extended_support_timestamp = args[:end_of_extended_support_timestamp] if args.key?(:end_of_extended_support_timestamp)
|
5559
|
+
@end_of_standard_support_timestamp = args[:end_of_standard_support_timestamp] if args.key?(:end_of_standard_support_timestamp)
|
5560
|
+
@minor_target_version = args[:minor_target_version] if args.key?(:minor_target_version)
|
5561
|
+
@patch_target_version = args[:patch_target_version] if args.key?(:patch_target_version)
|
5562
|
+
@paused_reason = args[:paused_reason] if args.key?(:paused_reason)
|
5563
|
+
@upgrade_details = args[:upgrade_details] if args.key?(:upgrade_details)
|
5564
|
+
end
|
5565
|
+
end
|
5566
|
+
|
5567
|
+
# Kubernetes taint is composed of three fields: key, value, and effect. Effect
|
3992
5568
|
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
|
3993
5569
|
# [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
|
3994
5570
|
# for more information, including usage and the valid values.
|
@@ -4072,12 +5648,12 @@ module Google
|
|
4072
5648
|
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
4073
5649
|
attr_accessor :cluster_conditions
|
4074
5650
|
|
4075
|
-
# Detailed operation progress, if available.
|
5651
|
+
# Output only. Detailed operation progress, if available.
|
4076
5652
|
# Corresponds to the JSON property `detail`
|
4077
5653
|
# @return [String]
|
4078
5654
|
attr_accessor :detail
|
4079
5655
|
|
4080
|
-
#
|
5656
|
+
# Output only. The time the operation completed, in [RFC3339](https://www.ietf.
|
4081
5657
|
# org/rfc/rfc3339.txt) text format.
|
4082
5658
|
# Corresponds to the JSON property `endTime`
|
4083
5659
|
# @return [String]
|
@@ -4093,15 +5669,15 @@ module Google
|
|
4093
5669
|
# @return [Google::Apis::ContainerV1::Status]
|
4094
5670
|
attr_accessor :error
|
4095
5671
|
|
4096
|
-
#
|
4097
|
-
#
|
4098
|
-
#
|
4099
|
-
#
|
5672
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
5673
|
+
# com/compute/docs/regions-zones/regions-zones#available) or [region](https://
|
5674
|
+
# cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
|
5675
|
+
# the cluster resides.
|
4100
5676
|
# Corresponds to the JSON property `location`
|
4101
5677
|
# @return [String]
|
4102
5678
|
attr_accessor :location
|
4103
5679
|
|
4104
|
-
# The server-assigned ID for the operation.
|
5680
|
+
# Output only. The server-assigned ID for the operation.
|
4105
5681
|
# Corresponds to the JSON property `name`
|
4106
5682
|
# @return [String]
|
4107
5683
|
attr_accessor :name
|
@@ -4112,7 +5688,7 @@ module Google
|
|
4112
5688
|
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
4113
5689
|
attr_accessor :nodepool_conditions
|
4114
5690
|
|
4115
|
-
# The operation type.
|
5691
|
+
# Output only. The operation type.
|
4116
5692
|
# Corresponds to the JSON property `operationType`
|
4117
5693
|
# @return [String]
|
4118
5694
|
attr_accessor :operation_type
|
@@ -4122,18 +5698,20 @@ module Google
|
|
4122
5698
|
# @return [Google::Apis::ContainerV1::OperationProgress]
|
4123
5699
|
attr_accessor :progress
|
4124
5700
|
|
4125
|
-
# Server-defined
|
5701
|
+
# Output only. Server-defined URI for the operation. Example: `https://container.
|
5702
|
+
# googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/
|
5703
|
+
# operation-123`.
|
4126
5704
|
# Corresponds to the JSON property `selfLink`
|
4127
5705
|
# @return [String]
|
4128
5706
|
attr_accessor :self_link
|
4129
5707
|
|
4130
|
-
#
|
4131
|
-
#
|
5708
|
+
# Output only. The time the operation started, in [RFC3339](https://www.ietf.org/
|
5709
|
+
# rfc/rfc3339.txt) text format.
|
4132
5710
|
# Corresponds to the JSON property `startTime`
|
4133
5711
|
# @return [String]
|
4134
5712
|
attr_accessor :start_time
|
4135
5713
|
|
4136
|
-
# The current status of the operation.
|
5714
|
+
# Output only. The current status of the operation.
|
4137
5715
|
# Corresponds to the JSON property `status`
|
4138
5716
|
# @return [String]
|
4139
5717
|
attr_accessor :status
|
@@ -4144,14 +5722,21 @@ module Google
|
|
4144
5722
|
# @return [String]
|
4145
5723
|
attr_accessor :status_message
|
4146
5724
|
|
4147
|
-
# Server-defined
|
5725
|
+
# Output only. Server-defined URI for the target of the operation. The format of
|
5726
|
+
# this is a URI to the resource being modified (such as a cluster, node pool, or
|
5727
|
+
# node). For node pool repairs, there may be multiple nodes being repaired, but
|
5728
|
+
# only one will be the target. Examples: - ## `https://container.googleapis.com/
|
5729
|
+
# v1/projects/123/locations/us-central1/clusters/my-cluster` ## `https://
|
5730
|
+
# container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-
|
5731
|
+
# cluster/nodePools/my-np` `https://container.googleapis.com/v1/projects/123/
|
5732
|
+
# zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
|
4148
5733
|
# Corresponds to the JSON property `targetLink`
|
4149
5734
|
# @return [String]
|
4150
5735
|
attr_accessor :target_link
|
4151
5736
|
|
4152
|
-
# The name of the Google Compute Engine [zone](https://cloud.google.
|
4153
|
-
# docs/zones#available) in which the operation is taking place. This
|
4154
|
-
# deprecated, use location instead.
|
5737
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
5738
|
+
# com/compute/docs/zones#available) in which the operation is taking place. This
|
5739
|
+
# field is deprecated, use location instead.
|
4155
5740
|
# Corresponds to the JSON property `zone`
|
4156
5741
|
# @return [String]
|
4157
5742
|
attr_accessor :zone
|
@@ -4180,6 +5765,38 @@ module Google
|
|
4180
5765
|
end
|
4181
5766
|
end
|
4182
5767
|
|
5768
|
+
# OperationError records errors seen from CloudKMS keys encountered during
|
5769
|
+
# updates to DatabaseEncryption configuration.
|
5770
|
+
class OperationError
|
5771
|
+
include Google::Apis::Core::Hashable
|
5772
|
+
|
5773
|
+
# Description of the error seen during the operation.
|
5774
|
+
# Corresponds to the JSON property `errorMessage`
|
5775
|
+
# @return [String]
|
5776
|
+
attr_accessor :error_message
|
5777
|
+
|
5778
|
+
# CloudKMS key resource that had the error.
|
5779
|
+
# Corresponds to the JSON property `keyName`
|
5780
|
+
# @return [String]
|
5781
|
+
attr_accessor :key_name
|
5782
|
+
|
5783
|
+
# Time when the CloudKMS error was seen.
|
5784
|
+
# Corresponds to the JSON property `timestamp`
|
5785
|
+
# @return [String]
|
5786
|
+
attr_accessor :timestamp
|
5787
|
+
|
5788
|
+
def initialize(**args)
|
5789
|
+
update!(**args)
|
5790
|
+
end
|
5791
|
+
|
5792
|
+
# Update properties of this object
|
5793
|
+
def update!(**args)
|
5794
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
5795
|
+
@key_name = args[:key_name] if args.key?(:key_name)
|
5796
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
5797
|
+
end
|
5798
|
+
end
|
5799
|
+
|
4183
5800
|
# Information about operation (or operation stage) progress.
|
4184
5801
|
class OperationProgress
|
4185
5802
|
include Google::Apis::Core::Hashable
|
@@ -4220,10 +5837,70 @@ module Google
|
|
4220
5837
|
end
|
4221
5838
|
end
|
4222
5839
|
|
5840
|
+
# Configuration for the Cloud Storage Parallelstore CSI driver.
|
5841
|
+
class ParallelstoreCsiDriverConfig
|
5842
|
+
include Google::Apis::Core::Hashable
|
5843
|
+
|
5844
|
+
# Whether the Cloud Storage Parallelstore CSI driver is enabled for this cluster.
|
5845
|
+
# Corresponds to the JSON property `enabled`
|
5846
|
+
# @return [Boolean]
|
5847
|
+
attr_accessor :enabled
|
5848
|
+
alias_method :enabled?, :enabled
|
5849
|
+
|
5850
|
+
def initialize(**args)
|
5851
|
+
update!(**args)
|
5852
|
+
end
|
5853
|
+
|
5854
|
+
# Update properties of this object
|
5855
|
+
def update!(**args)
|
5856
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
5857
|
+
end
|
5858
|
+
end
|
5859
|
+
|
5860
|
+
# ParentProductConfig is the configuration of the parent product of the cluster.
|
5861
|
+
# This field is used by Google internal products that are built on top of a GKE
|
5862
|
+
# cluster and take the ownership of the cluster.
|
5863
|
+
class ParentProductConfig
|
5864
|
+
include Google::Apis::Core::Hashable
|
5865
|
+
|
5866
|
+
# Labels contain the configuration of the parent product.
|
5867
|
+
# Corresponds to the JSON property `labels`
|
5868
|
+
# @return [Hash<String,String>]
|
5869
|
+
attr_accessor :labels
|
5870
|
+
|
5871
|
+
# Name of the parent product associated with the cluster.
|
5872
|
+
# Corresponds to the JSON property `productName`
|
5873
|
+
# @return [String]
|
5874
|
+
attr_accessor :product_name
|
5875
|
+
|
5876
|
+
def initialize(**args)
|
5877
|
+
update!(**args)
|
5878
|
+
end
|
5879
|
+
|
5880
|
+
# Update properties of this object
|
5881
|
+
def update!(**args)
|
5882
|
+
@labels = args[:labels] if args.key?(:labels)
|
5883
|
+
@product_name = args[:product_name] if args.key?(:product_name)
|
5884
|
+
end
|
5885
|
+
end
|
5886
|
+
|
4223
5887
|
# PlacementPolicy defines the placement policy used by the node pool.
|
4224
5888
|
class PlacementPolicy
|
4225
5889
|
include Google::Apis::Core::Hashable
|
4226
5890
|
|
5891
|
+
# If set, refers to the name of a custom resource policy supplied by the user.
|
5892
|
+
# The resource policy must be in the same project and region as the node pool.
|
5893
|
+
# If not found, InvalidArgument error is returned.
|
5894
|
+
# Corresponds to the JSON property `policyName`
|
5895
|
+
# @return [String]
|
5896
|
+
attr_accessor :policy_name
|
5897
|
+
|
5898
|
+
# Optional. TPU placement topology for pod slice node pool. https://cloud.google.
|
5899
|
+
# com/tpu/docs/types-topologies#tpu_topologies
|
5900
|
+
# Corresponds to the JSON property `tpuTopology`
|
5901
|
+
# @return [String]
|
5902
|
+
attr_accessor :tpu_topology
|
5903
|
+
|
4227
5904
|
# The type of placement.
|
4228
5905
|
# Corresponds to the JSON property `type`
|
4229
5906
|
# @return [String]
|
@@ -4235,15 +5912,62 @@ module Google
|
|
4235
5912
|
|
4236
5913
|
# Update properties of this object
|
4237
5914
|
def update!(**args)
|
5915
|
+
@policy_name = args[:policy_name] if args.key?(:policy_name)
|
5916
|
+
@tpu_topology = args[:tpu_topology] if args.key?(:tpu_topology)
|
4238
5917
|
@type = args[:type] if args.key?(:type)
|
4239
5918
|
end
|
4240
5919
|
end
|
4241
5920
|
|
5921
|
+
# PodAutoscaling is used for configuration of parameters for workload
|
5922
|
+
# autoscaling.
|
5923
|
+
class PodAutoscaling
|
5924
|
+
include Google::Apis::Core::Hashable
|
5925
|
+
|
5926
|
+
# Selected Horizontal Pod Autoscaling profile.
|
5927
|
+
# Corresponds to the JSON property `hpaProfile`
|
5928
|
+
# @return [String]
|
5929
|
+
attr_accessor :hpa_profile
|
5930
|
+
|
5931
|
+
def initialize(**args)
|
5932
|
+
update!(**args)
|
5933
|
+
end
|
5934
|
+
|
5935
|
+
# Update properties of this object
|
5936
|
+
def update!(**args)
|
5937
|
+
@hpa_profile = args[:hpa_profile] if args.key?(:hpa_profile)
|
5938
|
+
end
|
5939
|
+
end
|
5940
|
+
|
5941
|
+
# [PRIVATE FIELD] Config for pod CIDR size overprovisioning.
|
5942
|
+
class PodCidrOverprovisionConfig
|
5943
|
+
include Google::Apis::Core::Hashable
|
5944
|
+
|
5945
|
+
# Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning
|
5946
|
+
# is enabled by default.
|
5947
|
+
# Corresponds to the JSON property `disable`
|
5948
|
+
# @return [Boolean]
|
5949
|
+
attr_accessor :disable
|
5950
|
+
alias_method :disable?, :disable
|
5951
|
+
|
5952
|
+
def initialize(**args)
|
5953
|
+
update!(**args)
|
5954
|
+
end
|
5955
|
+
|
5956
|
+
# Update properties of this object
|
5957
|
+
def update!(**args)
|
5958
|
+
@disable = args[:disable] if args.key?(:disable)
|
5959
|
+
end
|
5960
|
+
end
|
5961
|
+
|
4242
5962
|
# Configuration options for private clusters.
|
4243
5963
|
class PrivateClusterConfig
|
4244
5964
|
include Google::Apis::Core::Hashable
|
4245
5965
|
|
4246
5966
|
# Whether the master's internal IP address is used as the cluster endpoint.
|
5967
|
+
# Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.
|
5968
|
+
# enable_public_endpoint instead. Note that the value of enable_public_endpoint
|
5969
|
+
# is reversed: if enable_private_endpoint is false, then enable_public_endpoint
|
5970
|
+
# will be true.
|
4247
5971
|
# Corresponds to the JSON property `enablePrivateEndpoint`
|
4248
5972
|
# @return [Boolean]
|
4249
5973
|
attr_accessor :enable_private_endpoint
|
@@ -4251,7 +5975,7 @@ module Google
|
|
4251
5975
|
|
4252
5976
|
# Whether nodes have internal IP addresses only. If enabled, all nodes are given
|
4253
5977
|
# only RFC 1918 private addresses and communicate with the master via private
|
4254
|
-
# networking.
|
5978
|
+
# networking. Deprecated: Use NetworkConfig.default_enable_private_nodes instead.
|
4255
5979
|
# Corresponds to the JSON property `enablePrivateNodes`
|
4256
5980
|
# @return [Boolean]
|
4257
5981
|
attr_accessor :enable_private_nodes
|
@@ -4276,17 +6000,23 @@ module Google
|
|
4276
6000
|
attr_accessor :peering_name
|
4277
6001
|
|
4278
6002
|
# Output only. The internal IP address of this cluster's master endpoint.
|
6003
|
+
# Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint
|
6004
|
+
# instead.
|
4279
6005
|
# Corresponds to the JSON property `privateEndpoint`
|
4280
6006
|
# @return [String]
|
4281
6007
|
attr_accessor :private_endpoint
|
4282
6008
|
|
4283
6009
|
# Subnet to provision the master's private endpoint during cluster creation.
|
4284
|
-
# Specified in projects/*/regions/*/subnetworks/* format.
|
6010
|
+
# Specified in projects/*/regions/*/subnetworks/* format. Deprecated: Use
|
6011
|
+
# ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork
|
6012
|
+
# instead.
|
4285
6013
|
# Corresponds to the JSON property `privateEndpointSubnetwork`
|
4286
6014
|
# @return [String]
|
4287
6015
|
attr_accessor :private_endpoint_subnetwork
|
4288
6016
|
|
4289
6017
|
# Output only. The external IP address of this cluster's master endpoint.
|
6018
|
+
# Deprecated:Use ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint
|
6019
|
+
# instead.
|
4290
6020
|
# Corresponds to the JSON property `publicEndpoint`
|
4291
6021
|
# @return [String]
|
4292
6022
|
attr_accessor :public_endpoint
|
@@ -4328,6 +6058,33 @@ module Google
|
|
4328
6058
|
end
|
4329
6059
|
end
|
4330
6060
|
|
6061
|
+
# PrivateRegistryAccessConfig contains access configuration for private
|
6062
|
+
# container registries.
|
6063
|
+
class PrivateRegistryAccessConfig
|
6064
|
+
include Google::Apis::Core::Hashable
|
6065
|
+
|
6066
|
+
# Private registry access configuration.
|
6067
|
+
# Corresponds to the JSON property `certificateAuthorityDomainConfig`
|
6068
|
+
# @return [Array<Google::Apis::ContainerV1::CertificateAuthorityDomainConfig>]
|
6069
|
+
attr_accessor :certificate_authority_domain_config
|
6070
|
+
|
6071
|
+
# Private registry access is enabled.
|
6072
|
+
# Corresponds to the JSON property `enabled`
|
6073
|
+
# @return [Boolean]
|
6074
|
+
attr_accessor :enabled
|
6075
|
+
alias_method :enabled?, :enabled
|
6076
|
+
|
6077
|
+
def initialize(**args)
|
6078
|
+
update!(**args)
|
6079
|
+
end
|
6080
|
+
|
6081
|
+
# Update properties of this object
|
6082
|
+
def update!(**args)
|
6083
|
+
@certificate_authority_domain_config = args[:certificate_authority_domain_config] if args.key?(:certificate_authority_domain_config)
|
6084
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
6085
|
+
end
|
6086
|
+
end
|
6087
|
+
|
4331
6088
|
# Pub/Sub specific notification config.
|
4332
6089
|
class PubSub
|
4333
6090
|
include Google::Apis::Core::Hashable
|
@@ -4364,6 +6121,154 @@ module Google
|
|
4364
6121
|
end
|
4365
6122
|
end
|
4366
6123
|
|
6124
|
+
# QueuedProvisioning defines the queued provisioning used by the node pool.
|
6125
|
+
class QueuedProvisioning
|
6126
|
+
include Google::Apis::Core::Hashable
|
6127
|
+
|
6128
|
+
# Denotes that this nodepool is QRM specific, meaning nodes can be only obtained
|
6129
|
+
# through queuing via the Cluster Autoscaler ProvisioningRequest API.
|
6130
|
+
# Corresponds to the JSON property `enabled`
|
6131
|
+
# @return [Boolean]
|
6132
|
+
attr_accessor :enabled
|
6133
|
+
alias_method :enabled?, :enabled
|
6134
|
+
|
6135
|
+
def initialize(**args)
|
6136
|
+
update!(**args)
|
6137
|
+
end
|
6138
|
+
|
6139
|
+
# Update properties of this object
|
6140
|
+
def update!(**args)
|
6141
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
6142
|
+
end
|
6143
|
+
end
|
6144
|
+
|
6145
|
+
# RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings
|
6146
|
+
# that can be created.
|
6147
|
+
class RbacBindingConfig
|
6148
|
+
include Google::Apis::Core::Hashable
|
6149
|
+
|
6150
|
+
# Setting this to true will allow any ClusterRoleBinding and RoleBinding with
|
6151
|
+
# subjects system:authenticated.
|
6152
|
+
# Corresponds to the JSON property `enableInsecureBindingSystemAuthenticated`
|
6153
|
+
# @return [Boolean]
|
6154
|
+
attr_accessor :enable_insecure_binding_system_authenticated
|
6155
|
+
alias_method :enable_insecure_binding_system_authenticated?, :enable_insecure_binding_system_authenticated
|
6156
|
+
|
6157
|
+
# Setting this to true will allow any ClusterRoleBinding and RoleBinding with
|
6158
|
+
# subjets system:anonymous or system:unauthenticated.
|
6159
|
+
# Corresponds to the JSON property `enableInsecureBindingSystemUnauthenticated`
|
6160
|
+
# @return [Boolean]
|
6161
|
+
attr_accessor :enable_insecure_binding_system_unauthenticated
|
6162
|
+
alias_method :enable_insecure_binding_system_unauthenticated?, :enable_insecure_binding_system_unauthenticated
|
6163
|
+
|
6164
|
+
def initialize(**args)
|
6165
|
+
update!(**args)
|
6166
|
+
end
|
6167
|
+
|
6168
|
+
# Update properties of this object
|
6169
|
+
def update!(**args)
|
6170
|
+
@enable_insecure_binding_system_authenticated = args[:enable_insecure_binding_system_authenticated] if args.key?(:enable_insecure_binding_system_authenticated)
|
6171
|
+
@enable_insecure_binding_system_unauthenticated = args[:enable_insecure_binding_system_unauthenticated] if args.key?(:enable_insecure_binding_system_unauthenticated)
|
6172
|
+
end
|
6173
|
+
end
|
6174
|
+
|
6175
|
+
# RangeInfo contains the range name and the range utilization by this cluster.
|
6176
|
+
class RangeInfo
|
6177
|
+
include Google::Apis::Core::Hashable
|
6178
|
+
|
6179
|
+
# Output only. Name of a range.
|
6180
|
+
# Corresponds to the JSON property `rangeName`
|
6181
|
+
# @return [String]
|
6182
|
+
attr_accessor :range_name
|
6183
|
+
|
6184
|
+
# Output only. The utilization of the range.
|
6185
|
+
# Corresponds to the JSON property `utilization`
|
6186
|
+
# @return [Float]
|
6187
|
+
attr_accessor :utilization
|
6188
|
+
|
6189
|
+
def initialize(**args)
|
6190
|
+
update!(**args)
|
6191
|
+
end
|
6192
|
+
|
6193
|
+
# Update properties of this object
|
6194
|
+
def update!(**args)
|
6195
|
+
@range_name = args[:range_name] if args.key?(:range_name)
|
6196
|
+
@utilization = args[:utilization] if args.key?(:utilization)
|
6197
|
+
end
|
6198
|
+
end
|
6199
|
+
|
6200
|
+
# RayClusterLoggingConfig specifies configuration of Ray logging.
|
6201
|
+
class RayClusterLoggingConfig
|
6202
|
+
include Google::Apis::Core::Hashable
|
6203
|
+
|
6204
|
+
# Enable log collection for Ray clusters.
|
6205
|
+
# Corresponds to the JSON property `enabled`
|
6206
|
+
# @return [Boolean]
|
6207
|
+
attr_accessor :enabled
|
6208
|
+
alias_method :enabled?, :enabled
|
6209
|
+
|
6210
|
+
def initialize(**args)
|
6211
|
+
update!(**args)
|
6212
|
+
end
|
6213
|
+
|
6214
|
+
# Update properties of this object
|
6215
|
+
def update!(**args)
|
6216
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
6217
|
+
end
|
6218
|
+
end
|
6219
|
+
|
6220
|
+
# RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.
|
6221
|
+
class RayClusterMonitoringConfig
|
6222
|
+
include Google::Apis::Core::Hashable
|
6223
|
+
|
6224
|
+
# Enable metrics collection for Ray clusters.
|
6225
|
+
# Corresponds to the JSON property `enabled`
|
6226
|
+
# @return [Boolean]
|
6227
|
+
attr_accessor :enabled
|
6228
|
+
alias_method :enabled?, :enabled
|
6229
|
+
|
6230
|
+
def initialize(**args)
|
6231
|
+
update!(**args)
|
6232
|
+
end
|
6233
|
+
|
6234
|
+
# Update properties of this object
|
6235
|
+
def update!(**args)
|
6236
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
6237
|
+
end
|
6238
|
+
end
|
6239
|
+
|
6240
|
+
# Configuration options for the Ray Operator add-on.
|
6241
|
+
class RayOperatorConfig
|
6242
|
+
include Google::Apis::Core::Hashable
|
6243
|
+
|
6244
|
+
# Whether the Ray Operator addon is enabled for this cluster.
|
6245
|
+
# Corresponds to the JSON property `enabled`
|
6246
|
+
# @return [Boolean]
|
6247
|
+
attr_accessor :enabled
|
6248
|
+
alias_method :enabled?, :enabled
|
6249
|
+
|
6250
|
+
# RayClusterLoggingConfig specifies configuration of Ray logging.
|
6251
|
+
# Corresponds to the JSON property `rayClusterLoggingConfig`
|
6252
|
+
# @return [Google::Apis::ContainerV1::RayClusterLoggingConfig]
|
6253
|
+
attr_accessor :ray_cluster_logging_config
|
6254
|
+
|
6255
|
+
# RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.
|
6256
|
+
# Corresponds to the JSON property `rayClusterMonitoringConfig`
|
6257
|
+
# @return [Google::Apis::ContainerV1::RayClusterMonitoringConfig]
|
6258
|
+
attr_accessor :ray_cluster_monitoring_config
|
6259
|
+
|
6260
|
+
def initialize(**args)
|
6261
|
+
update!(**args)
|
6262
|
+
end
|
6263
|
+
|
6264
|
+
# Update properties of this object
|
6265
|
+
def update!(**args)
|
6266
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
6267
|
+
@ray_cluster_logging_config = args[:ray_cluster_logging_config] if args.key?(:ray_cluster_logging_config)
|
6268
|
+
@ray_cluster_monitoring_config = args[:ray_cluster_monitoring_config] if args.key?(:ray_cluster_monitoring_config)
|
6269
|
+
end
|
6270
|
+
end
|
6271
|
+
|
4367
6272
|
# Represents an arbitrary window of time that recurs.
|
4368
6273
|
class RecurringTimeWindow
|
4369
6274
|
include Google::Apis::Core::Hashable
|
@@ -4439,6 +6344,11 @@ module Google
|
|
4439
6344
|
# @return [String]
|
4440
6345
|
attr_accessor :default_version
|
4441
6346
|
|
6347
|
+
# The auto upgrade target version for clusters on the channel.
|
6348
|
+
# Corresponds to the JSON property `upgradeTargetVersion`
|
6349
|
+
# @return [String]
|
6350
|
+
attr_accessor :upgrade_target_version
|
6351
|
+
|
4442
6352
|
# List of valid versions for the channel.
|
4443
6353
|
# Corresponds to the JSON property `validVersions`
|
4444
6354
|
# @return [Array<String>]
|
@@ -4452,6 +6362,7 @@ module Google
|
|
4452
6362
|
def update!(**args)
|
4453
6363
|
@channel = args[:channel] if args.key?(:channel)
|
4454
6364
|
@default_version = args[:default_version] if args.key?(:default_version)
|
6365
|
+
@upgrade_target_version = args[:upgrade_target_version] if args.key?(:upgrade_target_version)
|
4455
6366
|
@valid_versions = args[:valid_versions] if args.key?(:valid_versions)
|
4456
6367
|
end
|
4457
6368
|
end
|
@@ -4543,6 +6454,31 @@ module Google
|
|
4543
6454
|
end
|
4544
6455
|
end
|
4545
6456
|
|
6457
|
+
# A map of resource manager tag keys and values to be attached to the nodes for
|
6458
|
+
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
6459
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
6460
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
6461
|
+
# specified. Existing tags will be replaced with new values.
|
6462
|
+
class ResourceManagerTags
|
6463
|
+
include Google::Apis::Core::Hashable
|
6464
|
+
|
6465
|
+
# TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1. `
|
6466
|
+
# tagKeys/`tag_key_id`=tagValues/`tag_value_id`` 2. ``org_id`/`tag_key_name`=`
|
6467
|
+
# tag_value_name`` 3. ``project_id`/`tag_key_name`=`tag_value_name``
|
6468
|
+
# Corresponds to the JSON property `tags`
|
6469
|
+
# @return [Hash<String,String>]
|
6470
|
+
attr_accessor :tags
|
6471
|
+
|
6472
|
+
def initialize(**args)
|
6473
|
+
update!(**args)
|
6474
|
+
end
|
6475
|
+
|
6476
|
+
# Update properties of this object
|
6477
|
+
def update!(**args)
|
6478
|
+
@tags = args[:tags] if args.key?(:tags)
|
6479
|
+
end
|
6480
|
+
end
|
6481
|
+
|
4546
6482
|
# Configuration for exporting cluster resource usages.
|
4547
6483
|
class ResourceUsageExportConfig
|
4548
6484
|
include Google::Apis::Core::Hashable
|
@@ -4614,12 +6550,77 @@ module Google
|
|
4614
6550
|
attr_accessor :respect_pdb
|
4615
6551
|
alias_method :respect_pdb?, :respect_pdb
|
4616
6552
|
|
4617
|
-
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
4618
|
-
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
4619
|
-
# been deprecated and replaced by the name field.
|
4620
|
-
# Corresponds to the JSON property `zone`
|
4621
|
-
# @return [String]
|
4622
|
-
attr_accessor :zone
|
6553
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
6554
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
6555
|
+
# been deprecated and replaced by the name field.
|
6556
|
+
# Corresponds to the JSON property `zone`
|
6557
|
+
# @return [String]
|
6558
|
+
attr_accessor :zone
|
6559
|
+
|
6560
|
+
def initialize(**args)
|
6561
|
+
update!(**args)
|
6562
|
+
end
|
6563
|
+
|
6564
|
+
# Update properties of this object
|
6565
|
+
def update!(**args)
|
6566
|
+
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
6567
|
+
@name = args[:name] if args.key?(:name)
|
6568
|
+
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
|
6569
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
6570
|
+
@respect_pdb = args[:respect_pdb] if args.key?(:respect_pdb)
|
6571
|
+
@zone = args[:zone] if args.key?(:zone)
|
6572
|
+
end
|
6573
|
+
end
|
6574
|
+
|
6575
|
+
# SandboxConfig contains configurations of the sandbox to use for the node.
|
6576
|
+
class SandboxConfig
|
6577
|
+
include Google::Apis::Core::Hashable
|
6578
|
+
|
6579
|
+
# Type of the sandbox to use for the node.
|
6580
|
+
# Corresponds to the JSON property `type`
|
6581
|
+
# @return [String]
|
6582
|
+
attr_accessor :type
|
6583
|
+
|
6584
|
+
def initialize(**args)
|
6585
|
+
update!(**args)
|
6586
|
+
end
|
6587
|
+
|
6588
|
+
# Update properties of this object
|
6589
|
+
def update!(**args)
|
6590
|
+
@type = args[:type] if args.key?(:type)
|
6591
|
+
end
|
6592
|
+
end
|
6593
|
+
|
6594
|
+
# SecondaryBootDisk represents a persistent disk attached to a node with special
|
6595
|
+
# configurations based on its mode.
|
6596
|
+
class SecondaryBootDisk
|
6597
|
+
include Google::Apis::Core::Hashable
|
6598
|
+
|
6599
|
+
# Fully-qualified resource ID for an existing disk image.
|
6600
|
+
# Corresponds to the JSON property `diskImage`
|
6601
|
+
# @return [String]
|
6602
|
+
attr_accessor :disk_image
|
6603
|
+
|
6604
|
+
# Disk mode (container image cache, etc.)
|
6605
|
+
# Corresponds to the JSON property `mode`
|
6606
|
+
# @return [String]
|
6607
|
+
attr_accessor :mode
|
6608
|
+
|
6609
|
+
def initialize(**args)
|
6610
|
+
update!(**args)
|
6611
|
+
end
|
6612
|
+
|
6613
|
+
# Update properties of this object
|
6614
|
+
def update!(**args)
|
6615
|
+
@disk_image = args[:disk_image] if args.key?(:disk_image)
|
6616
|
+
@mode = args[:mode] if args.key?(:mode)
|
6617
|
+
end
|
6618
|
+
end
|
6619
|
+
|
6620
|
+
# SecondaryBootDiskUpdateStrategy is a placeholder which will be extended in the
|
6621
|
+
# future to define different options for updating secondary boot disks.
|
6622
|
+
class SecondaryBootDiskUpdateStrategy
|
6623
|
+
include Google::Apis::Core::Hashable
|
4623
6624
|
|
4624
6625
|
def initialize(**args)
|
4625
6626
|
update!(**args)
|
@@ -4627,23 +6628,18 @@ module Google
|
|
4627
6628
|
|
4628
6629
|
# Update properties of this object
|
4629
6630
|
def update!(**args)
|
4630
|
-
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
4631
|
-
@name = args[:name] if args.key?(:name)
|
4632
|
-
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
|
4633
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
4634
|
-
@respect_pdb = args[:respect_pdb] if args.key?(:respect_pdb)
|
4635
|
-
@zone = args[:zone] if args.key?(:zone)
|
4636
6631
|
end
|
4637
6632
|
end
|
4638
6633
|
|
4639
|
-
#
|
4640
|
-
class
|
6634
|
+
# SecretManagerConfig is config for secret manager enablement.
|
6635
|
+
class SecretManagerConfig
|
4641
6636
|
include Google::Apis::Core::Hashable
|
4642
6637
|
|
4643
|
-
#
|
4644
|
-
# Corresponds to the JSON property `
|
4645
|
-
# @return [
|
4646
|
-
attr_accessor :
|
6638
|
+
# Enable/Disable Secret Manager Config.
|
6639
|
+
# Corresponds to the JSON property `enabled`
|
6640
|
+
# @return [Boolean]
|
6641
|
+
attr_accessor :enabled
|
6642
|
+
alias_method :enabled?, :enabled
|
4647
6643
|
|
4648
6644
|
def initialize(**args)
|
4649
6645
|
update!(**args)
|
@@ -4651,7 +6647,7 @@ module Google
|
|
4651
6647
|
|
4652
6648
|
# Update properties of this object
|
4653
6649
|
def update!(**args)
|
4654
|
-
@
|
6650
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
4655
6651
|
end
|
4656
6652
|
end
|
4657
6653
|
|
@@ -4693,6 +6689,11 @@ module Google
|
|
4693
6689
|
attr_accessor :manual_steps_required
|
4694
6690
|
alias_method :manual_steps_required?, :manual_steps_required
|
4695
6691
|
|
6692
|
+
# The GKE versions where this vulnerability is mitigated.
|
6693
|
+
# Corresponds to the JSON property `mitigatedVersions`
|
6694
|
+
# @return [Array<String>]
|
6695
|
+
attr_accessor :mitigated_versions
|
6696
|
+
|
4696
6697
|
# The GKE versions where this vulnerability is patched.
|
4697
6698
|
# Corresponds to the JSON property `patchedVersions`
|
4698
6699
|
# @return [Array<String>]
|
@@ -4731,6 +6732,7 @@ module Google
|
|
4731
6732
|
@bulletin_uri = args[:bulletin_uri] if args.key?(:bulletin_uri)
|
4732
6733
|
@cve_ids = args[:cve_ids] if args.key?(:cve_ids)
|
4733
6734
|
@manual_steps_required = args[:manual_steps_required] if args.key?(:manual_steps_required)
|
6735
|
+
@mitigated_versions = args[:mitigated_versions] if args.key?(:mitigated_versions)
|
4734
6736
|
@patched_versions = args[:patched_versions] if args.key?(:patched_versions)
|
4735
6737
|
@resource_type_affected = args[:resource_type_affected] if args.key?(:resource_type_affected)
|
4736
6738
|
@severity = args[:severity] if args.key?(:severity)
|
@@ -4738,6 +6740,32 @@ module Google
|
|
4738
6740
|
end
|
4739
6741
|
end
|
4740
6742
|
|
6743
|
+
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
6744
|
+
# the Security Posture API.
|
6745
|
+
class SecurityPostureConfig
|
6746
|
+
include Google::Apis::Core::Hashable
|
6747
|
+
|
6748
|
+
# Sets which mode to use for Security Posture features.
|
6749
|
+
# Corresponds to the JSON property `mode`
|
6750
|
+
# @return [String]
|
6751
|
+
attr_accessor :mode
|
6752
|
+
|
6753
|
+
# Sets which mode to use for vulnerability scanning.
|
6754
|
+
# Corresponds to the JSON property `vulnerabilityMode`
|
6755
|
+
# @return [String]
|
6756
|
+
attr_accessor :vulnerability_mode
|
6757
|
+
|
6758
|
+
def initialize(**args)
|
6759
|
+
update!(**args)
|
6760
|
+
end
|
6761
|
+
|
6762
|
+
# Update properties of this object
|
6763
|
+
def update!(**args)
|
6764
|
+
@mode = args[:mode] if args.key?(:mode)
|
6765
|
+
@vulnerability_mode = args[:vulnerability_mode] if args.key?(:vulnerability_mode)
|
6766
|
+
end
|
6767
|
+
end
|
6768
|
+
|
4741
6769
|
# Kubernetes Engine service configuration.
|
4742
6770
|
class ServerConfig
|
4743
6771
|
include Google::Apis::Core::Hashable
|
@@ -5191,7 +7219,7 @@ module Google
|
|
5191
7219
|
attr_accessor :cluster_id
|
5192
7220
|
|
5193
7221
|
# Required. The monitoring service the cluster should use to write metrics.
|
5194
|
-
# Currently available options: *
|
7222
|
+
# Currently available options: * `monitoring.googleapis.com/kubernetes` - The
|
5195
7223
|
# Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.
|
5196
7224
|
# googleapis.com` - The legacy Cloud Monitoring service (no longer available as
|
5197
7225
|
# of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left
|
@@ -5512,6 +7540,26 @@ module Google
|
|
5512
7540
|
end
|
5513
7541
|
end
|
5514
7542
|
|
7543
|
+
# SoleTenantConfig contains the NodeAffinities to specify what shared sole
|
7544
|
+
# tenant node groups should back the node pool.
|
7545
|
+
class SoleTenantConfig
|
7546
|
+
include Google::Apis::Core::Hashable
|
7547
|
+
|
7548
|
+
# NodeAffinities used to match to a shared sole tenant node group.
|
7549
|
+
# Corresponds to the JSON property `nodeAffinities`
|
7550
|
+
# @return [Array<Google::Apis::ContainerV1::NodeAffinity>]
|
7551
|
+
attr_accessor :node_affinities
|
7552
|
+
|
7553
|
+
def initialize(**args)
|
7554
|
+
update!(**args)
|
7555
|
+
end
|
7556
|
+
|
7557
|
+
# Update properties of this object
|
7558
|
+
def update!(**args)
|
7559
|
+
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
7560
|
+
end
|
7561
|
+
end
|
7562
|
+
|
5515
7563
|
# Standard rollout policy is the default policy for blue-green.
|
5516
7564
|
class StandardRolloutPolicy
|
5517
7565
|
include Google::Apis::Core::Hashable
|
@@ -5595,6 +7643,26 @@ module Google
|
|
5595
7643
|
end
|
5596
7644
|
end
|
5597
7645
|
|
7646
|
+
# Configuration for the Stateful HA add-on.
|
7647
|
+
class StatefulHaConfig
|
7648
|
+
include Google::Apis::Core::Hashable
|
7649
|
+
|
7650
|
+
# Whether the Stateful HA add-on is enabled for this cluster.
|
7651
|
+
# Corresponds to the JSON property `enabled`
|
7652
|
+
# @return [Boolean]
|
7653
|
+
attr_accessor :enabled
|
7654
|
+
alias_method :enabled?, :enabled
|
7655
|
+
|
7656
|
+
def initialize(**args)
|
7657
|
+
update!(**args)
|
7658
|
+
end
|
7659
|
+
|
7660
|
+
# Update properties of this object
|
7661
|
+
def update!(**args)
|
7662
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
7663
|
+
end
|
7664
|
+
end
|
7665
|
+
|
5598
7666
|
# The `Status` type defines a logical error model that is suitable for different
|
5599
7667
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
5600
7668
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -5828,6 +7896,12 @@ module Google
|
|
5828
7896
|
class UpdateNodePoolRequest
|
5829
7897
|
include Google::Apis::Core::Hashable
|
5830
7898
|
|
7899
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
7900
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
7901
|
+
# Corresponds to the JSON property `accelerators`
|
7902
|
+
# @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
|
7903
|
+
attr_accessor :accelerators
|
7904
|
+
|
5831
7905
|
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
5832
7906
|
# and replaced by the name field.
|
5833
7907
|
# Corresponds to the JSON property `clusterId`
|
@@ -5840,6 +7914,25 @@ module Google
|
|
5840
7914
|
# @return [Google::Apis::ContainerV1::ConfidentialNodes]
|
5841
7915
|
attr_accessor :confidential_nodes
|
5842
7916
|
|
7917
|
+
# ContainerdConfig contains configuration to customize containerd.
|
7918
|
+
# Corresponds to the JSON property `containerdConfig`
|
7919
|
+
# @return [Google::Apis::ContainerV1::ContainerdConfig]
|
7920
|
+
attr_accessor :containerd_config
|
7921
|
+
|
7922
|
+
# Optional. The desired disk size for nodes in the node pool specified in GB.
|
7923
|
+
# The smallest allowed disk size is 10GB. Initiates an upgrade operation that
|
7924
|
+
# migrates the nodes in the node pool to the specified disk size.
|
7925
|
+
# Corresponds to the JSON property `diskSizeGb`
|
7926
|
+
# @return [Fixnum]
|
7927
|
+
attr_accessor :disk_size_gb
|
7928
|
+
|
7929
|
+
# Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced')
|
7930
|
+
# for nodes in the node pool. Initiates an upgrade operation that migrates the
|
7931
|
+
# nodes in the node pool to the specified disk type.
|
7932
|
+
# Corresponds to the JSON property `diskType`
|
7933
|
+
# @return [String]
|
7934
|
+
attr_accessor :disk_type
|
7935
|
+
|
5843
7936
|
# The current etag of the node pool. If an etag is provided and does not match
|
5844
7937
|
# the current etag of the node pool, update will be blocked and an ABORTED error
|
5845
7938
|
# will be returned.
|
@@ -5852,6 +7945,12 @@ module Google
|
|
5852
7945
|
# @return [Google::Apis::ContainerV1::FastSocket]
|
5853
7946
|
attr_accessor :fast_socket
|
5854
7947
|
|
7948
|
+
# Flex Start flag for enabling Flex Start VM.
|
7949
|
+
# Corresponds to the JSON property `flexStart`
|
7950
|
+
# @return [Boolean]
|
7951
|
+
attr_accessor :flex_start
|
7952
|
+
alias_method :flex_start?, :flex_start
|
7953
|
+
|
5855
7954
|
# GcfsConfig contains configurations of Google Container File System (image
|
5856
7955
|
# streaming).
|
5857
7956
|
# Corresponds to the JSON property `gcfsConfig`
|
@@ -5863,7 +7962,9 @@ module Google
|
|
5863
7962
|
# @return [Google::Apis::ContainerV1::VirtualNic]
|
5864
7963
|
attr_accessor :gvnic
|
5865
7964
|
|
5866
|
-
# Required. The desired image type for the node pool.
|
7965
|
+
# Required. The desired image type for the node pool. Please see https://cloud.
|
7966
|
+
# google.com/kubernetes-engine/docs/concepts/node-images for available image
|
7967
|
+
# types.
|
5867
7968
|
# Corresponds to the JSON property `imageType`
|
5868
7969
|
# @return [String]
|
5869
7970
|
attr_accessor :image_type
|
@@ -5898,6 +7999,20 @@ module Google
|
|
5898
7999
|
# @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
|
5899
8000
|
attr_accessor :logging_config
|
5900
8001
|
|
8002
|
+
# Optional. The desired [Google Compute Engine machine type](https://cloud.
|
8003
|
+
# google.com/compute/docs/machine-types) for nodes in the node pool. Initiates
|
8004
|
+
# an upgrade operation that migrates the nodes in the node pool to the specified
|
8005
|
+
# machine type.
|
8006
|
+
# Corresponds to the JSON property `machineType`
|
8007
|
+
# @return [String]
|
8008
|
+
attr_accessor :machine_type
|
8009
|
+
|
8010
|
+
# The maximum duration for the nodes to exist. If unspecified, the nodes can
|
8011
|
+
# exist indefinitely.
|
8012
|
+
# Corresponds to the JSON property `maxRunDuration`
|
8013
|
+
# @return [String]
|
8014
|
+
attr_accessor :max_run_duration
|
8015
|
+
|
5901
8016
|
# The name (project, location, cluster, node pool) of the node pool to update.
|
5902
8017
|
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
5903
8018
|
# Corresponds to the JSON property `name`
|
@@ -5933,12 +8048,32 @@ module Google
|
|
5933
8048
|
# @return [String]
|
5934
8049
|
attr_accessor :project_id
|
5935
8050
|
|
8051
|
+
# QueuedProvisioning defines the queued provisioning used by the node pool.
|
8052
|
+
# Corresponds to the JSON property `queuedProvisioning`
|
8053
|
+
# @return [Google::Apis::ContainerV1::QueuedProvisioning]
|
8054
|
+
attr_accessor :queued_provisioning
|
8055
|
+
|
5936
8056
|
# Collection of [GCP labels](https://cloud.google.com/resource-manager/docs/
|
5937
8057
|
# creating-managing-labels).
|
5938
8058
|
# Corresponds to the JSON property `resourceLabels`
|
5939
8059
|
# @return [Google::Apis::ContainerV1::ResourceLabels]
|
5940
8060
|
attr_accessor :resource_labels
|
5941
8061
|
|
8062
|
+
# A map of resource manager tag keys and values to be attached to the nodes for
|
8063
|
+
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
8064
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
8065
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
8066
|
+
# specified. Existing tags will be replaced with new values.
|
8067
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
8068
|
+
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
|
8069
|
+
attr_accessor :resource_manager_tags
|
8070
|
+
|
8071
|
+
# List of Storage Pools where boot disks are provisioned. Existing Storage Pools
|
8072
|
+
# will be replaced with storage-pools.
|
8073
|
+
# Corresponds to the JSON property `storagePools`
|
8074
|
+
# @return [Array<String>]
|
8075
|
+
attr_accessor :storage_pools
|
8076
|
+
|
5942
8077
|
# Collection of Compute Engine network tags that can be applied to a node's
|
5943
8078
|
# underlying VM instance.
|
5944
8079
|
# Corresponds to the JSON property `tags`
|
@@ -5988,7 +8123,7 @@ module Google
|
|
5988
8123
|
|
5989
8124
|
# Parameters that can be configured on Windows nodes. Windows Node Config that
|
5990
8125
|
# define the parameters that will be used to configure the Windows node pool
|
5991
|
-
# settings
|
8126
|
+
# settings.
|
5992
8127
|
# Corresponds to the JSON property `windowsNodeConfig`
|
5993
8128
|
# @return [Google::Apis::ContainerV1::WindowsNodeConfig]
|
5994
8129
|
attr_accessor :windows_node_config
|
@@ -6012,10 +8147,15 @@ module Google
|
|
6012
8147
|
|
6013
8148
|
# Update properties of this object
|
6014
8149
|
def update!(**args)
|
8150
|
+
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
6015
8151
|
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
6016
8152
|
@confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
|
8153
|
+
@containerd_config = args[:containerd_config] if args.key?(:containerd_config)
|
8154
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
8155
|
+
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
6017
8156
|
@etag = args[:etag] if args.key?(:etag)
|
6018
8157
|
@fast_socket = args[:fast_socket] if args.key?(:fast_socket)
|
8158
|
+
@flex_start = args[:flex_start] if args.key?(:flex_start)
|
6019
8159
|
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
|
6020
8160
|
@gvnic = args[:gvnic] if args.key?(:gvnic)
|
6021
8161
|
@image_type = args[:image_type] if args.key?(:image_type)
|
@@ -6024,12 +8164,17 @@ module Google
|
|
6024
8164
|
@linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
|
6025
8165
|
@locations = args[:locations] if args.key?(:locations)
|
6026
8166
|
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
8167
|
+
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
8168
|
+
@max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
|
6027
8169
|
@name = args[:name] if args.key?(:name)
|
6028
8170
|
@node_network_config = args[:node_network_config] if args.key?(:node_network_config)
|
6029
8171
|
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
|
6030
8172
|
@node_version = args[:node_version] if args.key?(:node_version)
|
6031
8173
|
@project_id = args[:project_id] if args.key?(:project_id)
|
8174
|
+
@queued_provisioning = args[:queued_provisioning] if args.key?(:queued_provisioning)
|
6032
8175
|
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
8176
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
8177
|
+
@storage_pools = args[:storage_pools] if args.key?(:storage_pools)
|
6033
8178
|
@tags = args[:tags] if args.key?(:tags)
|
6034
8179
|
@taints = args[:taints] if args.key?(:taints)
|
6035
8180
|
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
@@ -6081,6 +8226,56 @@ module Google
|
|
6081
8226
|
end
|
6082
8227
|
end
|
6083
8228
|
|
8229
|
+
# UpgradeDetails contains detailed information of each individual upgrade
|
8230
|
+
# operation.
|
8231
|
+
class UpgradeDetails
|
8232
|
+
include Google::Apis::Core::Hashable
|
8233
|
+
|
8234
|
+
# The end timestamp of the upgrade.
|
8235
|
+
# Corresponds to the JSON property `endTime`
|
8236
|
+
# @return [String]
|
8237
|
+
attr_accessor :end_time
|
8238
|
+
|
8239
|
+
# The version before the upgrade.
|
8240
|
+
# Corresponds to the JSON property `initialVersion`
|
8241
|
+
# @return [String]
|
8242
|
+
attr_accessor :initial_version
|
8243
|
+
|
8244
|
+
# The start timestamp of the upgrade.
|
8245
|
+
# Corresponds to the JSON property `startTime`
|
8246
|
+
# @return [String]
|
8247
|
+
attr_accessor :start_time
|
8248
|
+
|
8249
|
+
# The start type of the upgrade.
|
8250
|
+
# Corresponds to the JSON property `startType`
|
8251
|
+
# @return [String]
|
8252
|
+
attr_accessor :start_type
|
8253
|
+
|
8254
|
+
# Output only. The state of the upgrade.
|
8255
|
+
# Corresponds to the JSON property `state`
|
8256
|
+
# @return [String]
|
8257
|
+
attr_accessor :state
|
8258
|
+
|
8259
|
+
# The version after the upgrade.
|
8260
|
+
# Corresponds to the JSON property `targetVersion`
|
8261
|
+
# @return [String]
|
8262
|
+
attr_accessor :target_version
|
8263
|
+
|
8264
|
+
def initialize(**args)
|
8265
|
+
update!(**args)
|
8266
|
+
end
|
8267
|
+
|
8268
|
+
# Update properties of this object
|
8269
|
+
def update!(**args)
|
8270
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
8271
|
+
@initial_version = args[:initial_version] if args.key?(:initial_version)
|
8272
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
8273
|
+
@start_type = args[:start_type] if args.key?(:start_type)
|
8274
|
+
@state = args[:state] if args.key?(:state)
|
8275
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
8276
|
+
end
|
8277
|
+
end
|
8278
|
+
|
6084
8279
|
# UpgradeEvent is a notification sent to customers by the cluster server when a
|
6085
8280
|
# resource is upgrading.
|
6086
8281
|
class UpgradeEvent
|
@@ -6132,6 +8327,93 @@ module Google
|
|
6132
8327
|
end
|
6133
8328
|
end
|
6134
8329
|
|
8330
|
+
# UpgradeInfoEvent is a notification sent to customers about the upgrade
|
8331
|
+
# information of a resource.
|
8332
|
+
class UpgradeInfoEvent
|
8333
|
+
include Google::Apis::Core::Hashable
|
8334
|
+
|
8335
|
+
# The current version before the upgrade.
|
8336
|
+
# Corresponds to the JSON property `currentVersion`
|
8337
|
+
# @return [String]
|
8338
|
+
attr_accessor :current_version
|
8339
|
+
|
8340
|
+
# A brief description of the event.
|
8341
|
+
# Corresponds to the JSON property `description`
|
8342
|
+
# @return [String]
|
8343
|
+
attr_accessor :description
|
8344
|
+
|
8345
|
+
# The time when the operation ended.
|
8346
|
+
# Corresponds to the JSON property `endTime`
|
8347
|
+
# @return [String]
|
8348
|
+
attr_accessor :end_time
|
8349
|
+
|
8350
|
+
# The type of the event.
|
8351
|
+
# Corresponds to the JSON property `eventType`
|
8352
|
+
# @return [String]
|
8353
|
+
attr_accessor :event_type
|
8354
|
+
|
8355
|
+
# The end of extended support timestamp.
|
8356
|
+
# Corresponds to the JSON property `extendedSupportEndTime`
|
8357
|
+
# @return [String]
|
8358
|
+
attr_accessor :extended_support_end_time
|
8359
|
+
|
8360
|
+
# The operation associated with this upgrade.
|
8361
|
+
# Corresponds to the JSON property `operation`
|
8362
|
+
# @return [String]
|
8363
|
+
attr_accessor :operation
|
8364
|
+
|
8365
|
+
# Optional relative path to the resource. For example in node pool upgrades, the
|
8366
|
+
# relative path of the node pool.
|
8367
|
+
# Corresponds to the JSON property `resource`
|
8368
|
+
# @return [String]
|
8369
|
+
attr_accessor :resource
|
8370
|
+
|
8371
|
+
# The resource type associated with the upgrade.
|
8372
|
+
# Corresponds to the JSON property `resourceType`
|
8373
|
+
# @return [String]
|
8374
|
+
attr_accessor :resource_type
|
8375
|
+
|
8376
|
+
# The end of standard support timestamp.
|
8377
|
+
# Corresponds to the JSON property `standardSupportEndTime`
|
8378
|
+
# @return [String]
|
8379
|
+
attr_accessor :standard_support_end_time
|
8380
|
+
|
8381
|
+
# The time when the operation was started.
|
8382
|
+
# Corresponds to the JSON property `startTime`
|
8383
|
+
# @return [String]
|
8384
|
+
attr_accessor :start_time
|
8385
|
+
|
8386
|
+
# Output only. The state of the upgrade.
|
8387
|
+
# Corresponds to the JSON property `state`
|
8388
|
+
# @return [String]
|
8389
|
+
attr_accessor :state
|
8390
|
+
|
8391
|
+
# The target version for the upgrade.
|
8392
|
+
# Corresponds to the JSON property `targetVersion`
|
8393
|
+
# @return [String]
|
8394
|
+
attr_accessor :target_version
|
8395
|
+
|
8396
|
+
def initialize(**args)
|
8397
|
+
update!(**args)
|
8398
|
+
end
|
8399
|
+
|
8400
|
+
# Update properties of this object
|
8401
|
+
def update!(**args)
|
8402
|
+
@current_version = args[:current_version] if args.key?(:current_version)
|
8403
|
+
@description = args[:description] if args.key?(:description)
|
8404
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
8405
|
+
@event_type = args[:event_type] if args.key?(:event_type)
|
8406
|
+
@extended_support_end_time = args[:extended_support_end_time] if args.key?(:extended_support_end_time)
|
8407
|
+
@operation = args[:operation] if args.key?(:operation)
|
8408
|
+
@resource = args[:resource] if args.key?(:resource)
|
8409
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
8410
|
+
@standard_support_end_time = args[:standard_support_end_time] if args.key?(:standard_support_end_time)
|
8411
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
8412
|
+
@state = args[:state] if args.key?(:state)
|
8413
|
+
@target_version = args[:target_version] if args.key?(:target_version)
|
8414
|
+
end
|
8415
|
+
end
|
8416
|
+
|
6135
8417
|
# These upgrade settings control the level of parallelism and the level of
|
6136
8418
|
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
6137
8419
|
# that can be simultaneously unavailable. maxSurge controls the number of
|
@@ -6281,6 +8563,78 @@ module Google
|
|
6281
8563
|
end
|
6282
8564
|
end
|
6283
8565
|
|
8566
|
+
# UserManagedKeysConfig holds the resource address to Keys which are used for
|
8567
|
+
# signing certs and token that are used for communication within cluster.
|
8568
|
+
class UserManagedKeysConfig
|
8569
|
+
include Google::Apis::Core::Hashable
|
8570
|
+
|
8571
|
+
# The Certificate Authority Service caPool to use for the aggregation CA in this
|
8572
|
+
# cluster.
|
8573
|
+
# Corresponds to the JSON property `aggregationCa`
|
8574
|
+
# @return [String]
|
8575
|
+
attr_accessor :aggregation_ca
|
8576
|
+
|
8577
|
+
# The Certificate Authority Service caPool to use for the cluster CA in this
|
8578
|
+
# cluster.
|
8579
|
+
# Corresponds to the JSON property `clusterCa`
|
8580
|
+
# @return [String]
|
8581
|
+
attr_accessor :cluster_ca
|
8582
|
+
|
8583
|
+
# The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control plane
|
8584
|
+
# nodes.
|
8585
|
+
# Corresponds to the JSON property `controlPlaneDiskEncryptionKey`
|
8586
|
+
# @return [String]
|
8587
|
+
attr_accessor :control_plane_disk_encryption_key
|
8588
|
+
|
8589
|
+
# Resource path of the Certificate Authority Service caPool to use for the etcd
|
8590
|
+
# API CA in this cluster.
|
8591
|
+
# Corresponds to the JSON property `etcdApiCa`
|
8592
|
+
# @return [String]
|
8593
|
+
attr_accessor :etcd_api_ca
|
8594
|
+
|
8595
|
+
# Resource path of the Certificate Authority Service caPool to use for the etcd
|
8596
|
+
# peer CA in this cluster.
|
8597
|
+
# Corresponds to the JSON property `etcdPeerCa`
|
8598
|
+
# @return [String]
|
8599
|
+
attr_accessor :etcd_peer_ca
|
8600
|
+
|
8601
|
+
# Resource path of the Cloud KMS cryptoKey to use for encryption of internal
|
8602
|
+
# etcd backups.
|
8603
|
+
# Corresponds to the JSON property `gkeopsEtcdBackupEncryptionKey`
|
8604
|
+
# @return [String]
|
8605
|
+
attr_accessor :gkeops_etcd_backup_encryption_key
|
8606
|
+
|
8607
|
+
# The Cloud KMS cryptoKeyVersions to use for signing service account JWTs issued
|
8608
|
+
# by this cluster. Format: `projects/`project`/locations/`location`/keyRings/`
|
8609
|
+
# keyring`/cryptoKeys/`cryptoKey`/cryptoKeyVersions/`cryptoKeyVersion``
|
8610
|
+
# Corresponds to the JSON property `serviceAccountSigningKeys`
|
8611
|
+
# @return [Array<String>]
|
8612
|
+
attr_accessor :service_account_signing_keys
|
8613
|
+
|
8614
|
+
# The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs
|
8615
|
+
# issued by this cluster. Format: `projects/`project`/locations/`location`/
|
8616
|
+
# keyRings/`keyring`/cryptoKeys/`cryptoKey`/cryptoKeyVersions/`cryptoKeyVersion``
|
8617
|
+
# Corresponds to the JSON property `serviceAccountVerificationKeys`
|
8618
|
+
# @return [Array<String>]
|
8619
|
+
attr_accessor :service_account_verification_keys
|
8620
|
+
|
8621
|
+
def initialize(**args)
|
8622
|
+
update!(**args)
|
8623
|
+
end
|
8624
|
+
|
8625
|
+
# Update properties of this object
|
8626
|
+
def update!(**args)
|
8627
|
+
@aggregation_ca = args[:aggregation_ca] if args.key?(:aggregation_ca)
|
8628
|
+
@cluster_ca = args[:cluster_ca] if args.key?(:cluster_ca)
|
8629
|
+
@control_plane_disk_encryption_key = args[:control_plane_disk_encryption_key] if args.key?(:control_plane_disk_encryption_key)
|
8630
|
+
@etcd_api_ca = args[:etcd_api_ca] if args.key?(:etcd_api_ca)
|
8631
|
+
@etcd_peer_ca = args[:etcd_peer_ca] if args.key?(:etcd_peer_ca)
|
8632
|
+
@gkeops_etcd_backup_encryption_key = args[:gkeops_etcd_backup_encryption_key] if args.key?(:gkeops_etcd_backup_encryption_key)
|
8633
|
+
@service_account_signing_keys = args[:service_account_signing_keys] if args.key?(:service_account_signing_keys)
|
8634
|
+
@service_account_verification_keys = args[:service_account_verification_keys] if args.key?(:service_account_verification_keys)
|
8635
|
+
end
|
8636
|
+
end
|
8637
|
+
|
6284
8638
|
# VerticalPodAutoscaling contains global, per-cluster information required by
|
6285
8639
|
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
6286
8640
|
# controlled by it.
|
@@ -6325,11 +8679,11 @@ module Google
|
|
6325
8679
|
|
6326
8680
|
# Parameters that can be configured on Windows nodes. Windows Node Config that
|
6327
8681
|
# define the parameters that will be used to configure the Windows node pool
|
6328
|
-
# settings
|
8682
|
+
# settings.
|
6329
8683
|
class WindowsNodeConfig
|
6330
8684
|
include Google::Apis::Core::Hashable
|
6331
8685
|
|
6332
|
-
# OSVersion specifies the Windows node config to be used on the node
|
8686
|
+
# OSVersion specifies the Windows node config to be used on the node.
|
6333
8687
|
# Corresponds to the JSON property `osVersion`
|
6334
8688
|
# @return [String]
|
6335
8689
|
attr_accessor :os_version
|
@@ -6383,6 +8737,33 @@ module Google
|
|
6383
8737
|
@mode = args[:mode] if args.key?(:mode)
|
6384
8738
|
end
|
6385
8739
|
end
|
8740
|
+
|
8741
|
+
# WorkloadPolicyConfig is the configuration related to GCW workload policy
|
8742
|
+
class WorkloadPolicyConfig
|
8743
|
+
include Google::Apis::Core::Hashable
|
8744
|
+
|
8745
|
+
# If true, workloads can use NET_ADMIN capability.
|
8746
|
+
# Corresponds to the JSON property `allowNetAdmin`
|
8747
|
+
# @return [Boolean]
|
8748
|
+
attr_accessor :allow_net_admin
|
8749
|
+
alias_method :allow_net_admin?, :allow_net_admin
|
8750
|
+
|
8751
|
+
# If true, enables the GCW Auditor that audits workloads on standard clusters.
|
8752
|
+
# Corresponds to the JSON property `autopilotCompatibilityAuditingEnabled`
|
8753
|
+
# @return [Boolean]
|
8754
|
+
attr_accessor :autopilot_compatibility_auditing_enabled
|
8755
|
+
alias_method :autopilot_compatibility_auditing_enabled?, :autopilot_compatibility_auditing_enabled
|
8756
|
+
|
8757
|
+
def initialize(**args)
|
8758
|
+
update!(**args)
|
8759
|
+
end
|
8760
|
+
|
8761
|
+
# Update properties of this object
|
8762
|
+
def update!(**args)
|
8763
|
+
@allow_net_admin = args[:allow_net_admin] if args.key?(:allow_net_admin)
|
8764
|
+
@autopilot_compatibility_auditing_enabled = args[:autopilot_compatibility_auditing_enabled] if args.key?(:autopilot_compatibility_auditing_enabled)
|
8765
|
+
end
|
8766
|
+
end
|
6386
8767
|
end
|
6387
8768
|
end
|
6388
8769
|
end
|