google-apis-container_v1 0.30.0 → 0.33.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53e65603d9bdaa55f70003cea60cd1a04635edd633a0782ff0435da9e05d0eb6
|
4
|
+
data.tar.gz: 40cba5b2f834d2ee698fb93b318b64d38bcf89c7d254fc8212bdea657ba6aa7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1876d21d647e3ba84a28476ce982d4b60749fbde5cf73887dd34fe4b82eef5c4bfba016d38beacba7fd28b9f0e7d8c76ddefb5f09e56ed984abff522d38ea63e
|
7
|
+
data.tar.gz: af52b8a480b4bf48d360694e6a3197cb05881cfd6f29582c42c69aa72ab8ccadefe28add2135cf7a07fdf605b433662ede8368b36127ef567ba65d7063fc48b8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-container_v1
|
2
2
|
|
3
|
+
### v0.33.0 (2022-06-30)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.8.0
|
6
|
+
* Regenerated from discovery document revision 20220615
|
7
|
+
|
8
|
+
### v0.32.0 (2022-06-18)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.7.0
|
11
|
+
|
12
|
+
### v0.31.0 (2022-06-05)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220518
|
15
|
+
* Regenerated using generator version 0.5.0
|
16
|
+
|
3
17
|
### v0.30.0 (2022-05-10)
|
4
18
|
|
5
19
|
* Regenerated from discovery document revision 20220420
|
@@ -44,6 +44,12 @@ module Google
|
|
44
44
|
# @return [String]
|
45
45
|
attr_accessor :gpu_partition_size
|
46
46
|
|
47
|
+
# GPUSharingConfig represents the GPU sharing configuration for Hardware
|
48
|
+
# Accelerators.
|
49
|
+
# Corresponds to the JSON property `gpuSharingConfig`
|
50
|
+
# @return [Google::Apis::ContainerV1::GpuSharingConfig]
|
51
|
+
attr_accessor :gpu_sharing_config
|
52
|
+
|
47
53
|
def initialize(**args)
|
48
54
|
update!(**args)
|
49
55
|
end
|
@@ -53,6 +59,7 @@ module Google
|
|
53
59
|
@accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
|
54
60
|
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
55
61
|
@gpu_partition_size = args[:gpu_partition_size] if args.key?(:gpu_partition_size)
|
62
|
+
@gpu_sharing_config = args[:gpu_sharing_config] if args.key?(:gpu_sharing_config)
|
56
63
|
end
|
57
64
|
end
|
58
65
|
|
@@ -305,6 +312,23 @@ module Google
|
|
305
312
|
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
306
313
|
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
307
314
|
# same time. This ensures that there are always at least 4 nodes available.
|
315
|
+
# These upgrade settings configure the upgrade strategy for the node pool. Use
|
316
|
+
# strategy to switch between the strategies applied to the node pool. If the
|
317
|
+
# strategy is ROLLING, use max_surge and max_unavailable to control the level of
|
318
|
+
# parallelism and the level of disruption caused by upgrade. 1. maxSurge
|
319
|
+
# controls the number of additional nodes that can be added to the node pool
|
320
|
+
# temporarily for the time of the upgrade to increase the number of available
|
321
|
+
# nodes. 2. maxUnavailable controls the number of nodes that can be
|
322
|
+
# simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
|
323
|
+
# level of parallelism (how many nodes are being upgraded at the same time). If
|
324
|
+
# the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
|
325
|
+
# green upgrade related settings. 1. standard_rollout_policy is the default
|
326
|
+
# policy. The policy is used to control the way blue pool gets drained. The
|
327
|
+
# draining is executed in the batch mode. The batch size could be specified as
|
328
|
+
# either percentage of the node pool size or the number of nodes.
|
329
|
+
# batch_soak_duration is the soak time after each batch gets drained. 2.
|
330
|
+
# node_pool_soak_duration is the soak time after all blue nodes are drained.
|
331
|
+
# After this period, the blue pool nodes will be deleted.
|
308
332
|
# Corresponds to the JSON property `upgradeSettings`
|
309
333
|
# @return [Google::Apis::ContainerV1::UpgradeSettings]
|
310
334
|
attr_accessor :upgrade_settings
|
@@ -375,6 +399,78 @@ module Google
|
|
375
399
|
end
|
376
400
|
end
|
377
401
|
|
402
|
+
# Information relevant to blue-green upgrade.
|
403
|
+
class BlueGreenInfo
|
404
|
+
include Google::Apis::Core::Hashable
|
405
|
+
|
406
|
+
# The resource URLs of the [managed instance groups] (/compute/docs/instance-
|
407
|
+
# groups/creating-groups-of-managed-instances) associated with blue pool.
|
408
|
+
# Corresponds to the JSON property `blueInstanceGroupUrls`
|
409
|
+
# @return [Array<String>]
|
410
|
+
attr_accessor :blue_instance_group_urls
|
411
|
+
|
412
|
+
# Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](
|
413
|
+
# https://www.ietf.org/rfc/rfc3339.txt) text format.
|
414
|
+
# Corresponds to the JSON property `bluePoolDeletionStartTime`
|
415
|
+
# @return [String]
|
416
|
+
attr_accessor :blue_pool_deletion_start_time
|
417
|
+
|
418
|
+
# The resource URLs of the [managed instance groups] (/compute/docs/instance-
|
419
|
+
# groups/creating-groups-of-managed-instances) associated with green pool.
|
420
|
+
# Corresponds to the JSON property `greenInstanceGroupUrls`
|
421
|
+
# @return [Array<String>]
|
422
|
+
attr_accessor :green_instance_group_urls
|
423
|
+
|
424
|
+
# Version of green pool.
|
425
|
+
# Corresponds to the JSON property `greenPoolVersion`
|
426
|
+
# @return [String]
|
427
|
+
attr_accessor :green_pool_version
|
428
|
+
|
429
|
+
# Current blue-green upgrade phase.
|
430
|
+
# Corresponds to the JSON property `phase`
|
431
|
+
# @return [String]
|
432
|
+
attr_accessor :phase
|
433
|
+
|
434
|
+
def initialize(**args)
|
435
|
+
update!(**args)
|
436
|
+
end
|
437
|
+
|
438
|
+
# Update properties of this object
|
439
|
+
def update!(**args)
|
440
|
+
@blue_instance_group_urls = args[:blue_instance_group_urls] if args.key?(:blue_instance_group_urls)
|
441
|
+
@blue_pool_deletion_start_time = args[:blue_pool_deletion_start_time] if args.key?(:blue_pool_deletion_start_time)
|
442
|
+
@green_instance_group_urls = args[:green_instance_group_urls] if args.key?(:green_instance_group_urls)
|
443
|
+
@green_pool_version = args[:green_pool_version] if args.key?(:green_pool_version)
|
444
|
+
@phase = args[:phase] if args.key?(:phase)
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
448
|
+
# Settings for blue-green upgrade.
|
449
|
+
class BlueGreenSettings
|
450
|
+
include Google::Apis::Core::Hashable
|
451
|
+
|
452
|
+
# Time needed after draining entire blue pool. After this period, blue pool will
|
453
|
+
# be cleaned up.
|
454
|
+
# Corresponds to the JSON property `nodePoolSoakDuration`
|
455
|
+
# @return [String]
|
456
|
+
attr_accessor :node_pool_soak_duration
|
457
|
+
|
458
|
+
# Standard rollout policy is the default policy for blue-green.
|
459
|
+
# Corresponds to the JSON property `standardRolloutPolicy`
|
460
|
+
# @return [Google::Apis::ContainerV1::StandardRolloutPolicy]
|
461
|
+
attr_accessor :standard_rollout_policy
|
462
|
+
|
463
|
+
def initialize(**args)
|
464
|
+
update!(**args)
|
465
|
+
end
|
466
|
+
|
467
|
+
# Update properties of this object
|
468
|
+
def update!(**args)
|
469
|
+
@node_pool_soak_duration = args[:node_pool_soak_duration] if args.key?(:node_pool_soak_duration)
|
470
|
+
@standard_rollout_policy = args[:standard_rollout_policy] if args.key?(:standard_rollout_policy)
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
378
474
|
# CancelOperationRequest cancels a single operation.
|
379
475
|
class CancelOperationRequest
|
380
476
|
include Google::Apis::Core::Hashable
|
@@ -770,9 +866,9 @@ module Google
|
|
770
866
|
# @return [Google::Apis::ContainerV1::NetworkPolicy]
|
771
867
|
attr_accessor :network_policy
|
772
868
|
|
773
|
-
# Parameters that describe the nodes in a cluster.
|
774
|
-
#
|
775
|
-
#
|
869
|
+
# Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
|
870
|
+
# recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
|
871
|
+
# instead.
|
776
872
|
# Corresponds to the JSON property `nodeConfig`
|
777
873
|
# @return [Google::Apis::ContainerV1::NodeConfig]
|
778
874
|
attr_accessor :node_config
|
@@ -1320,6 +1416,20 @@ module Google
|
|
1320
1416
|
end
|
1321
1417
|
end
|
1322
1418
|
|
1419
|
+
# CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
|
1420
|
+
# upgrade.
|
1421
|
+
class CompleteNodePoolUpgradeRequest
|
1422
|
+
include Google::Apis::Core::Hashable
|
1423
|
+
|
1424
|
+
def initialize(**args)
|
1425
|
+
update!(**args)
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
# Update properties of this object
|
1429
|
+
def update!(**args)
|
1430
|
+
end
|
1431
|
+
end
|
1432
|
+
|
1323
1433
|
# ConfidentialNodes is configuration for the confidential nodes feature, which
|
1324
1434
|
# makes nodes run on confidential VMs.
|
1325
1435
|
class ConfidentialNodes
|
@@ -1643,6 +1753,32 @@ module Google
|
|
1643
1753
|
end
|
1644
1754
|
end
|
1645
1755
|
|
1756
|
+
# GPUSharingConfig represents the GPU sharing configuration for Hardware
|
1757
|
+
# Accelerators.
|
1758
|
+
class GpuSharingConfig
|
1759
|
+
include Google::Apis::Core::Hashable
|
1760
|
+
|
1761
|
+
# The type of GPU sharing strategy to enable on the GPU node.
|
1762
|
+
# Corresponds to the JSON property `gpuSharingStrategy`
|
1763
|
+
# @return [String]
|
1764
|
+
attr_accessor :gpu_sharing_strategy
|
1765
|
+
|
1766
|
+
# The max number of containers that can share a physical GPU.
|
1767
|
+
# Corresponds to the JSON property `maxSharedClientsPerGpu`
|
1768
|
+
# @return [Fixnum]
|
1769
|
+
attr_accessor :max_shared_clients_per_gpu
|
1770
|
+
|
1771
|
+
def initialize(**args)
|
1772
|
+
update!(**args)
|
1773
|
+
end
|
1774
|
+
|
1775
|
+
# Update properties of this object
|
1776
|
+
def update!(**args)
|
1777
|
+
@gpu_sharing_strategy = args[:gpu_sharing_strategy] if args.key?(:gpu_sharing_strategy)
|
1778
|
+
@max_shared_clients_per_gpu = args[:max_shared_clients_per_gpu] if args.key?(:max_shared_clients_per_gpu)
|
1779
|
+
end
|
1780
|
+
end
|
1781
|
+
|
1646
1782
|
# Configuration for the Compute Engine PD CSI driver.
|
1647
1783
|
class GcePersistentDiskCsiDriverConfig
|
1648
1784
|
include Google::Apis::Core::Hashable
|
@@ -2822,9 +2958,9 @@ module Google
|
|
2822
2958
|
end
|
2823
2959
|
end
|
2824
2960
|
|
2825
|
-
# Parameters that describe the nodes in a cluster.
|
2826
|
-
#
|
2827
|
-
#
|
2961
|
+
# Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
|
2962
|
+
# recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
|
2963
|
+
# instead.
|
2828
2964
|
class NodeConfig
|
2829
2965
|
include Google::Apis::Core::Hashable
|
2830
2966
|
|
@@ -2848,6 +2984,12 @@ module Google
|
|
2848
2984
|
# @return [String]
|
2849
2985
|
attr_accessor :boot_disk_kms_key
|
2850
2986
|
|
2987
|
+
# ConfidentialNodes is configuration for the confidential nodes feature, which
|
2988
|
+
# makes nodes run on confidential VMs.
|
2989
|
+
# Corresponds to the JSON property `confidentialNodes`
|
2990
|
+
# @return [Google::Apis::ContainerV1::ConfidentialNodes]
|
2991
|
+
attr_accessor :confidential_nodes
|
2992
|
+
|
2851
2993
|
# Size of the disk attached to each node, specified in GB. The smallest allowed
|
2852
2994
|
# disk size is 10GB. If unspecified, the default disk size is 100GB.
|
2853
2995
|
# Corresponds to the JSON property `diskSizeGb`
|
@@ -3030,6 +3172,7 @@ module Google
|
|
3030
3172
|
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
3031
3173
|
@advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
|
3032
3174
|
@boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
|
3175
|
+
@confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
|
3033
3176
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
3034
3177
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
3035
3178
|
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
|
@@ -3264,9 +3407,9 @@ module Google
|
|
3264
3407
|
# @return [Array<Google::Apis::ContainerV1::StatusCondition>]
|
3265
3408
|
attr_accessor :conditions
|
3266
3409
|
|
3267
|
-
# Parameters that describe the nodes in a cluster.
|
3268
|
-
#
|
3269
|
-
#
|
3410
|
+
# Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
|
3411
|
+
# recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
|
3412
|
+
# instead.
|
3270
3413
|
# Corresponds to the JSON property `config`
|
3271
3414
|
# @return [Google::Apis::ContainerV1::NodeConfig]
|
3272
3415
|
attr_accessor :config
|
@@ -3281,7 +3424,8 @@ module Google
|
|
3281
3424
|
|
3282
3425
|
# [Output only] The resource URLs of the [managed instance groups](https://cloud.
|
3283
3426
|
# google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
3284
|
-
# associated with this node pool.
|
3427
|
+
# associated with this node pool. During the node pool blue-green upgrade
|
3428
|
+
# operation, the URLs contain both blue and green resources.
|
3285
3429
|
# Corresponds to the JSON property `instanceGroupUrls`
|
3286
3430
|
# @return [Array<String>]
|
3287
3431
|
attr_accessor :instance_group_urls
|
@@ -3338,6 +3482,12 @@ module Google
|
|
3338
3482
|
# @return [String]
|
3339
3483
|
attr_accessor :status_message
|
3340
3484
|
|
3485
|
+
# UpdateInfo contains resource (instance groups, etc), status and other
|
3486
|
+
# intermediate information relevant to a node pool upgrade.
|
3487
|
+
# Corresponds to the JSON property `updateInfo`
|
3488
|
+
# @return [Google::Apis::ContainerV1::UpdateInfo]
|
3489
|
+
attr_accessor :update_info
|
3490
|
+
|
3341
3491
|
# These upgrade settings control the level of parallelism and the level of
|
3342
3492
|
# disruption caused by an upgrade. maxUnavailable controls the number of nodes
|
3343
3493
|
# that can be simultaneously unavailable. maxSurge controls the number of
|
@@ -3352,6 +3502,23 @@ module Google
|
|
3352
3502
|
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
3353
3503
|
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
3354
3504
|
# same time. This ensures that there are always at least 4 nodes available.
|
3505
|
+
# These upgrade settings configure the upgrade strategy for the node pool. Use
|
3506
|
+
# strategy to switch between the strategies applied to the node pool. If the
|
3507
|
+
# strategy is ROLLING, use max_surge and max_unavailable to control the level of
|
3508
|
+
# parallelism and the level of disruption caused by upgrade. 1. maxSurge
|
3509
|
+
# controls the number of additional nodes that can be added to the node pool
|
3510
|
+
# temporarily for the time of the upgrade to increase the number of available
|
3511
|
+
# nodes. 2. maxUnavailable controls the number of nodes that can be
|
3512
|
+
# simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
|
3513
|
+
# level of parallelism (how many nodes are being upgraded at the same time). If
|
3514
|
+
# the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
|
3515
|
+
# green upgrade related settings. 1. standard_rollout_policy is the default
|
3516
|
+
# policy. The policy is used to control the way blue pool gets drained. The
|
3517
|
+
# draining is executed in the batch mode. The batch size could be specified as
|
3518
|
+
# either percentage of the node pool size or the number of nodes.
|
3519
|
+
# batch_soak_duration is the soak time after each batch gets drained. 2.
|
3520
|
+
# node_pool_soak_duration is the soak time after all blue nodes are drained.
|
3521
|
+
# After this period, the blue pool nodes will be deleted.
|
3355
3522
|
# Corresponds to the JSON property `upgradeSettings`
|
3356
3523
|
# @return [Google::Apis::ContainerV1::UpgradeSettings]
|
3357
3524
|
attr_accessor :upgrade_settings
|
@@ -3381,6 +3548,7 @@ module Google
|
|
3381
3548
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3382
3549
|
@status = args[:status] if args.key?(:status)
|
3383
3550
|
@status_message = args[:status_message] if args.key?(:status_message)
|
3551
|
+
@update_info = args[:update_info] if args.key?(:update_info)
|
3384
3552
|
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
3385
3553
|
@version = args[:version] if args.key?(:version)
|
3386
3554
|
end
|
@@ -3424,6 +3592,11 @@ module Google
|
|
3424
3592
|
attr_accessor :enabled
|
3425
3593
|
alias_method :enabled?, :enabled
|
3426
3594
|
|
3595
|
+
# Location policy used when scaling up a nodepool.
|
3596
|
+
# Corresponds to the JSON property `locationPolicy`
|
3597
|
+
# @return [String]
|
3598
|
+
attr_accessor :location_policy
|
3599
|
+
|
3427
3600
|
# Maximum number of nodes for one location in the NodePool. Must be >=
|
3428
3601
|
# min_node_count. There has to be enough quota to scale up the cluster.
|
3429
3602
|
# Corresponds to the JSON property `maxNodeCount`
|
@@ -3436,6 +3609,21 @@ module Google
|
|
3436
3609
|
# @return [Fixnum]
|
3437
3610
|
attr_accessor :min_node_count
|
3438
3611
|
|
3612
|
+
# Maximum number of nodes in the node pool. Must be greater than
|
3613
|
+
# total_min_node_count. There has to be enough quota to scale up the cluster.
|
3614
|
+
# The total_*_node_count fields are mutually exclusive with the *_node_count
|
3615
|
+
# fields.
|
3616
|
+
# Corresponds to the JSON property `totalMaxNodeCount`
|
3617
|
+
# @return [Fixnum]
|
3618
|
+
attr_accessor :total_max_node_count
|
3619
|
+
|
3620
|
+
# Minimum number of nodes in the node pool. Must be greater than 1 less than
|
3621
|
+
# total_max_node_count. The total_*_node_count fields are mutually exclusive
|
3622
|
+
# with the *_node_count fields.
|
3623
|
+
# Corresponds to the JSON property `totalMinNodeCount`
|
3624
|
+
# @return [Fixnum]
|
3625
|
+
attr_accessor :total_min_node_count
|
3626
|
+
|
3439
3627
|
def initialize(**args)
|
3440
3628
|
update!(**args)
|
3441
3629
|
end
|
@@ -3444,8 +3632,11 @@ module Google
|
|
3444
3632
|
def update!(**args)
|
3445
3633
|
@autoprovisioned = args[:autoprovisioned] if args.key?(:autoprovisioned)
|
3446
3634
|
@enabled = args[:enabled] if args.key?(:enabled)
|
3635
|
+
@location_policy = args[:location_policy] if args.key?(:location_policy)
|
3447
3636
|
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
3448
3637
|
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
3638
|
+
@total_max_node_count = args[:total_max_node_count] if args.key?(:total_max_node_count)
|
3639
|
+
@total_min_node_count = args[:total_min_node_count] if args.key?(:total_min_node_count)
|
3449
3640
|
end
|
3450
3641
|
end
|
3451
3642
|
|
@@ -4042,6 +4233,12 @@ module Google
|
|
4042
4233
|
# @return [String]
|
4043
4234
|
attr_accessor :project_id
|
4044
4235
|
|
4236
|
+
# Option for rollback to ignore the PodDisruptionBudget. Default value is false.
|
4237
|
+
# Corresponds to the JSON property `respectPdb`
|
4238
|
+
# @return [Boolean]
|
4239
|
+
attr_accessor :respect_pdb
|
4240
|
+
alias_method :respect_pdb?, :respect_pdb
|
4241
|
+
|
4045
4242
|
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
4046
4243
|
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
4047
4244
|
# been deprecated and replaced by the name field.
|
@@ -4059,6 +4256,7 @@ module Google
|
|
4059
4256
|
@name = args[:name] if args.key?(:name)
|
4060
4257
|
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
|
4061
4258
|
@project_id = args[:project_id] if args.key?(:project_id)
|
4259
|
+
@respect_pdb = args[:respect_pdb] if args.key?(:respect_pdb)
|
4062
4260
|
@zone = args[:zone] if args.key?(:zone)
|
4063
4261
|
end
|
4064
4262
|
end
|
@@ -4939,6 +5137,38 @@ module Google
|
|
4939
5137
|
end
|
4940
5138
|
end
|
4941
5139
|
|
5140
|
+
# Standard rollout policy is the default policy for blue-green.
|
5141
|
+
class StandardRolloutPolicy
|
5142
|
+
include Google::Apis::Core::Hashable
|
5143
|
+
|
5144
|
+
# Number of blue nodes to drain in a batch.
|
5145
|
+
# Corresponds to the JSON property `batchNodeCount`
|
5146
|
+
# @return [Fixnum]
|
5147
|
+
attr_accessor :batch_node_count
|
5148
|
+
|
5149
|
+
# Percentage of the bool pool nodes to drain in a batch. The range of this field
|
5150
|
+
# should be (0.0, 1.0].
|
5151
|
+
# Corresponds to the JSON property `batchPercentage`
|
5152
|
+
# @return [Float]
|
5153
|
+
attr_accessor :batch_percentage
|
5154
|
+
|
5155
|
+
# Soak time after each batch gets drained. Default to zero.
|
5156
|
+
# Corresponds to the JSON property `batchSoakDuration`
|
5157
|
+
# @return [String]
|
5158
|
+
attr_accessor :batch_soak_duration
|
5159
|
+
|
5160
|
+
def initialize(**args)
|
5161
|
+
update!(**args)
|
5162
|
+
end
|
5163
|
+
|
5164
|
+
# Update properties of this object
|
5165
|
+
def update!(**args)
|
5166
|
+
@batch_node_count = args[:batch_node_count] if args.key?(:batch_node_count)
|
5167
|
+
@batch_percentage = args[:batch_percentage] if args.key?(:batch_percentage)
|
5168
|
+
@batch_soak_duration = args[:batch_soak_duration] if args.key?(:batch_soak_duration)
|
5169
|
+
end
|
5170
|
+
end
|
5171
|
+
|
4942
5172
|
# StartIPRotationRequest creates a new IP for the cluster and then performs a
|
4943
5173
|
# node upgrade on each node pool to point to the new IP.
|
4944
5174
|
class StartIpRotationRequest
|
@@ -5144,6 +5374,26 @@ module Google
|
|
5144
5374
|
end
|
5145
5375
|
end
|
5146
5376
|
|
5377
|
+
# UpdateInfo contains resource (instance groups, etc), status and other
|
5378
|
+
# intermediate information relevant to a node pool upgrade.
|
5379
|
+
class UpdateInfo
|
5380
|
+
include Google::Apis::Core::Hashable
|
5381
|
+
|
5382
|
+
# Information relevant to blue-green upgrade.
|
5383
|
+
# Corresponds to the JSON property `blueGreenInfo`
|
5384
|
+
# @return [Google::Apis::ContainerV1::BlueGreenInfo]
|
5385
|
+
attr_accessor :blue_green_info
|
5386
|
+
|
5387
|
+
def initialize(**args)
|
5388
|
+
update!(**args)
|
5389
|
+
end
|
5390
|
+
|
5391
|
+
# Update properties of this object
|
5392
|
+
def update!(**args)
|
5393
|
+
@blue_green_info = args[:blue_green_info] if args.key?(:blue_green_info)
|
5394
|
+
end
|
5395
|
+
end
|
5396
|
+
|
5147
5397
|
# UpdateMasterRequest updates the master of the cluster.
|
5148
5398
|
class UpdateMasterRequest
|
5149
5399
|
include Google::Apis::Core::Hashable
|
@@ -5209,6 +5459,12 @@ module Google
|
|
5209
5459
|
# @return [String]
|
5210
5460
|
attr_accessor :cluster_id
|
5211
5461
|
|
5462
|
+
# ConfidentialNodes is configuration for the confidential nodes feature, which
|
5463
|
+
# makes nodes run on confidential VMs.
|
5464
|
+
# Corresponds to the JSON property `confidentialNodes`
|
5465
|
+
# @return [Google::Apis::ContainerV1::ConfidentialNodes]
|
5466
|
+
attr_accessor :confidential_nodes
|
5467
|
+
|
5212
5468
|
# GcfsConfig contains configurations of Google Container File System (image
|
5213
5469
|
# streaming).
|
5214
5470
|
# Corresponds to the JSON property `gcfsConfig`
|
@@ -5256,6 +5512,11 @@ module Google
|
|
5256
5512
|
# @return [String]
|
5257
5513
|
attr_accessor :name
|
5258
5514
|
|
5515
|
+
# Parameters for node pool-level network config.
|
5516
|
+
# Corresponds to the JSON property `nodeNetworkConfig`
|
5517
|
+
# @return [Google::Apis::ContainerV1::NodeNetworkConfig]
|
5518
|
+
attr_accessor :node_network_config
|
5519
|
+
|
5259
5520
|
# Deprecated. The name of the node pool to upgrade. This field has been
|
5260
5521
|
# deprecated and replaced by the name field.
|
5261
5522
|
# Corresponds to the JSON property `nodePoolId`
|
@@ -5306,6 +5567,23 @@ module Google
|
|
5306
5567
|
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
5307
5568
|
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
5308
5569
|
# same time. This ensures that there are always at least 4 nodes available.
|
5570
|
+
# These upgrade settings configure the upgrade strategy for the node pool. Use
|
5571
|
+
# strategy to switch between the strategies applied to the node pool. If the
|
5572
|
+
# strategy is ROLLING, use max_surge and max_unavailable to control the level of
|
5573
|
+
# parallelism and the level of disruption caused by upgrade. 1. maxSurge
|
5574
|
+
# controls the number of additional nodes that can be added to the node pool
|
5575
|
+
# temporarily for the time of the upgrade to increase the number of available
|
5576
|
+
# nodes. 2. maxUnavailable controls the number of nodes that can be
|
5577
|
+
# simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
|
5578
|
+
# level of parallelism (how many nodes are being upgraded at the same time). If
|
5579
|
+
# the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
|
5580
|
+
# green upgrade related settings. 1. standard_rollout_policy is the default
|
5581
|
+
# policy. The policy is used to control the way blue pool gets drained. The
|
5582
|
+
# draining is executed in the batch mode. The batch size could be specified as
|
5583
|
+
# either percentage of the node pool size or the number of nodes.
|
5584
|
+
# batch_soak_duration is the soak time after each batch gets drained. 2.
|
5585
|
+
# node_pool_soak_duration is the soak time after all blue nodes are drained.
|
5586
|
+
# After this period, the blue pool nodes will be deleted.
|
5309
5587
|
# Corresponds to the JSON property `upgradeSettings`
|
5310
5588
|
# @return [Google::Apis::ContainerV1::UpgradeSettings]
|
5311
5589
|
attr_accessor :upgrade_settings
|
@@ -5330,6 +5608,7 @@ module Google
|
|
5330
5608
|
# Update properties of this object
|
5331
5609
|
def update!(**args)
|
5332
5610
|
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
5611
|
+
@confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
|
5333
5612
|
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
|
5334
5613
|
@gvnic = args[:gvnic] if args.key?(:gvnic)
|
5335
5614
|
@image_type = args[:image_type] if args.key?(:image_type)
|
@@ -5338,6 +5617,7 @@ module Google
|
|
5338
5617
|
@linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
|
5339
5618
|
@locations = args[:locations] if args.key?(:locations)
|
5340
5619
|
@name = args[:name] if args.key?(:name)
|
5620
|
+
@node_network_config = args[:node_network_config] if args.key?(:node_network_config)
|
5341
5621
|
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
|
5342
5622
|
@node_version = args[:node_version] if args.key?(:node_version)
|
5343
5623
|
@project_id = args[:project_id] if args.key?(:project_id)
|
@@ -5456,9 +5736,31 @@ module Google
|
|
5456
5736
|
# upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (
|
5457
5737
|
# upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the
|
5458
5738
|
# same time. This ensures that there are always at least 4 nodes available.
|
5739
|
+
# These upgrade settings configure the upgrade strategy for the node pool. Use
|
5740
|
+
# strategy to switch between the strategies applied to the node pool. If the
|
5741
|
+
# strategy is ROLLING, use max_surge and max_unavailable to control the level of
|
5742
|
+
# parallelism and the level of disruption caused by upgrade. 1. maxSurge
|
5743
|
+
# controls the number of additional nodes that can be added to the node pool
|
5744
|
+
# temporarily for the time of the upgrade to increase the number of available
|
5745
|
+
# nodes. 2. maxUnavailable controls the number of nodes that can be
|
5746
|
+
# simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
|
5747
|
+
# level of parallelism (how many nodes are being upgraded at the same time). If
|
5748
|
+
# the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
|
5749
|
+
# green upgrade related settings. 1. standard_rollout_policy is the default
|
5750
|
+
# policy. The policy is used to control the way blue pool gets drained. The
|
5751
|
+
# draining is executed in the batch mode. The batch size could be specified as
|
5752
|
+
# either percentage of the node pool size or the number of nodes.
|
5753
|
+
# batch_soak_duration is the soak time after each batch gets drained. 2.
|
5754
|
+
# node_pool_soak_duration is the soak time after all blue nodes are drained.
|
5755
|
+
# After this period, the blue pool nodes will be deleted.
|
5459
5756
|
class UpgradeSettings
|
5460
5757
|
include Google::Apis::Core::Hashable
|
5461
5758
|
|
5759
|
+
# Settings for blue-green upgrade.
|
5760
|
+
# Corresponds to the JSON property `blueGreenSettings`
|
5761
|
+
# @return [Google::Apis::ContainerV1::BlueGreenSettings]
|
5762
|
+
attr_accessor :blue_green_settings
|
5763
|
+
|
5462
5764
|
# The maximum number of nodes that can be created beyond the current size of the
|
5463
5765
|
# node pool during the upgrade process.
|
5464
5766
|
# Corresponds to the JSON property `maxSurge`
|
@@ -5471,14 +5773,21 @@ module Google
|
|
5471
5773
|
# @return [Fixnum]
|
5472
5774
|
attr_accessor :max_unavailable
|
5473
5775
|
|
5776
|
+
# Update strategy of the node pool.
|
5777
|
+
# Corresponds to the JSON property `strategy`
|
5778
|
+
# @return [String]
|
5779
|
+
attr_accessor :strategy
|
5780
|
+
|
5474
5781
|
def initialize(**args)
|
5475
5782
|
update!(**args)
|
5476
5783
|
end
|
5477
5784
|
|
5478
5785
|
# Update properties of this object
|
5479
5786
|
def update!(**args)
|
5787
|
+
@blue_green_settings = args[:blue_green_settings] if args.key?(:blue_green_settings)
|
5480
5788
|
@max_surge = args[:max_surge] if args.key?(:max_surge)
|
5481
5789
|
@max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
|
5790
|
+
@strategy = args[:strategy] if args.key?(:strategy)
|
5482
5791
|
end
|
5483
5792
|
end
|
5484
5793
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContainerV1
|
18
18
|
# Version of the google-apis-container_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.33.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.8.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220615"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -76,6 +76,18 @@ module Google
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
+
class BlueGreenInfo
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class BlueGreenSettings
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
79
91
|
class CancelOperationRequest
|
80
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
93
|
|
@@ -124,6 +136,12 @@ module Google
|
|
124
136
|
include Google::Apis::Core::JsonObjectSupport
|
125
137
|
end
|
126
138
|
|
139
|
+
class CompleteNodePoolUpgradeRequest
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
127
145
|
class ConfidentialNodes
|
128
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
147
|
|
@@ -196,6 +214,12 @@ module Google
|
|
196
214
|
include Google::Apis::Core::JsonObjectSupport
|
197
215
|
end
|
198
216
|
|
217
|
+
class GpuSharingConfig
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
199
223
|
class GcePersistentDiskCsiDriverConfig
|
200
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
225
|
|
@@ -682,6 +706,12 @@ module Google
|
|
682
706
|
include Google::Apis::Core::JsonObjectSupport
|
683
707
|
end
|
684
708
|
|
709
|
+
class StandardRolloutPolicy
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
|
+
|
712
|
+
include Google::Apis::Core::JsonObjectSupport
|
713
|
+
end
|
714
|
+
|
685
715
|
class StartIpRotationRequest
|
686
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
687
717
|
|
@@ -712,6 +742,12 @@ module Google
|
|
712
742
|
include Google::Apis::Core::JsonObjectSupport
|
713
743
|
end
|
714
744
|
|
745
|
+
class UpdateInfo
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
|
+
|
748
|
+
include Google::Apis::Core::JsonObjectSupport
|
749
|
+
end
|
750
|
+
|
715
751
|
class UpdateMasterRequest
|
716
752
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
717
753
|
|
@@ -784,6 +820,8 @@ module Google
|
|
784
820
|
property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
|
785
821
|
property :accelerator_type, as: 'acceleratorType'
|
786
822
|
property :gpu_partition_size, as: 'gpuPartitionSize'
|
823
|
+
property :gpu_sharing_config, as: 'gpuSharingConfig', class: Google::Apis::ContainerV1::GpuSharingConfig, decorator: Google::Apis::ContainerV1::GpuSharingConfig::Representation
|
824
|
+
|
787
825
|
end
|
788
826
|
end
|
789
827
|
|
@@ -875,6 +913,26 @@ module Google
|
|
875
913
|
end
|
876
914
|
end
|
877
915
|
|
916
|
+
class BlueGreenInfo
|
917
|
+
# @private
|
918
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
919
|
+
collection :blue_instance_group_urls, as: 'blueInstanceGroupUrls'
|
920
|
+
property :blue_pool_deletion_start_time, as: 'bluePoolDeletionStartTime'
|
921
|
+
collection :green_instance_group_urls, as: 'greenInstanceGroupUrls'
|
922
|
+
property :green_pool_version, as: 'greenPoolVersion'
|
923
|
+
property :phase, as: 'phase'
|
924
|
+
end
|
925
|
+
end
|
926
|
+
|
927
|
+
class BlueGreenSettings
|
928
|
+
# @private
|
929
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
930
|
+
property :node_pool_soak_duration, as: 'nodePoolSoakDuration'
|
931
|
+
property :standard_rollout_policy, as: 'standardRolloutPolicy', class: Google::Apis::ContainerV1::StandardRolloutPolicy, decorator: Google::Apis::ContainerV1::StandardRolloutPolicy::Representation
|
932
|
+
|
933
|
+
end
|
934
|
+
end
|
935
|
+
|
878
936
|
class CancelOperationRequest
|
879
937
|
# @private
|
880
938
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1094,6 +1152,12 @@ module Google
|
|
1094
1152
|
end
|
1095
1153
|
end
|
1096
1154
|
|
1155
|
+
class CompleteNodePoolUpgradeRequest
|
1156
|
+
# @private
|
1157
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1158
|
+
end
|
1159
|
+
end
|
1160
|
+
|
1097
1161
|
class ConfidentialNodes
|
1098
1162
|
# @private
|
1099
1163
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1190,6 +1254,14 @@ module Google
|
|
1190
1254
|
end
|
1191
1255
|
end
|
1192
1256
|
|
1257
|
+
class GpuSharingConfig
|
1258
|
+
# @private
|
1259
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1260
|
+
property :gpu_sharing_strategy, as: 'gpuSharingStrategy'
|
1261
|
+
property :max_shared_clients_per_gpu, :numeric_string => true, as: 'maxSharedClientsPerGpu'
|
1262
|
+
end
|
1263
|
+
end
|
1264
|
+
|
1193
1265
|
class GcePersistentDiskCsiDriverConfig
|
1194
1266
|
# @private
|
1195
1267
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1538,6 +1610,8 @@ module Google
|
|
1538
1610
|
property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::ContainerV1::AdvancedMachineFeatures, decorator: Google::Apis::ContainerV1::AdvancedMachineFeatures::Representation
|
1539
1611
|
|
1540
1612
|
property :boot_disk_kms_key, as: 'bootDiskKmsKey'
|
1613
|
+
property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
|
1614
|
+
|
1541
1615
|
property :disk_size_gb, as: 'diskSizeGb'
|
1542
1616
|
property :disk_type, as: 'diskType'
|
1543
1617
|
property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
|
@@ -1642,6 +1716,8 @@ module Google
|
|
1642
1716
|
property :self_link, as: 'selfLink'
|
1643
1717
|
property :status, as: 'status'
|
1644
1718
|
property :status_message, as: 'statusMessage'
|
1719
|
+
property :update_info, as: 'updateInfo', class: Google::Apis::ContainerV1::UpdateInfo, decorator: Google::Apis::ContainerV1::UpdateInfo::Representation
|
1720
|
+
|
1645
1721
|
property :upgrade_settings, as: 'upgradeSettings', class: Google::Apis::ContainerV1::UpgradeSettings, decorator: Google::Apis::ContainerV1::UpgradeSettings::Representation
|
1646
1722
|
|
1647
1723
|
property :version, as: 'version'
|
@@ -1661,8 +1737,11 @@ module Google
|
|
1661
1737
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1662
1738
|
property :autoprovisioned, as: 'autoprovisioned'
|
1663
1739
|
property :enabled, as: 'enabled'
|
1740
|
+
property :location_policy, as: 'locationPolicy'
|
1664
1741
|
property :max_node_count, as: 'maxNodeCount'
|
1665
1742
|
property :min_node_count, as: 'minNodeCount'
|
1743
|
+
property :total_max_node_count, as: 'totalMaxNodeCount'
|
1744
|
+
property :total_min_node_count, as: 'totalMinNodeCount'
|
1666
1745
|
end
|
1667
1746
|
end
|
1668
1747
|
|
@@ -1828,6 +1907,7 @@ module Google
|
|
1828
1907
|
property :name, as: 'name'
|
1829
1908
|
property :node_pool_id, as: 'nodePoolId'
|
1830
1909
|
property :project_id, as: 'projectId'
|
1910
|
+
property :respect_pdb, as: 'respectPdb'
|
1831
1911
|
property :zone, as: 'zone'
|
1832
1912
|
end
|
1833
1913
|
end
|
@@ -2033,6 +2113,15 @@ module Google
|
|
2033
2113
|
end
|
2034
2114
|
end
|
2035
2115
|
|
2116
|
+
class StandardRolloutPolicy
|
2117
|
+
# @private
|
2118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2119
|
+
property :batch_node_count, as: 'batchNodeCount'
|
2120
|
+
property :batch_percentage, as: 'batchPercentage'
|
2121
|
+
property :batch_soak_duration, as: 'batchSoakDuration'
|
2122
|
+
end
|
2123
|
+
end
|
2124
|
+
|
2036
2125
|
class StartIpRotationRequest
|
2037
2126
|
# @private
|
2038
2127
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2084,6 +2173,14 @@ module Google
|
|
2084
2173
|
end
|
2085
2174
|
end
|
2086
2175
|
|
2176
|
+
class UpdateInfo
|
2177
|
+
# @private
|
2178
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2179
|
+
property :blue_green_info, as: 'blueGreenInfo', class: Google::Apis::ContainerV1::BlueGreenInfo, decorator: Google::Apis::ContainerV1::BlueGreenInfo::Representation
|
2180
|
+
|
2181
|
+
end
|
2182
|
+
end
|
2183
|
+
|
2087
2184
|
class UpdateMasterRequest
|
2088
2185
|
# @private
|
2089
2186
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2099,6 +2196,8 @@ module Google
|
|
2099
2196
|
# @private
|
2100
2197
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2101
2198
|
property :cluster_id, as: 'clusterId'
|
2199
|
+
property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
|
2200
|
+
|
2102
2201
|
property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
|
2103
2202
|
|
2104
2203
|
property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
|
@@ -2112,6 +2211,8 @@ module Google
|
|
2112
2211
|
|
2113
2212
|
collection :locations, as: 'locations'
|
2114
2213
|
property :name, as: 'name'
|
2214
|
+
property :node_network_config, as: 'nodeNetworkConfig', class: Google::Apis::ContainerV1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1::NodeNetworkConfig::Representation
|
2215
|
+
|
2115
2216
|
property :node_pool_id, as: 'nodePoolId'
|
2116
2217
|
property :node_version, as: 'nodeVersion'
|
2117
2218
|
property :project_id, as: 'projectId'
|
@@ -2153,8 +2254,11 @@ module Google
|
|
2153
2254
|
class UpgradeSettings
|
2154
2255
|
# @private
|
2155
2256
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2257
|
+
property :blue_green_settings, as: 'blueGreenSettings', class: Google::Apis::ContainerV1::BlueGreenSettings, decorator: Google::Apis::ContainerV1::BlueGreenSettings::Representation
|
2258
|
+
|
2156
2259
|
property :max_surge, as: 'maxSurge'
|
2157
2260
|
property :max_unavailable, as: 'maxUnavailable'
|
2261
|
+
property :strategy, as: 'strategy'
|
2158
2262
|
end
|
2159
2263
|
end
|
2160
2264
|
|
@@ -795,6 +795,41 @@ module Google
|
|
795
795
|
execute_or_queue_command(command, &block)
|
796
796
|
end
|
797
797
|
|
798
|
+
# CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
|
799
|
+
# @param [String] name
|
800
|
+
# The name (project, location, cluster, node pool id) of the node pool to
|
801
|
+
# complete upgrade. Specified in the format 'projects/*/locations/*/clusters/*/
|
802
|
+
# nodePools/*'.
|
803
|
+
# @param [Google::Apis::ContainerV1::CompleteNodePoolUpgradeRequest] complete_node_pool_upgrade_request_object
|
804
|
+
# @param [String] fields
|
805
|
+
# Selector specifying which fields to include in a partial response.
|
806
|
+
# @param [String] quota_user
|
807
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
808
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
809
|
+
# @param [Google::Apis::RequestOptions] options
|
810
|
+
# Request-specific options
|
811
|
+
#
|
812
|
+
# @yield [result, err] Result & error if block supplied
|
813
|
+
# @yieldparam result [Google::Apis::ContainerV1::Empty] parsed result object
|
814
|
+
# @yieldparam err [StandardError] error object if request failed
|
815
|
+
#
|
816
|
+
# @return [Google::Apis::ContainerV1::Empty]
|
817
|
+
#
|
818
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
819
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
820
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
821
|
+
def complete_project_location_cluster_node_pool_upgrade(name, complete_node_pool_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
822
|
+
command = make_simple_command(:post, 'v1/{+name}:completeUpgrade', options)
|
823
|
+
command.request_representation = Google::Apis::ContainerV1::CompleteNodePoolUpgradeRequest::Representation
|
824
|
+
command.request_object = complete_node_pool_upgrade_request_object
|
825
|
+
command.response_representation = Google::Apis::ContainerV1::Empty::Representation
|
826
|
+
command.response_class = Google::Apis::ContainerV1::Empty
|
827
|
+
command.params['name'] = name unless name.nil?
|
828
|
+
command.query['fields'] = fields unless fields.nil?
|
829
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
830
|
+
execute_or_queue_command(command, &block)
|
831
|
+
end
|
832
|
+
|
798
833
|
# Creates a node pool for a cluster.
|
799
834
|
# @param [String] parent
|
800
835
|
# The parent (project, location, cluster name) where the node pool will be
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-container_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.33.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.33.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Kubernetes Engine API V1
|