GetClusterNodeConfigKubeletConfig constructor

const GetClusterNodeConfigKubeletConfig({
  1. required Input<List<String>> allowedUnsafeSysctls,
  2. required Input<int> containerLogMaxFiles,
  3. required Input<String> containerLogMaxSize,
  4. required Input<bool> cpuCfsQuota,
  5. required Input<String> cpuCfsQuotaPeriod,
  6. required Input<String> cpuManagerPolicy,
  7. required Input<List<GetClusterNodeConfigKubeletConfigCrashLoopBackOff>> crashLoopBackOffs,
  8. required Input<int> evictionMaxPodGracePeriodSeconds,
  9. required Input<List<GetClusterNodeConfigKubeletConfigEvictionMinimumReclaim>> evictionMinimumReclaims,
  10. required Input<List<GetClusterNodeConfigKubeletConfigEvictionSoftGracePeriod>> evictionSoftGracePeriods,
  11. required Input<List<GetClusterNodeConfigKubeletConfigEvictionSoft>> evictionSofts,
  12. required Input<int> imageGcHighThresholdPercent,
  13. required Input<int> imageGcLowThresholdPercent,
  14. required Input<String> imageMaximumGcAge,
  15. required Input<String> imageMinimumGcAge,
  16. required Input<String> insecureKubeletReadonlyPortEnabled,
  17. required Input<int> maxParallelImagePulls,
  18. required Input<List<GetClusterNodeConfigKubeletConfigMemoryManager>> memoryManagers,
  19. required Input<int> podPidsLimit,
  20. required Input<int> shutdownGracePeriodCriticalPodsSeconds,
  21. required Input<int> shutdownGracePeriodSeconds,
  22. required Input<bool> singleProcessOomKill,
  23. 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.

Implementation

const GetClusterNodeConfigKubeletConfig({
  required this.allowedUnsafeSysctls,
  required this.containerLogMaxFiles,
  required this.containerLogMaxSize,
  required this.cpuCfsQuota,
  required this.cpuCfsQuotaPeriod,
  required this.cpuManagerPolicy,
  required this.crashLoopBackOffs,
  required this.evictionMaxPodGracePeriodSeconds,
  required this.evictionMinimumReclaims,
  required this.evictionSoftGracePeriods,
  required this.evictionSofts,
  required this.imageGcHighThresholdPercent,
  required this.imageGcLowThresholdPercent,
  required this.imageMaximumGcAge,
  required this.imageMinimumGcAge,
  required this.insecureKubeletReadonlyPortEnabled,
  required this.maxParallelImagePulls,
  required this.memoryManagers,
  required this.podPidsLimit,
  required this.shutdownGracePeriodCriticalPodsSeconds,
  required this.shutdownGracePeriodSeconds,
  required this.singleProcessOomKill,
  required this.topologyManagers,
});