All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterDefaultNodePoolKubeletConfig.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property allowedUnsafeSysctls Specifies the allow list of unsafe sysctls command or patterns (ending in `*`).
 * @property containerLogMaxLine Specifies the maximum number of container log files that can be present for a container. must be at least 2.
 * @property containerLogMaxSizeMb Specifies the maximum size (e.g. 10MB) of container log file before it is rotated.
 * @property cpuCfsQuotaEnabled Is CPU CFS quota enforcement for containers enabled?
 * @property cpuCfsQuotaPeriod Specifies the CPU CFS quota period value.
 * @property cpuManagerPolicy Specifies the CPU Manager policy to use. Possible values are `none` and `static`,.
 * @property imageGcHighThreshold Specifies the percent of disk usage above which image garbage collection is always run. Must be between `0` and `100`.
 * @property imageGcLowThreshold Specifies the percent of disk usage lower than which image garbage collection is never run. Must be between `0` and `100`.
 * @property podMaxPid Specifies the maximum number of processes per pod.
 * @property topologyManagerPolicy Specifies the Topology Manager policy to use. Possible values are `none`, `best-effort`, `restricted` or `single-numa-node`.
 */
public data class KubernetesClusterDefaultNodePoolKubeletConfig(
    public val allowedUnsafeSysctls: List? = null,
    public val containerLogMaxLine: Int? = null,
    public val containerLogMaxSizeMb: Int? = null,
    public val cpuCfsQuotaEnabled: Boolean? = null,
    public val cpuCfsQuotaPeriod: String? = null,
    public val cpuManagerPolicy: String? = null,
    public val imageGcHighThreshold: Int? = null,
    public val imageGcLowThreshold: Int? = null,
    public val podMaxPid: Int? = null,
    public val topologyManagerPolicy: String? = null,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterDefaultNodePoolKubeletConfig):
            KubernetesClusterDefaultNodePoolKubeletConfig =
            KubernetesClusterDefaultNodePoolKubeletConfig(
                allowedUnsafeSysctls = javaType.allowedUnsafeSysctls().map({ args0 -> args0 }),
                containerLogMaxLine = javaType.containerLogMaxLine().map({ args0 -> args0 }).orElse(null),
                containerLogMaxSizeMb = javaType.containerLogMaxSizeMb().map({ args0 -> args0 }).orElse(null),
                cpuCfsQuotaEnabled = javaType.cpuCfsQuotaEnabled().map({ args0 -> args0 }).orElse(null),
                cpuCfsQuotaPeriod = javaType.cpuCfsQuotaPeriod().map({ args0 -> args0 }).orElse(null),
                cpuManagerPolicy = javaType.cpuManagerPolicy().map({ args0 -> args0 }).orElse(null),
                imageGcHighThreshold = javaType.imageGcHighThreshold().map({ args0 -> args0 }).orElse(null),
                imageGcLowThreshold = javaType.imageGcLowThreshold().map({ args0 -> args0 }).orElse(null),
                podMaxPid = javaType.podMaxPid().map({ args0 -> args0 }).orElse(null),
                topologyManagerPolicy = javaType.topologyManagerPolicy().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy