ClusterNodePoolNodeConfigKubeletConfig constructor
- Input<
List< ? allowedUnsafeSysctls,String> ?> - 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.
Implementation
const ClusterNodePoolNodeConfigKubeletConfig({
this.allowedUnsafeSysctls,
this.containerLogMaxFiles,
this.containerLogMaxSize,
this.cpuCfsQuota,
this.cpuCfsQuotaPeriod,
this.cpuManagerPolicy,
this.crashLoopBackOff,
this.evictionMaxPodGracePeriodSeconds,
this.evictionMinimumReclaim,
this.evictionSoft,
this.evictionSoftGracePeriod,
this.imageGcHighThresholdPercent,
this.imageGcLowThresholdPercent,
this.imageMaximumGcAge,
this.imageMinimumGcAge,
this.insecureKubeletReadonlyPortEnabled,
this.maxParallelImagePulls,
this.memoryManager,
this.podPidsLimit,
this.shutdownGracePeriodCriticalPodsSeconds,
this.shutdownGracePeriodSeconds,
this.singleProcessOomKill,
this.topologyManager,
});