google-apis-container_v1beta1 0.87.0 → 0.88.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62868086d23b97ff81a359cb62a3cf0c529ed43b6a629422bde4da2fe0049c1e
|
4
|
+
data.tar.gz: 80f65a09981c42165b401e102eeb4793a355dd50e97c602d31a60c974e8f6e72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce02a72e3c1fbc3c25104b4244f5d69d8c70266397d2b62c6a7abd5d52ed78c92b61aad29b316b5f6d42650665dcd9386664341c1cbc9b0e303c531f51dfa8b7
|
7
|
+
data.tar.gz: 6854ddb4ddb20d2b370d6bad8a0c66d35d4921b21edcfcfad4d228001bc826386c14dc160310e3da90f44188a1c861a1d7ce65b49247bd610e3349f1029c518c
|
data/CHANGELOG.md
CHANGED
@@ -270,6 +270,11 @@ module Google
|
|
270
270
|
# @return [Google::Apis::ContainerV1beta1::KubernetesDashboard]
|
271
271
|
attr_accessor :kubernetes_dashboard
|
272
272
|
|
273
|
+
# Configuration for the Lustre CSI driver.
|
274
|
+
# Corresponds to the JSON property `lustreCsiDriverConfig`
|
275
|
+
# @return [Google::Apis::ContainerV1beta1::LustreCsiDriverConfig]
|
276
|
+
attr_accessor :lustre_csi_driver_config
|
277
|
+
|
273
278
|
# Configuration for NetworkPolicy. This only tracks whether the addon is enabled
|
274
279
|
# or not on the Master, it does not track whether network policy is enabled for
|
275
280
|
# the nodes.
|
@@ -311,6 +316,7 @@ module Google
|
|
311
316
|
@istio_config = args[:istio_config] if args.key?(:istio_config)
|
312
317
|
@kalm_config = args[:kalm_config] if args.key?(:kalm_config)
|
313
318
|
@kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
|
319
|
+
@lustre_csi_driver_config = args[:lustre_csi_driver_config] if args.key?(:lustre_csi_driver_config)
|
314
320
|
@network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config)
|
315
321
|
@parallelstore_csi_driver_config = args[:parallelstore_csi_driver_config] if args.key?(:parallelstore_csi_driver_config)
|
316
322
|
@ray_operator_config = args[:ray_operator_config] if args.key?(:ray_operator_config)
|
@@ -959,6 +965,43 @@ module Google
|
|
959
965
|
end
|
960
966
|
end
|
961
967
|
|
968
|
+
# BootDisk specifies the boot disk configuration for nodepools.
|
969
|
+
class BootDisk
|
970
|
+
include Google::Apis::Core::Hashable
|
971
|
+
|
972
|
+
# Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)
|
973
|
+
# Corresponds to the JSON property `diskType`
|
974
|
+
# @return [String]
|
975
|
+
attr_accessor :disk_type
|
976
|
+
|
977
|
+
# For Hyperdisk-Balanced only, the provisioned IOPS config value.
|
978
|
+
# Corresponds to the JSON property `provisionedIops`
|
979
|
+
# @return [Fixnum]
|
980
|
+
attr_accessor :provisioned_iops
|
981
|
+
|
982
|
+
# For Hyperdisk-Balanced only, the provisioned throughput config value.
|
983
|
+
# Corresponds to the JSON property `provisionedThroughput`
|
984
|
+
# @return [Fixnum]
|
985
|
+
attr_accessor :provisioned_throughput
|
986
|
+
|
987
|
+
# Disk size in GB. Replaces NodeConfig.disk_size_gb
|
988
|
+
# Corresponds to the JSON property `sizeGb`
|
989
|
+
# @return [Fixnum]
|
990
|
+
attr_accessor :size_gb
|
991
|
+
|
992
|
+
def initialize(**args)
|
993
|
+
update!(**args)
|
994
|
+
end
|
995
|
+
|
996
|
+
# Update properties of this object
|
997
|
+
def update!(**args)
|
998
|
+
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
999
|
+
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
1000
|
+
@provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput)
|
1001
|
+
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
|
962
1005
|
# CancelOperationRequest cancels a single operation.
|
963
1006
|
class CancelOperationRequest
|
964
1007
|
include Google::Apis::Core::Hashable
|
@@ -3236,6 +3279,214 @@ module Google
|
|
3236
3279
|
end
|
3237
3280
|
end
|
3238
3281
|
|
3282
|
+
# Eviction grace periods are grace periods for each eviction signal.
|
3283
|
+
class EvictionGracePeriod
|
3284
|
+
include Google::Apis::Core::Hashable
|
3285
|
+
|
3286
|
+
# Optional. Grace period for eviction due to imagefs available signal. Sample
|
3287
|
+
# format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/
|
3288
|
+
# scheduling-eviction/node-pressure-eviction/#eviction-signals
|
3289
|
+
# Corresponds to the JSON property `imagefsAvailable`
|
3290
|
+
# @return [String]
|
3291
|
+
attr_accessor :imagefs_available
|
3292
|
+
|
3293
|
+
# Optional. Grace period for eviction due to imagefs inodes free signal. Sample
|
3294
|
+
# format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/
|
3295
|
+
# scheduling-eviction/node-pressure-eviction/#eviction-signals
|
3296
|
+
# Corresponds to the JSON property `imagefsInodesFree`
|
3297
|
+
# @return [String]
|
3298
|
+
attr_accessor :imagefs_inodes_free
|
3299
|
+
|
3300
|
+
# Optional. Grace period for eviction due to memory available signal. Sample
|
3301
|
+
# format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/
|
3302
|
+
# scheduling-eviction/node-pressure-eviction/#eviction-signals
|
3303
|
+
# Corresponds to the JSON property `memoryAvailable`
|
3304
|
+
# @return [String]
|
3305
|
+
attr_accessor :memory_available
|
3306
|
+
|
3307
|
+
# Optional. Grace period for eviction due to nodefs available signal. Sample
|
3308
|
+
# format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/
|
3309
|
+
# scheduling-eviction/node-pressure-eviction/#eviction-signals
|
3310
|
+
# Corresponds to the JSON property `nodefsAvailable`
|
3311
|
+
# @return [String]
|
3312
|
+
attr_accessor :nodefs_available
|
3313
|
+
|
3314
|
+
# Optional. Grace period for eviction due to nodefs inodes free signal. Sample
|
3315
|
+
# format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/
|
3316
|
+
# scheduling-eviction/node-pressure-eviction/#eviction-signals
|
3317
|
+
# Corresponds to the JSON property `nodefsInodesFree`
|
3318
|
+
# @return [String]
|
3319
|
+
attr_accessor :nodefs_inodes_free
|
3320
|
+
|
3321
|
+
# Optional. Grace period for eviction due to pid available signal. Sample format:
|
3322
|
+
# "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-
|
3323
|
+
# eviction/node-pressure-eviction/#eviction-signals
|
3324
|
+
# Corresponds to the JSON property `pidAvailable`
|
3325
|
+
# @return [String]
|
3326
|
+
attr_accessor :pid_available
|
3327
|
+
|
3328
|
+
def initialize(**args)
|
3329
|
+
update!(**args)
|
3330
|
+
end
|
3331
|
+
|
3332
|
+
# Update properties of this object
|
3333
|
+
def update!(**args)
|
3334
|
+
@imagefs_available = args[:imagefs_available] if args.key?(:imagefs_available)
|
3335
|
+
@imagefs_inodes_free = args[:imagefs_inodes_free] if args.key?(:imagefs_inodes_free)
|
3336
|
+
@memory_available = args[:memory_available] if args.key?(:memory_available)
|
3337
|
+
@nodefs_available = args[:nodefs_available] if args.key?(:nodefs_available)
|
3338
|
+
@nodefs_inodes_free = args[:nodefs_inodes_free] if args.key?(:nodefs_inodes_free)
|
3339
|
+
@pid_available = args[:pid_available] if args.key?(:pid_available)
|
3340
|
+
end
|
3341
|
+
end
|
3342
|
+
|
3343
|
+
# Eviction minimum reclaims are the resource amounts of minimum reclaims for
|
3344
|
+
# each eviction signal.
|
3345
|
+
class EvictionMinimumReclaim
|
3346
|
+
include Google::Apis::Core::Hashable
|
3347
|
+
|
3348
|
+
# Optional. Minimum reclaim for eviction due to imagefs available signal. Only
|
3349
|
+
# take percentage value for now. Sample format: "10%". Must be <=10%. See https:/
|
3350
|
+
# /kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#
|
3351
|
+
# eviction-signals
|
3352
|
+
# Corresponds to the JSON property `imagefsAvailable`
|
3353
|
+
# @return [String]
|
3354
|
+
attr_accessor :imagefs_available
|
3355
|
+
|
3356
|
+
# Optional. Minimum reclaim for eviction due to imagefs inodes free signal. Only
|
3357
|
+
# take percentage value for now. Sample format: "10%". Must be <=10%. See https:/
|
3358
|
+
# /kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#
|
3359
|
+
# eviction-signals
|
3360
|
+
# Corresponds to the JSON property `imagefsInodesFree`
|
3361
|
+
# @return [String]
|
3362
|
+
attr_accessor :imagefs_inodes_free
|
3363
|
+
|
3364
|
+
# Optional. Minimum reclaim for eviction due to memory available signal. Only
|
3365
|
+
# take percentage value for now. Sample format: "10%". Must be <=10%. See https:/
|
3366
|
+
# /kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#
|
3367
|
+
# eviction-signals
|
3368
|
+
# Corresponds to the JSON property `memoryAvailable`
|
3369
|
+
# @return [String]
|
3370
|
+
attr_accessor :memory_available
|
3371
|
+
|
3372
|
+
# Optional. Minimum reclaim for eviction due to nodefs available signal. Only
|
3373
|
+
# take percentage value for now. Sample format: "10%". Must be <=10%. See https:/
|
3374
|
+
# /kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#
|
3375
|
+
# eviction-signals
|
3376
|
+
# Corresponds to the JSON property `nodefsAvailable`
|
3377
|
+
# @return [String]
|
3378
|
+
attr_accessor :nodefs_available
|
3379
|
+
|
3380
|
+
# Optional. Minimum reclaim for eviction due to nodefs inodes free signal. Only
|
3381
|
+
# take percentage value for now. Sample format: "10%". Must be <=10%. See https:/
|
3382
|
+
# /kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#
|
3383
|
+
# eviction-signals
|
3384
|
+
# Corresponds to the JSON property `nodefsInodesFree`
|
3385
|
+
# @return [String]
|
3386
|
+
attr_accessor :nodefs_inodes_free
|
3387
|
+
|
3388
|
+
# Optional. Minimum reclaim for eviction due to pid available signal. Only take
|
3389
|
+
# percentage value for now. Sample format: "10%". Must be <=10%. See https://
|
3390
|
+
# kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#
|
3391
|
+
# eviction-signals
|
3392
|
+
# Corresponds to the JSON property `pidAvailable`
|
3393
|
+
# @return [String]
|
3394
|
+
attr_accessor :pid_available
|
3395
|
+
|
3396
|
+
def initialize(**args)
|
3397
|
+
update!(**args)
|
3398
|
+
end
|
3399
|
+
|
3400
|
+
# Update properties of this object
|
3401
|
+
def update!(**args)
|
3402
|
+
@imagefs_available = args[:imagefs_available] if args.key?(:imagefs_available)
|
3403
|
+
@imagefs_inodes_free = args[:imagefs_inodes_free] if args.key?(:imagefs_inodes_free)
|
3404
|
+
@memory_available = args[:memory_available] if args.key?(:memory_available)
|
3405
|
+
@nodefs_available = args[:nodefs_available] if args.key?(:nodefs_available)
|
3406
|
+
@nodefs_inodes_free = args[:nodefs_inodes_free] if args.key?(:nodefs_inodes_free)
|
3407
|
+
@pid_available = args[:pid_available] if args.key?(:pid_available)
|
3408
|
+
end
|
3409
|
+
end
|
3410
|
+
|
3411
|
+
# Eviction signals are the current state of a particular resource at a specific
|
3412
|
+
# point in time. The kubelet uses eviction signals to make eviction decisions by
|
3413
|
+
# comparing the signals to eviction thresholds, which are the minimum amount of
|
3414
|
+
# the resource that should be available on the node.
|
3415
|
+
class EvictionSignals
|
3416
|
+
include Google::Apis::Core::Hashable
|
3417
|
+
|
3418
|
+
# Optional. Amount of storage available on filesystem that container runtime
|
3419
|
+
# uses for storing images layers. If the container filesystem and image
|
3420
|
+
# filesystem are not separate, then imagefs can store both image layers and
|
3421
|
+
# writeable layers. Defines the amount of "imagefs.available" signal in kubelet.
|
3422
|
+
# Default is unset, if not specified in the kubelet config. Sample format: "30%".
|
3423
|
+
# Must be >= 15%. See https://kubernetes.io/docs/concepts/scheduling-eviction/
|
3424
|
+
# node-pressure-eviction/#eviction-signals
|
3425
|
+
# Corresponds to the JSON property `imagefsAvailable`
|
3426
|
+
# @return [String]
|
3427
|
+
attr_accessor :imagefs_available
|
3428
|
+
|
3429
|
+
# Optional. Amount of inodes available on filesystem that container runtime uses
|
3430
|
+
# for storing images layers. Defines the amount of "imagefs.inodesFree" signal
|
3431
|
+
# in kubelet. Default is unset, if not specified in the kubelet config. Linux
|
3432
|
+
# only. Sample format: "30%". Must be >= 5%. See https://kubernetes.io/docs/
|
3433
|
+
# concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
|
3434
|
+
# Corresponds to the JSON property `imagefsInodesFree`
|
3435
|
+
# @return [String]
|
3436
|
+
attr_accessor :imagefs_inodes_free
|
3437
|
+
|
3438
|
+
# Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines the
|
3439
|
+
# amount of "memory.available" signal in kubelet. Default is unset, if not
|
3440
|
+
# specified in the kubelet config. Format: positive number + unit, e.g. 100Ki,
|
3441
|
+
# 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50% of the node'
|
3442
|
+
# s memory. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-
|
3443
|
+
# pressure-eviction/#eviction-signals
|
3444
|
+
# Corresponds to the JSON property `memoryAvailable`
|
3445
|
+
# @return [String]
|
3446
|
+
attr_accessor :memory_available
|
3447
|
+
|
3448
|
+
# Optional. Amount of storage available on filesystem that kubelet uses for
|
3449
|
+
# volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal in
|
3450
|
+
# kubelet. Default is unset, if not specified in the kubelet config. Sample
|
3451
|
+
# format: "30%". Must be >= 10%. See https://kubernetes.io/docs/concepts/
|
3452
|
+
# scheduling-eviction/node-pressure-eviction/#eviction-signals
|
3453
|
+
# Corresponds to the JSON property `nodefsAvailable`
|
3454
|
+
# @return [String]
|
3455
|
+
attr_accessor :nodefs_available
|
3456
|
+
|
3457
|
+
# Optional. Amount of inodes available on filesystem that kubelet uses for
|
3458
|
+
# volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal in
|
3459
|
+
# kubelet. Default is unset, if not specified in the kubelet config. Linux only.
|
3460
|
+
# It takses percentage value for now. Sample format: "30%". Must be >= 5% and <=
|
3461
|
+
# 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-
|
3462
|
+
# eviction/#eviction-signals
|
3463
|
+
# Corresponds to the JSON property `nodefsInodesFree`
|
3464
|
+
# @return [String]
|
3465
|
+
attr_accessor :nodefs_inodes_free
|
3466
|
+
|
3467
|
+
# Optional. Amount of PID available for pod allocation. Defines the amount of "
|
3468
|
+
# pid.available" signal in kubelet. Default is unset, if not specified in the
|
3469
|
+
# kubelet config. Sample format: "30%". Must be >= 10%. See https://kubernetes.
|
3470
|
+
# io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
|
3471
|
+
# Corresponds to the JSON property `pidAvailable`
|
3472
|
+
# @return [String]
|
3473
|
+
attr_accessor :pid_available
|
3474
|
+
|
3475
|
+
def initialize(**args)
|
3476
|
+
update!(**args)
|
3477
|
+
end
|
3478
|
+
|
3479
|
+
# Update properties of this object
|
3480
|
+
def update!(**args)
|
3481
|
+
@imagefs_available = args[:imagefs_available] if args.key?(:imagefs_available)
|
3482
|
+
@imagefs_inodes_free = args[:imagefs_inodes_free] if args.key?(:imagefs_inodes_free)
|
3483
|
+
@memory_available = args[:memory_available] if args.key?(:memory_available)
|
3484
|
+
@nodefs_available = args[:nodefs_available] if args.key?(:nodefs_available)
|
3485
|
+
@nodefs_inodes_free = args[:nodefs_inodes_free] if args.key?(:nodefs_inodes_free)
|
3486
|
+
@pid_available = args[:pid_available] if args.key?(:pid_available)
|
3487
|
+
end
|
3488
|
+
end
|
3489
|
+
|
3239
3490
|
# Configuration of Fast Socket feature.
|
3240
3491
|
class FastSocket
|
3241
3492
|
include Google::Apis::Core::Hashable
|
@@ -4291,16 +4542,38 @@ module Google
|
|
4291
4542
|
# the nodes. The following parameters are supported. net.core.busy_poll net.core.
|
4292
4543
|
# busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default
|
4293
4544
|
# net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn
|
4294
|
-
# net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.
|
4295
|
-
#
|
4296
|
-
#
|
4297
|
-
# nf_conntrack_tcp_timeout_time_wait net.netfilter.
|
4545
|
+
# net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.
|
4546
|
+
# tcp_max_orphans net.netfilter.nf_conntrack_max net.netfilter.
|
4547
|
+
# nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.
|
4548
|
+
# netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.
|
4298
4549
|
# nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.
|
4299
|
-
# shmmni kernel.shmmax kernel.shmall
|
4550
|
+
# shmmni kernel.shmmax kernel.shmall fs.aio-max-nr fs.file-max fs.inotify.
|
4551
|
+
# max_user_instances fs.inotify.max_user_watches fs.nr_open vm.
|
4552
|
+
# dirty_background_ratio vm.dirty_expire_centisecs vm.dirty_ratio vm.
|
4553
|
+
# dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.
|
4554
|
+
# overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor
|
4555
|
+
# vm.min_free_kbytes
|
4300
4556
|
# Corresponds to the JSON property `sysctls`
|
4301
4557
|
# @return [Hash<String,String>]
|
4302
4558
|
attr_accessor :sysctls
|
4303
4559
|
|
4560
|
+
# Optional. Defines the transparent hugepage defrag configuration on the node.
|
4561
|
+
# VM hugepage allocation can be managed by either limiting defragmentation for
|
4562
|
+
# delayed allocation or skipping it entirely for immediate allocation only. See
|
4563
|
+
# https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.
|
4564
|
+
# Corresponds to the JSON property `transparentHugepageDefrag`
|
4565
|
+
# @return [String]
|
4566
|
+
attr_accessor :transparent_hugepage_defrag
|
4567
|
+
|
4568
|
+
# Optional. Transparent hugepage support for anonymous memory can be entirely
|
4569
|
+
# disabled (mostly for debugging purposes) or only enabled inside MADV_HUGEPAGE
|
4570
|
+
# regions (to avoid the risk of consuming more memory resources) or enabled
|
4571
|
+
# system wide. See https://docs.kernel.org/admin-guide/mm/transhuge.html for
|
4572
|
+
# more details.
|
4573
|
+
# Corresponds to the JSON property `transparentHugepageEnabled`
|
4574
|
+
# @return [String]
|
4575
|
+
attr_accessor :transparent_hugepage_enabled
|
4576
|
+
|
4304
4577
|
def initialize(**args)
|
4305
4578
|
update!(**args)
|
4306
4579
|
end
|
@@ -4310,6 +4583,8 @@ module Google
|
|
4310
4583
|
@cgroup_mode = args[:cgroup_mode] if args.key?(:cgroup_mode)
|
4311
4584
|
@hugepages = args[:hugepages] if args.key?(:hugepages)
|
4312
4585
|
@sysctls = args[:sysctls] if args.key?(:sysctls)
|
4586
|
+
@transparent_hugepage_defrag = args[:transparent_hugepage_defrag] if args.key?(:transparent_hugepage_defrag)
|
4587
|
+
@transparent_hugepage_enabled = args[:transparent_hugepage_enabled] if args.key?(:transparent_hugepage_enabled)
|
4313
4588
|
end
|
4314
4589
|
end
|
4315
4590
|
|
@@ -4564,6 +4839,34 @@ module Google
|
|
4564
4839
|
end
|
4565
4840
|
end
|
4566
4841
|
|
4842
|
+
# Configuration for the Lustre CSI driver.
|
4843
|
+
class LustreCsiDriverConfig
|
4844
|
+
include Google::Apis::Core::Hashable
|
4845
|
+
|
4846
|
+
# If set to true, the Lustre CSI driver will install Lustre kernel modules using
|
4847
|
+
# port 6988.
|
4848
|
+
# Corresponds to the JSON property `enableLegacyLustrePort`
|
4849
|
+
# @return [Boolean]
|
4850
|
+
attr_accessor :enable_legacy_lustre_port
|
4851
|
+
alias_method :enable_legacy_lustre_port?, :enable_legacy_lustre_port
|
4852
|
+
|
4853
|
+
# Whether the Lustre CSI driver is enabled for this cluster.
|
4854
|
+
# Corresponds to the JSON property `enabled`
|
4855
|
+
# @return [Boolean]
|
4856
|
+
attr_accessor :enabled
|
4857
|
+
alias_method :enabled?, :enabled
|
4858
|
+
|
4859
|
+
def initialize(**args)
|
4860
|
+
update!(**args)
|
4861
|
+
end
|
4862
|
+
|
4863
|
+
# Update properties of this object
|
4864
|
+
def update!(**args)
|
4865
|
+
@enable_legacy_lustre_port = args[:enable_legacy_lustre_port] if args.key?(:enable_legacy_lustre_port)
|
4866
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
4867
|
+
end
|
4868
|
+
end
|
4869
|
+
|
4567
4870
|
# Represents the Maintenance exclusion option.
|
4568
4871
|
class MaintenanceExclusionOptions
|
4569
4872
|
include Google::Apis::Core::Hashable
|
@@ -5234,6 +5537,11 @@ module Google
|
|
5234
5537
|
# @return [Google::Apis::ContainerV1beta1::AdvancedMachineFeatures]
|
5235
5538
|
attr_accessor :advanced_machine_features
|
5236
5539
|
|
5540
|
+
# BootDisk specifies the boot disk configuration for nodepools.
|
5541
|
+
# Corresponds to the JSON property `bootDisk`
|
5542
|
+
# @return [Google::Apis::ContainerV1beta1::BootDisk]
|
5543
|
+
attr_accessor :boot_disk
|
5544
|
+
|
5237
5545
|
# The Customer Managed Encryption Key used to encrypt the boot disk attached to
|
5238
5546
|
# each node in the node pool. This should be of the form projects/[
|
5239
5547
|
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
@@ -5256,8 +5564,7 @@ module Google
|
|
5256
5564
|
attr_accessor :containerd_config
|
5257
5565
|
|
5258
5566
|
# Size of the disk attached to each node, specified in GB. The smallest allowed
|
5259
|
-
# disk size is 10GB.
|
5260
|
-
# fields. If unspecified, the default disk size is 100GB.
|
5567
|
+
# disk size is 10GB. If unspecified, the default disk size is 100GB.
|
5261
5568
|
# Corresponds to the JSON property `diskSizeGb`
|
5262
5569
|
# @return [Fixnum]
|
5263
5570
|
attr_accessor :disk_size_gb
|
@@ -5550,6 +5857,7 @@ module Google
|
|
5550
5857
|
def update!(**args)
|
5551
5858
|
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
5552
5859
|
@advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
|
5860
|
+
@boot_disk = args[:boot_disk] if args.key?(:boot_disk)
|
5553
5861
|
@boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
|
5554
5862
|
@confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
|
5555
5863
|
@containerd_config = args[:containerd_config] if args.key?(:containerd_config)
|
@@ -5706,6 +6014,34 @@ module Google
|
|
5706
6014
|
# @return [String]
|
5707
6015
|
attr_accessor :cpu_manager_policy
|
5708
6016
|
|
6017
|
+
# Optional. eviction_max_pod_grace_period_seconds is the maximum allowed grace
|
6018
|
+
# period (in seconds) to use when terminating pods in response to a soft
|
6019
|
+
# eviction threshold being met. This value effectively caps the Pod's
|
6020
|
+
# terminationGracePeriodSeconds value during soft evictions. Default: 0. Range: [
|
6021
|
+
# 0, 300].
|
6022
|
+
# Corresponds to the JSON property `evictionMaxPodGracePeriodSeconds`
|
6023
|
+
# @return [Fixnum]
|
6024
|
+
attr_accessor :eviction_max_pod_grace_period_seconds
|
6025
|
+
|
6026
|
+
# Eviction minimum reclaims are the resource amounts of minimum reclaims for
|
6027
|
+
# each eviction signal.
|
6028
|
+
# Corresponds to the JSON property `evictionMinimumReclaim`
|
6029
|
+
# @return [Google::Apis::ContainerV1beta1::EvictionMinimumReclaim]
|
6030
|
+
attr_accessor :eviction_minimum_reclaim
|
6031
|
+
|
6032
|
+
# Eviction signals are the current state of a particular resource at a specific
|
6033
|
+
# point in time. The kubelet uses eviction signals to make eviction decisions by
|
6034
|
+
# comparing the signals to eviction thresholds, which are the minimum amount of
|
6035
|
+
# the resource that should be available on the node.
|
6036
|
+
# Corresponds to the JSON property `evictionSoft`
|
6037
|
+
# @return [Google::Apis::ContainerV1beta1::EvictionSignals]
|
6038
|
+
attr_accessor :eviction_soft
|
6039
|
+
|
6040
|
+
# Eviction grace periods are grace periods for each eviction signal.
|
6041
|
+
# Corresponds to the JSON property `evictionSoftGracePeriod`
|
6042
|
+
# @return [Google::Apis::ContainerV1beta1::EvictionGracePeriod]
|
6043
|
+
attr_accessor :eviction_soft_grace_period
|
6044
|
+
|
5709
6045
|
# Optional. Defines the percent of disk usage after which image garbage
|
5710
6046
|
# collection is always run. The percent is calculated as this field value out of
|
5711
6047
|
# 100. The value must be between 10 and 85, inclusive and greater than
|
@@ -5750,6 +6086,14 @@ module Google
|
|
5750
6086
|
attr_accessor :insecure_kubelet_readonly_port_enabled
|
5751
6087
|
alias_method :insecure_kubelet_readonly_port_enabled?, :insecure_kubelet_readonly_port_enabled
|
5752
6088
|
|
6089
|
+
# Optional. Defines the maximum number of image pulls in parallel. The range is
|
6090
|
+
# 2 to 5, inclusive. The default value is 2 or 3 depending on the disk type. See
|
6091
|
+
# https://kubernetes.io/docs/concepts/containers/images/#maximum-parallel-image-
|
6092
|
+
# pulls for more details.
|
6093
|
+
# Corresponds to the JSON property `maxParallelImagePulls`
|
6094
|
+
# @return [Fixnum]
|
6095
|
+
attr_accessor :max_parallel_image_pulls
|
6096
|
+
|
5753
6097
|
# The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed
|
5754
6098
|
# description about the feature can be found [here](https://kubernetes.io/docs/
|
5755
6099
|
# tasks/administer-cluster/memory-manager/).
|
@@ -5792,11 +6136,16 @@ module Google
|
|
5792
6136
|
@cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
|
5793
6137
|
@cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
|
5794
6138
|
@cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
|
6139
|
+
@eviction_max_pod_grace_period_seconds = args[:eviction_max_pod_grace_period_seconds] if args.key?(:eviction_max_pod_grace_period_seconds)
|
6140
|
+
@eviction_minimum_reclaim = args[:eviction_minimum_reclaim] if args.key?(:eviction_minimum_reclaim)
|
6141
|
+
@eviction_soft = args[:eviction_soft] if args.key?(:eviction_soft)
|
6142
|
+
@eviction_soft_grace_period = args[:eviction_soft_grace_period] if args.key?(:eviction_soft_grace_period)
|
5795
6143
|
@image_gc_high_threshold_percent = args[:image_gc_high_threshold_percent] if args.key?(:image_gc_high_threshold_percent)
|
5796
6144
|
@image_gc_low_threshold_percent = args[:image_gc_low_threshold_percent] if args.key?(:image_gc_low_threshold_percent)
|
5797
6145
|
@image_maximum_gc_age = args[:image_maximum_gc_age] if args.key?(:image_maximum_gc_age)
|
5798
6146
|
@image_minimum_gc_age = args[:image_minimum_gc_age] if args.key?(:image_minimum_gc_age)
|
5799
6147
|
@insecure_kubelet_readonly_port_enabled = args[:insecure_kubelet_readonly_port_enabled] if args.key?(:insecure_kubelet_readonly_port_enabled)
|
6148
|
+
@max_parallel_image_pulls = args[:max_parallel_image_pulls] if args.key?(:max_parallel_image_pulls)
|
5800
6149
|
@memory_manager = args[:memory_manager] if args.key?(:memory_manager)
|
5801
6150
|
@pod_pids_limit = args[:pod_pids_limit] if args.key?(:pod_pids_limit)
|
5802
6151
|
@single_process_oom_kill = args[:single_process_oom_kill] if args.key?(:single_process_oom_kill)
|
@@ -8980,6 +9329,11 @@ module Google
|
|
8980
9329
|
# @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
|
8981
9330
|
attr_accessor :accelerators
|
8982
9331
|
|
9332
|
+
# BootDisk specifies the boot disk configuration for nodepools.
|
9333
|
+
# Corresponds to the JSON property `bootDisk`
|
9334
|
+
# @return [Google::Apis::ContainerV1beta1::BootDisk]
|
9335
|
+
attr_accessor :boot_disk
|
9336
|
+
|
8983
9337
|
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
8984
9338
|
# and replaced by the name field.
|
8985
9339
|
# Corresponds to the JSON property `clusterId`
|
@@ -9228,6 +9582,7 @@ module Google
|
|
9228
9582
|
# Update properties of this object
|
9229
9583
|
def update!(**args)
|
9230
9584
|
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
9585
|
+
@boot_disk = args[:boot_disk] if args.key?(:boot_disk)
|
9231
9586
|
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
9232
9587
|
@confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
|
9233
9588
|
@containerd_config = args[:containerd_config] if args.key?(:containerd_config)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContainerV1beta1
|
18
18
|
# Version of the google-apis-container_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.88.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250701"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -172,6 +172,12 @@ module Google
|
|
172
172
|
include Google::Apis::Core::JsonObjectSupport
|
173
173
|
end
|
174
174
|
|
175
|
+
class BootDisk
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
175
181
|
class CancelOperationRequest
|
176
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
183
|
|
@@ -394,6 +400,24 @@ module Google
|
|
394
400
|
include Google::Apis::Core::JsonObjectSupport
|
395
401
|
end
|
396
402
|
|
403
|
+
class EvictionGracePeriod
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
409
|
+
class EvictionMinimumReclaim
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
415
|
+
class EvictionSignals
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
397
421
|
class FastSocket
|
398
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
423
|
|
@@ -652,6 +676,12 @@ module Google
|
|
652
676
|
include Google::Apis::Core::JsonObjectSupport
|
653
677
|
end
|
654
678
|
|
679
|
+
class LustreCsiDriverConfig
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
655
685
|
class MaintenanceExclusionOptions
|
656
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
687
|
|
@@ -1451,6 +1481,8 @@ module Google
|
|
1451
1481
|
|
1452
1482
|
property :kubernetes_dashboard, as: 'kubernetesDashboard', class: Google::Apis::ContainerV1beta1::KubernetesDashboard, decorator: Google::Apis::ContainerV1beta1::KubernetesDashboard::Representation
|
1453
1483
|
|
1484
|
+
property :lustre_csi_driver_config, as: 'lustreCsiDriverConfig', class: Google::Apis::ContainerV1beta1::LustreCsiDriverConfig, decorator: Google::Apis::ContainerV1beta1::LustreCsiDriverConfig::Representation
|
1485
|
+
|
1454
1486
|
property :network_policy_config, as: 'networkPolicyConfig', class: Google::Apis::ContainerV1beta1::NetworkPolicyConfig, decorator: Google::Apis::ContainerV1beta1::NetworkPolicyConfig::Representation
|
1455
1487
|
|
1456
1488
|
property :parallelstore_csi_driver_config, as: 'parallelstoreCsiDriverConfig', class: Google::Apis::ContainerV1beta1::ParallelstoreCsiDriverConfig, decorator: Google::Apis::ContainerV1beta1::ParallelstoreCsiDriverConfig::Representation
|
@@ -1634,6 +1666,16 @@ module Google
|
|
1634
1666
|
end
|
1635
1667
|
end
|
1636
1668
|
|
1669
|
+
class BootDisk
|
1670
|
+
# @private
|
1671
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1672
|
+
property :disk_type, as: 'diskType'
|
1673
|
+
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
1674
|
+
property :provisioned_throughput, :numeric_string => true, as: 'provisionedThroughput'
|
1675
|
+
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
1676
|
+
end
|
1677
|
+
end
|
1678
|
+
|
1637
1679
|
class CancelOperationRequest
|
1638
1680
|
# @private
|
1639
1681
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2229,6 +2271,42 @@ module Google
|
|
2229
2271
|
end
|
2230
2272
|
end
|
2231
2273
|
|
2274
|
+
class EvictionGracePeriod
|
2275
|
+
# @private
|
2276
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2277
|
+
property :imagefs_available, as: 'imagefsAvailable'
|
2278
|
+
property :imagefs_inodes_free, as: 'imagefsInodesFree'
|
2279
|
+
property :memory_available, as: 'memoryAvailable'
|
2280
|
+
property :nodefs_available, as: 'nodefsAvailable'
|
2281
|
+
property :nodefs_inodes_free, as: 'nodefsInodesFree'
|
2282
|
+
property :pid_available, as: 'pidAvailable'
|
2283
|
+
end
|
2284
|
+
end
|
2285
|
+
|
2286
|
+
class EvictionMinimumReclaim
|
2287
|
+
# @private
|
2288
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2289
|
+
property :imagefs_available, as: 'imagefsAvailable'
|
2290
|
+
property :imagefs_inodes_free, as: 'imagefsInodesFree'
|
2291
|
+
property :memory_available, as: 'memoryAvailable'
|
2292
|
+
property :nodefs_available, as: 'nodefsAvailable'
|
2293
|
+
property :nodefs_inodes_free, as: 'nodefsInodesFree'
|
2294
|
+
property :pid_available, as: 'pidAvailable'
|
2295
|
+
end
|
2296
|
+
end
|
2297
|
+
|
2298
|
+
class EvictionSignals
|
2299
|
+
# @private
|
2300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2301
|
+
property :imagefs_available, as: 'imagefsAvailable'
|
2302
|
+
property :imagefs_inodes_free, as: 'imagefsInodesFree'
|
2303
|
+
property :memory_available, as: 'memoryAvailable'
|
2304
|
+
property :nodefs_available, as: 'nodefsAvailable'
|
2305
|
+
property :nodefs_inodes_free, as: 'nodefsInodesFree'
|
2306
|
+
property :pid_available, as: 'pidAvailable'
|
2307
|
+
end
|
2308
|
+
end
|
2309
|
+
|
2232
2310
|
class FastSocket
|
2233
2311
|
# @private
|
2234
2312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2521,6 +2599,8 @@ module Google
|
|
2521
2599
|
property :hugepages, as: 'hugepages', class: Google::Apis::ContainerV1beta1::HugepagesConfig, decorator: Google::Apis::ContainerV1beta1::HugepagesConfig::Representation
|
2522
2600
|
|
2523
2601
|
hash :sysctls, as: 'sysctls'
|
2602
|
+
property :transparent_hugepage_defrag, as: 'transparentHugepageDefrag'
|
2603
|
+
property :transparent_hugepage_enabled, as: 'transparentHugepageEnabled'
|
2524
2604
|
end
|
2525
2605
|
end
|
2526
2606
|
|
@@ -2606,6 +2686,14 @@ module Google
|
|
2606
2686
|
end
|
2607
2687
|
end
|
2608
2688
|
|
2689
|
+
class LustreCsiDriverConfig
|
2690
|
+
# @private
|
2691
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2692
|
+
property :enable_legacy_lustre_port, as: 'enableLegacyLustrePort'
|
2693
|
+
property :enabled, as: 'enabled'
|
2694
|
+
end
|
2695
|
+
end
|
2696
|
+
|
2609
2697
|
class MaintenanceExclusionOptions
|
2610
2698
|
# @private
|
2611
2699
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2797,6 +2885,8 @@ module Google
|
|
2797
2885
|
|
2798
2886
|
property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::ContainerV1beta1::AdvancedMachineFeatures, decorator: Google::Apis::ContainerV1beta1::AdvancedMachineFeatures::Representation
|
2799
2887
|
|
2888
|
+
property :boot_disk, as: 'bootDisk', class: Google::Apis::ContainerV1beta1::BootDisk, decorator: Google::Apis::ContainerV1beta1::BootDisk::Representation
|
2889
|
+
|
2800
2890
|
property :boot_disk_kms_key, as: 'bootDiskKmsKey'
|
2801
2891
|
property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1beta1::ConfidentialNodes, decorator: Google::Apis::ContainerV1beta1::ConfidentialNodes::Representation
|
2802
2892
|
|
@@ -2891,11 +2981,19 @@ module Google
|
|
2891
2981
|
property :cpu_cfs_quota, as: 'cpuCfsQuota'
|
2892
2982
|
property :cpu_cfs_quota_period, as: 'cpuCfsQuotaPeriod'
|
2893
2983
|
property :cpu_manager_policy, as: 'cpuManagerPolicy'
|
2984
|
+
property :eviction_max_pod_grace_period_seconds, as: 'evictionMaxPodGracePeriodSeconds'
|
2985
|
+
property :eviction_minimum_reclaim, as: 'evictionMinimumReclaim', class: Google::Apis::ContainerV1beta1::EvictionMinimumReclaim, decorator: Google::Apis::ContainerV1beta1::EvictionMinimumReclaim::Representation
|
2986
|
+
|
2987
|
+
property :eviction_soft, as: 'evictionSoft', class: Google::Apis::ContainerV1beta1::EvictionSignals, decorator: Google::Apis::ContainerV1beta1::EvictionSignals::Representation
|
2988
|
+
|
2989
|
+
property :eviction_soft_grace_period, as: 'evictionSoftGracePeriod', class: Google::Apis::ContainerV1beta1::EvictionGracePeriod, decorator: Google::Apis::ContainerV1beta1::EvictionGracePeriod::Representation
|
2990
|
+
|
2894
2991
|
property :image_gc_high_threshold_percent, as: 'imageGcHighThresholdPercent'
|
2895
2992
|
property :image_gc_low_threshold_percent, as: 'imageGcLowThresholdPercent'
|
2896
2993
|
property :image_maximum_gc_age, as: 'imageMaximumGcAge'
|
2897
2994
|
property :image_minimum_gc_age, as: 'imageMinimumGcAge'
|
2898
2995
|
property :insecure_kubelet_readonly_port_enabled, as: 'insecureKubeletReadonlyPortEnabled'
|
2996
|
+
property :max_parallel_image_pulls, as: 'maxParallelImagePulls'
|
2899
2997
|
property :memory_manager, as: 'memoryManager', class: Google::Apis::ContainerV1beta1::MemoryManager, decorator: Google::Apis::ContainerV1beta1::MemoryManager::Representation
|
2900
2998
|
|
2901
2999
|
property :pod_pids_limit, :numeric_string => true, as: 'podPidsLimit'
|
@@ -3713,6 +3811,8 @@ module Google
|
|
3713
3811
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3714
3812
|
collection :accelerators, as: 'accelerators', class: Google::Apis::ContainerV1beta1::AcceleratorConfig, decorator: Google::Apis::ContainerV1beta1::AcceleratorConfig::Representation
|
3715
3813
|
|
3814
|
+
property :boot_disk, as: 'bootDisk', class: Google::Apis::ContainerV1beta1::BootDisk, decorator: Google::Apis::ContainerV1beta1::BootDisk::Representation
|
3815
|
+
|
3716
3816
|
property :cluster_id, as: 'clusterId'
|
3717
3817
|
property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1beta1::ConfidentialNodes, decorator: Google::Apis::ContainerV1beta1::ConfidentialNodes::Representation
|
3718
3818
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-container_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.88.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.88.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|