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

com.pulumi.alicloud.cs.kotlin.inputs.NodePoolKubeletConfigurationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 3.62.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.alicloud.cs.kotlin.inputs

import com.pulumi.alicloud.cs.inputs.NodePoolKubeletConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 *
 * @property allowedUnsafeSysctls Allowed sysctl mode whitelist.
 * @property containerLogMaxFiles The maximum number of log files that can exist in each container.
 * @property containerLogMaxSize The maximum size that can be reached before a log file is rotated.
 * @property cpuManagerPolicy Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is `none` or `static`.
 * @property eventBurst Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding `event_record_qps`. It is only used when `event_record_qps` is greater than 0. Valid value is `[0-100]`.
 * @property eventRecordQps Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is `[0-50]`.
 * @property evictionHard Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: `{"memory.available" = "300Mi"}`.
 * @property evictionSoft Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: `{"memory.available" = "300Mi"}`.
 * @property evictionSoftGracePeriod Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: `{"memory.available" = "30s"}`.
 * @property featureGates Feature switch to enable configuration of experimental features.
 * @property kubeApiBurst Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is `[0-100]`.
 * @property kubeApiQps Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is `[0-50]`.
 * @property kubeReserved Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.
 * @property maxPods The maximum number of running pods.
 * @property readOnlyPort Read-only port number.
 * @property registryBurst Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding `registry_pull_qps`. Only used if `registry_pull_qps` is greater than 0. Valid value is `[0-100]`.
 * @property registryPullQps Same as registryPullQPS. The limit of registry pulls per second. Setting it to `0` means no limit. Valid value is `[0-50]`.
 * @property serializeImagePulls Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is `true` or `false`.
 * @property systemReserved Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.
 */
