ClusterNodePoolNodeConfigKubeletConfig class

Constructors

ClusterNodePoolNodeConfigKubeletConfig({Input<List<String>?>? allowedUnsafeSysctls, Input<int?>? containerLogMaxFiles, Input<String?>? containerLogMaxSize, Input<bool?>? cpuCfsQuota, Input<String?>? cpuCfsQuotaPeriod, Input<String?>? cpuManagerPolicy, Input<ClusterNodePoolNodeConfigKubeletConfigCrashLoopBackOff?>? crashLoopBackOff, Input<int?>? evictionMaxPodGracePeriodSeconds, Input<ClusterNodePoolNodeConfigKubeletConfigEvictionMinimumReclaim?>? evictionMinimumReclaim, Input<ClusterNodePoolNodeConfigKubeletConfigEvictionSoft?>? evictionSoft, Input<ClusterNodePoolNodeConfigKubeletConfigEvictionSoftGracePeriod?>? evictionSoftGracePeriod, Input<int?>? imageGcHighThresholdPercent, Input<int?>? imageGcLowThresholdPercent, Input<String?>? imageMaximumGcAge, Input<String?>? imageMinimumGcAge, Input<String?>? insecureKubeletReadonlyPortEnabled, Input<int?>? maxParallelImagePulls, Input<ClusterNodePoolNodeConfigKubeletConfigMemoryManager?>? memoryManager, Input<int?>? podPidsLimit, Input<int?>? shutdownGracePeriodCriticalPodsSeconds, Input<int?>? shutdownGracePeriodSeconds, Input<bool?>? singleProcessOomKill, Input<ClusterNodePoolNodeConfigKubeletConfigTopologyManager?>? topologyManager})
Creates a new ClusterNodePoolNodeConfigKubeletConfig. allowedUnsafeSysctls Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods. The allowed sysctl groups are kernel.shm*, kernel.msg*, kernel.sem, fs.mqueue.*, and net.*. containerLogMaxFiles Defines the maximum number of container log files that can be present for a container. The integer must be between 2 and 10, inclusive. containerLogMaxSize Defines the maximum size of the cpuCfsQuota If true, enables CPU CFS quota enforcement for cpuCfsQuotaPeriod The CPU CFS quota period value. Specified cpuManagerPolicy The CPU management policy on the node. See crashLoopBackOff Contains configuration options to modify node-level parameters for container restart behavior. Structure is documented below. evictionMaxPodGracePeriodSeconds Defines the maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met. The integer must be positive and not exceed 300. evictionMinimumReclaim Defines a map of signal names to percentage that defines minimum reclaims. It describes the minimum amount of a given resource the kubelet will reclaim when performing a pod eviction. Structure is documented below. evictionSoft Defines a map of signal names to quantities or percentage that defines soft eviction thresholds. Structure is documented below. evictionSoftGracePeriod Defines a map of signal names to durations that defines grace periods for soft eviction thresholds. Each soft eviction threshold must have a corresponding grace period. Structure is documented below. imageGcHighThresholdPercent Defines the percent of disk usage after which image garbage collection is always run. The integer must be between 10 and 85, inclusive. imageGcLowThresholdPercent Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The integer must be between 10 and 85, inclusive. imageMaximumGcAge Defines the maximum age an image can be unused before it is garbage collected. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300s", "1.5m", and "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration. imageMinimumGcAge Defines the minimum age for an unused image before it is garbage collected. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300s", "1.5m". The value cannot be greater than "2m". insecureKubeletReadonlyPortEnabled Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to FALSE. Possible values: TRUE, FALSE. maxParallelImagePulls Set the maximum number of image pulls in parallel. The integer must be between 2 and 5, inclusive. memoryManager Configuration for the memory manager on the node. podPidsLimit Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304. shutdownGracePeriodCriticalPodsSeconds The grace period (in seconds) to use during a graceful node shutdown for critical pods. This value must be less than or equal to shutdownGracePeriodSeconds. This field can only be configured if the node pool uses Spot VMs or Preemptible VMs. shutdownGracePeriodSeconds The grace period (in seconds) to use during a graceful node shutdown. This is the time allocated for all pods (critical and non-critical) to terminate. The value must be between 10 and 10000. This field can only be configured if the node pool uses Spot VMs or Preemptible VMs. singleProcessOomKill Defines whether to enable single process OOM killer. If true, the processes in the container will be OOM killed individually instead of as a group. topologyManager These settings control the kubelet's Topology Manager policy, which coordinates the set of components responsible for performance optimizations related to CPU isolation, memory, and device locality. Structure is documented below.
const
ClusterNodePoolNodeConfigKubeletConfig.fromMap(Map<String, dynamic> map)
factory

