GetClusterNodeConfigKubeletConfig class
Constructors
-
GetClusterNodeConfigKubeletConfig({required Input<
List< allowedUnsafeSysctls, required Input<String> >int> containerLogMaxFiles, required Input<String> containerLogMaxSize, required Input<bool> cpuCfsQuota, required Input<String> cpuCfsQuotaPeriod, required Input<String> cpuManagerPolicy, required Input<List< crashLoopBackOffs, required Input<GetClusterNodeConfigKubeletConfigCrashLoopBackOff> >int> evictionMaxPodGracePeriodSeconds, required Input<List< evictionMinimumReclaims, required Input<GetClusterNodeConfigKubeletConfigEvictionMinimumReclaim> >List< evictionSoftGracePeriods, required Input<GetClusterNodeConfigKubeletConfigEvictionSoftGracePeriod> >List< evictionSofts, required Input<GetClusterNodeConfigKubeletConfigEvictionSoft> >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< memoryManagers, required Input<GetClusterNodeConfigKubeletConfigMemoryManager> >int> podPidsLimit, required Input<int> shutdownGracePeriodCriticalPodsSeconds, required Input<int> shutdownGracePeriodSeconds, required Input<bool> singleProcessOomKill, required Input<List< topologyManagers})GetClusterNodeConfigKubeletConfigTopologyManager> > -
Creates a new GetClusterNodeConfigKubeletConfig.
allowedUnsafeSysctlsDefines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods.containerLogMaxFilesDefines the maximum number of container log files that can be present for a container.containerLogMaxSizeDefines the maximum size of the container log file before it is rotated.cpuCfsQuotaEnable CPU CFS quota enforcement for containers that specify CPU limits.cpuCfsQuotaPeriodSet the CPU CFS quota period value 'cpu.cfs_period_us'.cpuManagerPolicyControl the CPU management policy on the node.crashLoopBackOffsContains configuration options to modify node-level parameters for container restart behavior.evictionMaxPodGracePeriodSecondsDefines the maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met.evictionMinimumReclaimsDefines 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.evictionSoftGracePeriodsDefines 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.evictionSoftsDefines a map of signal names to quantities or percentage that defines soft eviction thresholds.imageGcHighThresholdPercentDefines the percent of disk usage after which image garbage collection is always run.imageGcLowThresholdPercentDefines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to.imageMaximumGcAgeDefines the maximum age an image can be unused before it is garbage collected.imageMinimumGcAgeDefines the minimum age for an unused image before it is garbage collected.insecureKubeletReadonlyPortEnabledControls whether the kubelet read-only port is enabled. It is strongly recommended to set this toFALSE. Possible values:TRUE,FALSE.maxParallelImagePullsSet the maximum number of image pulls in parallel.memoryManagersConfiguration 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.podPidsLimitControls the maximum number of processes allowed to run in a pod.shutdownGracePeriodCriticalPodsSecondsControls the portion of total grace period (in seconds) that is specifically reserved for terminating critical pods.shutdownGracePeriodSecondsControls the total duration of time (in seconds) the node delays shutdown.singleProcessOomKillDefines whether to enable single process OOM killer.topologyManagersConfiguration 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