KubeletConfigArgs

data class KubeletConfigArgs(val allowedUnsafeSysctls: Output<List<String>>? = null, val containerLogMaxFiles: Output<Int>? = null, val containerLogMaxSizeMB: Output<Int>? = null, val cpuCfsQuota: Output<Boolean>? = null, val cpuCfsQuotaPeriod: Output<String>? = null, val cpuManagerPolicy: Output<String>? = null, val failSwapOn: Output<Boolean>? = null, val imageGcHighThreshold: Output<Int>? = null, val imageGcLowThreshold: Output<Int>? = null, val podMaxPids: Output<Int>? = null, val topologyManagerPolicy: Output<String>? = null) : ConvertibleToJava<KubeletConfigArgs>

Kubelet configurations of agent nodes.

Constructors

Link copied to clipboard
constructor(allowedUnsafeSysctls: Output<List<String>>? = null, containerLogMaxFiles: Output<Int>? = null, containerLogMaxSizeMB: Output<Int>? = null, cpuCfsQuota: Output<Boolean>? = null, cpuCfsQuotaPeriod: Output<String>? = null, cpuManagerPolicy: Output<String>? = null, failSwapOn: Output<Boolean>? = null, imageGcHighThreshold: Output<Int>? = null, imageGcLowThreshold: Output<Int>? = null, podMaxPids: Output<Int>? = null, topologyManagerPolicy: Output<String>? = null)

Properties

Link copied to clipboard
val allowedUnsafeSysctls: Output<List<String>>? = null

Allowlist of unsafe sysctls or unsafe sysctl patterns (ending in *).

Link copied to clipboard
val containerLogMaxFiles: Output<Int>? = null

The maximum number of container log files that can be present for a container. The number must be ≥ 2.

Link copied to clipboard
val containerLogMaxSizeMB: Output<Int>? = null

The maximum size (e.g. 10Mi) of container log file before it is rotated.

Link copied to clipboard
val cpuCfsQuota: Output<Boolean>? = null

Enable CPU CFS quota enforcement for containers that specify CPU limits.

Link copied to clipboard
val cpuCfsQuotaPeriod: Output<String>? = null

Sets CPU CFS quota period value.

Link copied to clipboard
val cpuManagerPolicy: Output<String>? = null

CPU Manager policy to use.

Link copied to clipboard
val failSwapOn: Output<Boolean>? = null

If set to true it will make the Kubelet fail to start if swap is enabled on the node.

Link copied to clipboard
val imageGcHighThreshold: Output<Int>? = null

The percent of disk usage after which image garbage collection is always run.

Link copied to clipboard
val imageGcLowThreshold: Output<Int>? = null

The percent of disk usage before which image garbage collection is never run.

Link copied to clipboard
val podMaxPids: Output<Int>? = null

The maximum number of processes per pod.

Link copied to clipboard
val topologyManagerPolicy: Output<String>? = null

Topology Manager policy to use.

Functions

Link copied to clipboard
open override fun toJava(): KubeletConfigArgs