Properties

allowedUnsafeSysctls → Input<List<String>?>?
Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods. The allowed sysctl groups are kernel.shm*, kernel.msg*, kernel.sem, fs.mqueue.*, and net.*.
final
containerLogMaxFiles → Input<int?>?
Defines the maximum number of container log files that can be present for a container. The integer must be between 2 and 10, inclusive.
final
containerLogMaxSize → Input<String?>?
Defines the maximum size of the container log file before it is rotated. Specified as a positive number and a unit suffix, such as "100Ki", "10Mi". Valid units are "Ki", "Mi", "Gi". The value must be between "10Mi" and "500Mi", inclusive. And the total container log size (containerLogMaxSize * containerLogMaxFiles) cannot exceed 1% of the total storage of the node.
final
cpuCfsQuota → Input<bool?>?
If true, enables CPU CFS quota enforcement for containers that specify CPU limits.
final
cpuCfsQuotaPeriod → Input<String?>?
The CPU CFS quota period value. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
final
cpuManagerPolicy → Input<String?>?
The CPU management policy on the node. See K8S CPU Management Policies. One of "none" or "static". If unset (or set to the empty string ""), the API will treat the field as if set to "none". Prior to the 6.4.0 this field was marked as required. The workaround for the required field is setting the empty string "", which will function identically to not setting this field.
final
crashLoopBackOff → Input<ClusterNodePoolNodeConfigKubeletConfigCrashLoopBackOff?>?
Contains configuration options to modify node-level parameters for container restart behavior. Structure is documented below.
final
evictionMaxPodGracePeriodSeconds → Input<int?>?
Defines the maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met. The integer must be positive and not exceed 300.
final
evictionMinimumReclaim → Input<ClusterNodePoolNodeConfigKubeletConfigEvictionMinimumReclaim?>?
Defines a map of signal names to percentage that defines minimum reclaims. It describes the minimum amount of a given resource the kubelet will reclaim when performing a pod eviction. Structure is documented below.
final
evictionSoft → Input<ClusterNodePoolNodeConfigKubeletConfigEvictionSoft?>?
Defines a map of signal names to quantities or percentage that defines soft eviction thresholds. Structure is documented below.
final
evictionSoftGracePeriod → Input<ClusterNodePoolNodeConfigKubeletConfigEvictionSoftGracePeriod?>?
Defines a map of signal names to durations that defines grace periods for soft eviction thresholds. Each soft eviction threshold must have a corresponding grace period. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
imageGcHighThresholdPercent → Input<int?>?
Defines the percent of disk usage after which image garbage collection is always run. The integer must be between 10 and 85, inclusive.
final
imageGcLowThresholdPercent → Input<int?>?
Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The integer must be between 10 and 85, inclusive.
final
imageMaximumGcAge → Input<String?>?
Defines the maximum age an image can be unused before it is garbage collected. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300s", "1.5m", and "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
final
imageMinimumGcAge → Input<String?>?
Defines the minimum age for an unused image before it is garbage collected. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300s", "1.5m". The value cannot be greater than "2m".
final
insecureKubeletReadonlyPortEnabled → Input<String?>?
Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to FALSE. Possible values: TRUE, FALSE.
final
maxParallelImagePulls → Input<int?>?
Set the maximum number of image pulls in parallel. The integer must be between 2 and 5, inclusive.
final
memoryManager → Input<ClusterNodePoolNodeConfigKubeletConfigMemoryManager?>?
Configuration for the memory manager on the node. The memory manager optimizes memory and hugepages allocation for pods, especially those in the Guaranteed QoS class, by influencing NUMA affinity. Structure is documented below.
final
podPidsLimit → Input<int?>?
Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shutdownGracePeriodCriticalPodsSeconds → Input<int?>?
The grace period (in seconds) to use during a graceful node shutdown for critical pods. This value must be less than or equal to shutdownGracePeriodSeconds. This field can only be configured if the node pool uses Spot VMs or Preemptible VMs.
final
shutdownGracePeriodSeconds → Input<int?>?
The grace period (in seconds) to use during a graceful node shutdown. This is the time allocated for all pods (critical and non-critical) to terminate. The value must be between 10 and 10000. This field can only be configured if the node pool uses Spot VMs or Preemptible VMs.
final
singleProcessOomKill → Input<bool?>?
Defines whether to enable single process OOM killer. If true, the processes in the container will be OOM killed individually instead of as a group.
final
topologyManager → Input<ClusterNodePoolNodeConfigKubeletConfigTopologyManager?>?
These settings control the kubelet's Topology Manager policy, which coordinates the set of components responsible for performance optimizations related to CPU isolation, memory, and device locality. Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited