ClusterNodePoolNodeConfigKubeletConfigArgs

data class ClusterNodePoolNodeConfigKubeletConfigArgs(val allowedUnsafeSysctls: Output<List<String>>? = null, val containerLogMaxFiles: Output<Int>? = null, val containerLogMaxSize: Output<String>? = null, val cpuCfsQuota: Output<Boolean>? = null, val cpuCfsQuotaPeriod: Output<String>? = null, val cpuManagerPolicy: Output<String>? = null, val imageGcHighThresholdPercent: Output<Int>? = null, val imageGcLowThresholdPercent: Output<Int>? = null, val imageMaximumGcAge: Output<String>? = null, val imageMinimumGcAge: Output<String>? = null, val insecureKubeletReadonlyPortEnabled: Output<String>? = null, val podPidsLimit: Output<Int>? = null) : ConvertibleToJava<ClusterNodePoolNodeConfigKubeletConfigArgs>

Constructors

constructor(allowedUnsafeSysctls: Output<List<String>>? = null, containerLogMaxFiles: Output<Int>? = null, containerLogMaxSize: Output<String>? = null, cpuCfsQuota: Output<Boolean>? = null, cpuCfsQuotaPeriod: Output<String>? = null, cpuManagerPolicy: Output<String>? = null, imageGcHighThresholdPercent: Output<Int>? = null, imageGcLowThresholdPercent: Output<Int>? = null, imageMaximumGcAge: Output<String>? = null, imageMinimumGcAge: Output<String>? = null, insecureKubeletReadonlyPortEnabled: Output<String>? = null, podPidsLimit: Output<Int>? = null)

Properties

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

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.*.

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

Defines the maximum number of container log files that can be present for a container. The integer must be between 2 and 10, inclusive.

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

Defines the maximum size of the container log file before it is rotated. Specified as a positive number and a unit suffix, such as "100Ki", "10Mi". Valid units are "Ki", "Mi", "Gi". The value must be between "10Mi" and "500Mi", inclusive. And the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node.

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

If true, enables CPU CFS quota enforcement for containers that specify CPU limits.

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

The CPU CFS quota period value. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.

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

The CPU management policy on the node. See K8S CPU Management Policies. One of "none" or "static". If unset (or set to the empty string ""), the API will treat the field as if set to "none". Prior to the 6.4.0 this field was marked as required. The workaround for the required field is setting the empty string "", which will function identically to not setting this field.

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

Defines the percent of disk usage after which image garbage collection is always run. The integer must be between 10 and 85, inclusive.

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

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.

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

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.

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

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".

Link copied to clipboard

Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to FALSE. Possible values: TRUE, FALSE.

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

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.

Functions

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