You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Optional. shutdown_grace_period_seconds is the maximum allowed grace period (
6805
+
# in seconds) the total duration that the node should delay the shutdown during
6806
+
# a graceful shutdown. This is the total grace period for pod termination for
6807
+
# both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-
6808
+
# administration/node-shutdown/ If set to 0, node will not enable the graceful
6809
+
# node shutdown functionality. This field is only valid for Spot VMs. Allowed
6810
+
# values: 0, 30, 120.
6811
+
# Corresponds to the JSON property `shutdownGracePeriodSeconds`
6812
+
# @return [Fixnum]
6813
+
attr_accessor :shutdown_grace_period_seconds
6814
+
6711
6815
# Optional. Defines whether to enable single process OOM killer. If true, will
6712
6816
# prevent the memory.oom.group flag from being set for container cgroups in
6713
6817
# cgroups v2. This causes processes in the container to be OOM killed
@@ -6735,6 +6839,7 @@ def update!(**args)
6735
6839
@cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
6736
6840
@cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
6737
6841
@cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
6842
+
@crash_loop_back_off = args[:crash_loop_back_off] if args.key?(:crash_loop_back_off)
6738
6843
@eviction_max_pod_grace_period_seconds = args[:eviction_max_pod_grace_period_seconds] if args.key?(:eviction_max_pod_grace_period_seconds)
6739
6844
@eviction_minimum_reclaim = args[:eviction_minimum_reclaim] if args.key?(:eviction_minimum_reclaim)
6740
6845
@eviction_soft = args[:eviction_soft] if args.key?(:eviction_soft)
@@ -6747,6 +6852,8 @@ def update!(**args)
6747
6852
@max_parallel_image_pulls = args[:max_parallel_image_pulls] if args.key?(:max_parallel_image_pulls)
6748
6853
@memory_manager = args[:memory_manager] if args.key?(:memory_manager)
6749
6854
@pod_pids_limit = args[:pod_pids_limit] if args.key?(:pod_pids_limit)
6855
+
@shutdown_grace_period_critical_pods_seconds = args[:shutdown_grace_period_critical_pods_seconds] if args.key?(:shutdown_grace_period_critical_pods_seconds)
6856
+
@shutdown_grace_period_seconds = args[:shutdown_grace_period_seconds] if args.key?(:shutdown_grace_period_seconds)
6750
6857
@single_process_oom_kill = args[:single_process_oom_kill] if args.key?(:single_process_oom_kill)
6751
6858
@topology_manager = args[:topology_manager] if args.key?(:topology_manager)
6752
6859
end
@@ -6894,11 +7001,13 @@ class NodeNetworkConfig
6894
7001
6895
7002
# Optional. The subnetwork name/path for the node pool. Format: projects/`
6896
7003
# project`/regions/`region`/subnetworks/`subnetwork` If the cluster is
6897
-
# associated with multiple subnetworks, the subnetwork can be either: 1. A user
6898
-
# supplied subnetwork name/full path during node pool creation. Example1: my-
0 commit comments