GetClusterNodeConfigKubeletConfig class

Constructors

GetClusterNodeConfigKubeletConfig({required Input<List<String>> allowedUnsafeSysctls, required Input<int> containerLogMaxFiles, required Input<String> containerLogMaxSize, required Input<bool> cpuCfsQuota, required Input<String> cpuCfsQuotaPeriod, required Input<String> cpuManagerPolicy, required Input<List<GetClusterNodeConfigKubeletConfigCrashLoopBackOff>> crashLoopBackOffs, required Input<int> evictionMaxPodGracePeriodSeconds, required Input<List<GetClusterNodeConfigKubeletConfigEvictionMinimumReclaim>> evictionMinimumReclaims, required Input<List<GetClusterNodeConfigKubeletConfigEvictionSoftGracePeriod>> evictionSoftGracePeriods, required Input<List<GetClusterNodeConfigKubeletConfigEvictionSoft>> evictionSofts, required Input<int> imageGcHighThresholdPercent, required Input<int> imageGcLowThresholdPercent, required Input<String> imageMaximumGcAge, required Input<String> imageMinimumGcAge, required Input<String> insecureKubeletReadonlyPortEnabled, required Input<int> maxParallelImagePulls, required Input<List<GetClusterNodeConfigKubeletConfigMemoryManager>> memoryManagers, required Input<int> podPidsLimit, required Input<int> shutdownGracePeriodCriticalPodsSeconds, required Input<int> shutdownGracePeriodSeconds, required Input<bool> singleProcessOomKill, required Input<List<GetClusterNodeConfigKubeletConfigTopologyManager>> topologyManagers})
Creates a new GetClusterNodeConfigKubeletConfig. allowedUnsafeSysctls Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods. containerLogMaxFiles Defines the maximum number of container log files that can be present for a container. containerLogMaxSize Defines the maximum size of the container log file before it is rotated. cpuCfsQuota Enable CPU CFS quota enforcement for containers that specify CPU limits. cpuCfsQuotaPeriod Set the CPU CFS quota period value 'cpu.cfs_period_us'. cpuManagerPolicy Control the CPU management policy on the node. crashLoopBackOffs Contains configuration options to modify node-level parameters for container restart behavior. evictionMaxPodGracePeriodSeconds Defines the maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met. evictionMinimumReclaims 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. evictionSoftGracePeriods 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. evictionSofts Defines a map of signal names to quantities or percentage that defines soft eviction thresholds. imageGcHighThresholdPercent Defines the percent of disk usage after which image garbage collection is always run. imageGcLowThresholdPercent Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. imageMaximumGcAge Defines the maximum age an image can be unused before it is garbage collected. imageMinimumGcAge Defines the minimum age for an unused image before it is garbage collected. 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. memoryManagers 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. podPidsLimit Controls the maximum number of processes allowed to run in a pod. shutdownGracePeriodCriticalPodsSeconds Controls the portion of total grace period (in seconds) that is specifically reserved for terminating critical pods. shutdownGracePeriodSeconds Controls the total duration of time (in seconds) the node delays shutdown. singleProcessOomKill Defines whether to enable single process OOM killer. topologyManagers Configuration for the Topology Manager on the node. The Topology Manager aligns CPU, memory, and device resources on a node to optimize performance, especially for NUMA-aware workloads, by ensuring resource co-location.
const
GetClusterNodeConfigKubeletConfig.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.
final
containerLogMaxFiles → Input<int>
Defines the maximum number of container log files that can be present for a container.
final
containerLogMaxSize → Input<String>
Defines the maximum size of the container log file before it is rotated.
final
cpuCfsQuota → Input<bool>
Enable CPU CFS quota enforcement for containers that specify CPU limits.
final
cpuCfsQuotaPeriod → Input<String>
Set the CPU CFS quota period value 'cpu.cfs_period_us'.
final
cpuManagerPolicy → Input<String>
Control the CPU management policy on the node.
final
crashLoopBackOffs → Input<List<GetClusterNodeConfigKubeletConfigCrashLoopBackOff>>
Contains configuration options to modify node-level parameters for container restart behavior.
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.
final
evictionMinimumReclaims → Input<List<GetClusterNodeConfigKubeletConfigEvictionMinimumReclaim>>
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.
final
evictionSoftGracePeriods → Input<List<GetClusterNodeConfigKubeletConfigEvictionSoftGracePeriod>>
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.
final
evictionSofts → Input<List<GetClusterNodeConfigKubeletConfigEvictionSoft>>
Defines a map of signal names to quantities or percentage that defines soft eviction thresholds.
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.
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.
final
imageMaximumGcAge → Input<String>
Defines the maximum age an image can be unused before it is garbage collected.
final
imageMinimumGcAge → Input<String>
Defines the minimum age for an unused image before it is garbage collected.
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.
final
memoryManagers → Input<List<GetClusterNodeConfigKubeletConfigMemoryManager>>
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.
final
podPidsLimit → Input<int>
Controls the maximum number of processes allowed to run in a pod.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shutdownGracePeriodCriticalPodsSeconds → Input<int>
Controls the portion of total grace period (in seconds) that is specifically reserved for terminating critical pods.
final
shutdownGracePeriodSeconds → Input<int>
Controls the total duration of time (in seconds) the node delays shutdown.
final
singleProcessOomKill → Input<bool>
Defines whether to enable single process OOM killer.
final
topologyManagers → Input<List<GetClusterNodeConfigKubeletConfigTopologyManager>>
Configuration for the Topology Manager on the node. The Topology Manager aligns CPU, memory, and device resources on a node to optimize performance, especially for NUMA-aware workloads, by ensuring resource co-location.
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