public data class NodePoolKubeletConfigurationArgs(
    public val allowedUnsafeSysctls: Output>? = null,
    public val containerLogMaxFiles: Output? = null,
    public val containerLogMaxSize: Output? = null,
    public val cpuManagerPolicy: Output? = null,
    public val eventBurst: Output? = null,
    public val eventRecordQps: Output? = null,
    public val evictionHard: Output>? = null,
    public val evictionSoft: Output>? = null,
    public val evictionSoftGracePeriod: Output>? = null,
    public val featureGates: Output>? = null,
    public val kubeApiBurst: Output? = null,
    public val kubeApiQps: Output? = null,
    public val kubeReserved: Output>? = null,
    public val maxPods: Output? = null,
    public val readOnlyPort: Output? = null,
    public val registryBurst: Output? = null,
    public val registryPullQps: Output? = null,
    public val serializeImagePulls: Output? = null,
    public val systemReserved: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.alicloud.cs.inputs.NodePoolKubeletConfigurationArgs =
        com.pulumi.alicloud.cs.inputs.NodePoolKubeletConfigurationArgs.builder()
            .allowedUnsafeSysctls(allowedUnsafeSysctls?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .containerLogMaxFiles(containerLogMaxFiles?.applyValue({ args0 -> args0 }))
            .containerLogMaxSize(containerLogMaxSize?.applyValue({ args0 -> args0 }))
            .cpuManagerPolicy(cpuManagerPolicy?.applyValue({ args0 -> args0 }))
            .eventBurst(eventBurst?.applyValue({ args0 -> args0 }))
            .eventRecordQps(eventRecordQps?.applyValue({ args0 -> args0 }))
            .evictionHard(
                evictionHard?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .evictionSoft(
                evictionSoft?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .evictionSoftGracePeriod(
                evictionSoftGracePeriod?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .featureGates(
                featureGates?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .kubeApiBurst(kubeApiBurst?.applyValue({ args0 -> args0 }))
            .kubeApiQps(kubeApiQps?.applyValue({ args0 -> args0 }))
            .kubeReserved(
                kubeReserved?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            )
            .maxPods(maxPods?.applyValue({ args0 -> args0 }))
            .readOnlyPort(readOnlyPort?.applyValue({ args0 -> args0 }))
            .registryBurst(registryBurst?.applyValue({ args0 -> args0 }))
            .registryPullQps(registryPullQps?.applyValue({ args0 -> args0 }))
            .serializeImagePulls(serializeImagePulls?.applyValue({ args0 -> args0 }))
            .systemReserved(
                systemReserved?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.key.to(args0.value)
                    }).toMap()
                }),
            ).build()
}

/**
 * Builder for [NodePoolKubeletConfigurationArgs].
 */
@PulumiTagMarker
public class NodePoolKubeletConfigurationArgsBuilder internal constructor() {
    private var allowedUnsafeSysctls: Output>? = null

    private var containerLogMaxFiles: Output? = null

    private var containerLogMaxSize: Output? = null

    private var cpuManagerPolicy: Output? = null

    private var eventBurst: Output? = null

    private var eventRecordQps: Output? = null

    private var evictionHard: Output>? = null

    private var evictionSoft: Output>? = null

    private var evictionSoftGracePeriod: Output>? = null

    private var featureGates: Output>? = null

    private var kubeApiBurst: Output? = null

    private var kubeApiQps: Output? = null

    private var kubeReserved: Output>? = null

    private var maxPods: Output? = null

    private var readOnlyPort: Output? = null

    private var registryBurst: Output? = null

    private var registryPullQps: Output? = null

    private var serializeImagePulls: Output? = null

    private var systemReserved: Output>? = null

    /**
     * @param value Allowed sysctl mode whitelist.
     */
    @JvmName("pmrijoqhxoqfwuqm")
    public suspend fun allowedUnsafeSysctls(`value`: Output>) {
        this.allowedUnsafeSysctls = value
    }

    @JvmName("nhuwucjqyfqefsxk")
    public suspend fun allowedUnsafeSysctls(vararg values: Output) {
        this.allowedUnsafeSysctls = Output.all(values.asList())
    }

    /**
     * @param values Allowed sysctl mode whitelist.
     */
    @JvmName("pshbxnuxfllipdpa")
    public suspend fun allowedUnsafeSysctls(values: List>) {
        this.allowedUnsafeSysctls = Output.all(values)
    }

    /**
     * @param value The maximum number of log files that can exist in each container.
     */
    @JvmName("poirxmgcfgxdvqwy")
    public suspend fun containerLogMaxFiles(`value`: Output) {
        this.containerLogMaxFiles = value
    }

    /**
     * @param value The maximum size that can be reached before a log file is rotated.
     */
    @JvmName("ypjvusgkkoimhenk")
    public suspend fun containerLogMaxSize(`value`: Output) {
        this.containerLogMaxSize = value
    }

    /**
     * @param value Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is `none` or `static`.
     */
    @JvmName("fcbvjqicbtbnfsws")
    public suspend fun cpuManagerPolicy(`value`: Output) {
        this.cpuManagerPolicy = value
    }

    /**
     * @param value Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding `event_record_qps`. It is only used when `event_record_qps` is greater than 0. Valid value is `[0-100]`.
     */
    @JvmName("ugoyjhrvdcxfjrdg")
    public suspend fun eventBurst(`value`: Output) {
        this.eventBurst = value
    }

    /**
     * @param value Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is `[0-50]`.
     */
    @JvmName("jwewhfeblnijeecb")
    public suspend fun eventRecordQps(`value`: Output) {
        this.eventRecordQps = value
    }

    /**
     * @param value Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: `{"memory.available" = "300Mi"}`.
     */
    @JvmName("ugfxpmehfellpyjh")
    public suspend fun evictionHard(`value`: Output>) {
        this.evictionHard = value
    }

    /**
     * @param value Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: `{"memory.available" = "300Mi"}`.
     */
    @JvmName("pgxpjopvbxmpllff")
    public suspend fun evictionSoft(`value`: Output>) {
        this.evictionSoft = value
    }

    /**
     * @param value Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: `{"memory.available" = "30s"}`.
     */
    @JvmName("oqqhimtyxjuqibvp")
    public suspend fun evictionSoftGracePeriod(`value`: Output>) {
        this.evictionSoftGracePeriod = value
    }

    /**
     * @param value Feature switch to enable configuration of experimental features.
     */
    @JvmName("lgupvkmkmdekuuwp")
    public suspend fun featureGates(`value`: Output>) {
        this.featureGates = value
    }

    /**
     * @param value Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is `[0-100]`.
     */
    @JvmName("abfetgqsojvvagdv")
    public suspend fun kubeApiBurst(`value`: Output) {
        this.kubeApiBurst = value
    }

    /**
     * @param value Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is `[0-50]`.
     */
    @JvmName("bjljuuryoihexnin")
    public suspend fun kubeApiQps(`value`: Output) {
        this.kubeApiQps = value
    }

    /**
     * @param value Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.
     */
    @JvmName("uttfowvlpvugaflr")
    public suspend fun kubeReserved(`value`: Output>) {
        this.kubeReserved = value
    }

    /**
     * @param value The maximum number of running pods.
     */
    @JvmName("roeunxaoonexklss")
    public suspend fun maxPods(`value`: Output) {
        this.maxPods = value
    }

    /**
     * @param value Read-only port number.
     */
    @JvmName("ndlxmlvvqycggkxi")
    public suspend fun readOnlyPort(`value`: Output) {
        this.readOnlyPort = value
    }

    /**
     * @param value Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding `registry_pull_qps`. Only used if `registry_pull_qps` is greater than 0. Valid value is `[0-100]`.
     */
    @JvmName("rlyghiacxfgpymmx")
    public suspend fun registryBurst(`value`: Output) {
        this.registryBurst = value
    }

    /**
     * @param value Same as registryPullQPS. The limit of registry pulls per second. Setting it to `0` means no limit. Valid value is `[0-50]`.
     */
    @JvmName("abpffyyphawtbdvu")
    public suspend fun registryPullQps(`value`: Output) {
        this.registryPullQps = value
    }

    /**
     * @param value Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is `true` or `false`.
     */
    @JvmName("qpjbxjcgcckyhgeq")
    public suspend fun serializeImagePulls(`value`: Output) {
        this.serializeImagePulls = value
    }

    /**
     * @param value Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.
     */
    @JvmName("scuftngjmpshrcop")
    public suspend fun systemReserved(`value`: Output>) {
        this.systemReserved = value
    }

    /**
     * @param value Allowed sysctl mode whitelist.
     */
    @JvmName("jxxlnlalhfwkutim")
    public suspend fun allowedUnsafeSysctls(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowedUnsafeSysctls = mapped
    }

    /**
     * @param values Allowed sysctl mode whitelist.
     */
    @JvmName("rqntqlblhcgcqqex")
    public suspend fun allowedUnsafeSysctls(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allowedUnsafeSysctls = mapped
    }

    /**
     * @param value The maximum number of log files that can exist in each container.
     */
    @JvmName("byncewuawesvfqrf")
    public suspend fun containerLogMaxFiles(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.containerLogMaxFiles = mapped
    }

    /**
     * @param value The maximum size that can be reached before a log file is rotated.
     */
    @JvmName("ipctcvxyaplbyekp")
    public suspend fun containerLogMaxSize(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.containerLogMaxSize = mapped
    }

    /**
     * @param value Same as cpuManagerPolicy. The name of the policy to use. Requires the CPUManager feature gate to be enabled. Valid value is `none` or `static`.
     */
    @JvmName("roangojwhumwdycx")
    public suspend fun cpuManagerPolicy(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.cpuManagerPolicy = mapped
    }

    /**
     * @param value Same as eventBurst. The maximum size of a burst of event creations, temporarily allows event creations to burst to this number, while still not exceeding `event_record_qps`. It is only used when `event_record_qps` is greater than 0. Valid value is `[0-100]`.
     */
    @JvmName("savsjkugqyivmnfq")
    public suspend fun eventBurst(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.eventBurst = mapped
    }

    /**
     * @param value Same as eventRecordQPS. The maximum event creations per second. If 0, there is no limit enforced. Valid value is `[0-50]`.
     */
    @JvmName("njdlyrmjhmmwyeug")
    public suspend fun eventRecordQps(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.eventRecordQps = mapped
    }

    /**
     * @param value Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: `{"memory.available" = "300Mi"}`.
     */
    @JvmName("ptwvyxcbqlnqmvxp")
    public suspend fun evictionHard(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.evictionHard = mapped
    }

    /**
     * @param values Same as evictionHard. The map of signal names to quantities that defines hard eviction thresholds. For example: `{"memory.available" = "300Mi"}`.
     */
    @JvmName("vreyxgmbsoudgpbh")
    public fun evictionHard(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.evictionHard = mapped
    }

    /**
     * @param value Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: `{"memory.available" = "300Mi"}`.
     */
    @JvmName("nvfpljfmixkwacgt")
    public suspend fun evictionSoft(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.evictionSoft = mapped
    }

    /**
     * @param values Same as evictionSoft. The map of signal names to quantities that defines soft eviction thresholds. For example: `{"memory.available" = "300Mi"}`.
     */
    @JvmName("ocjpvraleuihmbyr")
    public fun evictionSoft(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.evictionSoft = mapped
    }

    /**
     * @param value Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: `{"memory.available" = "30s"}`.
     */
    @JvmName("omcodpiafrwkisln")
    public suspend fun evictionSoftGracePeriod(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.evictionSoftGracePeriod = mapped
    }

    /**
     * @param values Same as evictionSoftGracePeriod. The map of signal names to quantities that defines grace periods for each soft eviction signal. For example: `{"memory.available" = "30s"}`.
     */
    @JvmName("hbcvyyhfufemxrgt")
    public fun evictionSoftGracePeriod(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.evictionSoftGracePeriod = mapped
    }

    /**
     * @param value Feature switch to enable configuration of experimental features.
     */
    @JvmName("wkbrppqenubrpuxq")
    public suspend fun featureGates(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.featureGates = mapped
    }

    /**
     * @param values Feature switch to enable configuration of experimental features.
     */
    @JvmName("plauuxyregelyopg")
    public fun featureGates(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.featureGates = mapped
    }

    /**
     * @param value Same as kubeAPIBurst. The burst to allow while talking with kubernetes api-server. Valid value is `[0-100]`.
     */
    @JvmName("jkvxprfbhhidwhks")
    public suspend fun kubeApiBurst(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kubeApiBurst = mapped
    }

    /**
     * @param value Same as kubeAPIQPS. The QPS to use while talking with kubernetes api-server. Valid value is `[0-50]`.
     */
    @JvmName("kbverwuxjmdwlmwu")
    public suspend fun kubeApiQps(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kubeApiQps = mapped
    }

    /**
     * @param value Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.
     */
    @JvmName("currvbcunpjelfkk")
    public suspend fun kubeReserved(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kubeReserved = mapped
    }

    /**
     * @param values Same as kubeReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for kubernetes system components. Currently, cpu, memory and local storage for root file system are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.
     */
    @JvmName("xibniopbtobrqvnd")
    public fun kubeReserved(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.kubeReserved = mapped
    }

    /**
     * @param value The maximum number of running pods.
     */
    @JvmName("wuujwevyojgmoiwk")
    public suspend fun maxPods(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxPods = mapped
    }

    /**
     * @param value Read-only port number.
     */
    @JvmName("xbdrwdmoaypektbu")
    public suspend fun readOnlyPort(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.readOnlyPort = mapped
    }

    /**
     * @param value Same as registryBurst. The maximum size of burst pulls, temporarily allows pulls to burst to this number, while still not exceeding `registry_pull_qps`. Only used if `registry_pull_qps` is greater than 0. Valid value is `[0-100]`.
     */
    @JvmName("ridinnxlsfjbbnpw")
    public suspend fun registryBurst(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.registryBurst = mapped
    }

    /**
     * @param value Same as registryPullQPS. The limit of registry pulls per second. Setting it to `0` means no limit. Valid value is `[0-50]`.
     */
    @JvmName("qheijpkhmfffqvty")
    public suspend fun registryPullQps(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.registryPullQps = mapped
    }

    /**
     * @param value Same as serializeImagePulls. When enabled, it tells the Kubelet to pull images one at a time. We recommend not changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Valid value is `true` or `false`.
     */
    @JvmName("nmjafffteeaiblrs")
    public suspend fun serializeImagePulls(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serializeImagePulls = mapped
    }

    /**
     * @param value Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.
     */
    @JvmName("hnolufapyisdkfrn")
    public suspend fun systemReserved(`value`: Map?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.systemReserved = mapped
    }

    /**
     * @param values Same as systemReserved. The set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs that describe resources reserved for non-kubernetes components. Currently, only cpu and memory are supported. See [compute resources](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) for more details.
     */
    @JvmName("rwnuvcwbqjmgvtjt")
    public fun systemReserved(vararg values: Pair) {
        val toBeMapped = values.toMap()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.systemReserved = mapped
    }

    internal fun build(): NodePoolKubeletConfigurationArgs = NodePoolKubeletConfigurationArgs(
        allowedUnsafeSysctls = allowedUnsafeSysctls,
        containerLogMaxFiles = containerLogMaxFiles,
        containerLogMaxSize = containerLogMaxSize,
        cpuManagerPolicy = cpuManagerPolicy,
        eventBurst = eventBurst,
        eventRecordQps = eventRecordQps,
        evictionHard = evictionHard,
        evictionSoft = evictionSoft,
        evictionSoftGracePeriod = evictionSoftGracePeriod,
        featureGates = featureGates,
        kubeApiBurst = kubeApiBurst,
        kubeApiQps = kubeApiQps,
        kubeReserved = kubeReserved,
        maxPods = maxPods,
        readOnlyPort = readOnlyPort,
        registryBurst = registryBurst,
        registryPullQps = registryPullQps,
        serializeImagePulls = serializeImagePulls,
        systemReserved = systemReserved,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy