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

com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.gkeonprem.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property registryBurst The maximum size of bursty pulls, temporarily allows pulls to burst to this
 * number, while still not exceeding registry_pull_qps.
 * The value must not be a negative number.
 * Updating this field may impact scalability by changing the amount of
 * traffic produced by image pulls.
 * Defaults to 10.
 * @property registryPullQps The limit of registry pulls per second.
 * Setting this value to 0 means no limit.
 * Updating this field may impact scalability by changing the amount of
 * traffic produced by image pulls.
 * Defaults to 5.
 * @property serializeImagePullsDisabled Prevents the Kubelet from pulling multiple images at a time.
 * We recommend *not* changing the default value on nodes that run docker
 * daemon with version  < 1.9 or an Another Union File System (Aufs) storage
 * backend. Issue https://github.com/kubernetes/kubernetes/issues/10959 has
 * more details.
 */
public data class
BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs(
    public val registryBurst: Output? = null,
    public val registryPullQps: Output? = null,
    public val serializeImagePullsDisabled: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs =
        com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs.builder()
            .registryBurst(registryBurst?.applyValue({ args0 -> args0 }))
            .registryPullQps(registryPullQps?.applyValue({ args0 -> args0 }))
            .serializeImagePullsDisabled(serializeImagePullsDisabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs].
 */
@PulumiTagMarker
public class
BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgsBuilder
internal constructor() {
    private var registryBurst: Output? = null

    private var registryPullQps: Output? = null

    private var serializeImagePullsDisabled: Output? = null

    /**
     * @param value The maximum size of bursty pulls, temporarily allows pulls to burst to this
     * number, while still not exceeding registry_pull_qps.
     * The value must not be a negative number.
     * Updating this field may impact scalability by changing the amount of
     * traffic produced by image pulls.
     * Defaults to 10.
     */
    @JvmName("kavmxekynhpeevyj")
    public suspend fun registryBurst(`value`: Output) {
        this.registryBurst = value
    }

    /**
     * @param value The limit of registry pulls per second.
     * Setting this value to 0 means no limit.
     * Updating this field may impact scalability by changing the amount of
     * traffic produced by image pulls.
     * Defaults to 5.
     */
    @JvmName("ofjctgmqtbnwrand")
    public suspend fun registryPullQps(`value`: Output) {
        this.registryPullQps = value
    }

    /**
     * @param value Prevents the Kubelet from pulling multiple images at a time.
     * We recommend *not* changing the default value on nodes that run docker
     * daemon with version  < 1.9 or an Another Union File System (Aufs) storage
     * backend. Issue https://github.com/kubernetes/kubernetes/issues/10959 has
     * more details.
     */
    @JvmName("tbuqxxhdqnmryoty")
    public suspend fun serializeImagePullsDisabled(`value`: Output) {
        this.serializeImagePullsDisabled = value
    }

    /**
     * @param value The maximum size of bursty pulls, temporarily allows pulls to burst to this
     * number, while still not exceeding registry_pull_qps.
     * The value must not be a negative number.
     * Updating this field may impact scalability by changing the amount of
     * traffic produced by image pulls.
     * Defaults to 10.
     */
    @JvmName("vewioffxjtxmhstt")
    public suspend fun registryBurst(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.registryBurst = mapped
    }

    /**
     * @param value The limit of registry pulls per second.
     * Setting this value to 0 means no limit.
     * Updating this field may impact scalability by changing the amount of
     * traffic produced by image pulls.
     * Defaults to 5.
     */
    @JvmName("crqkarnkcypdgysc")
    public suspend fun registryPullQps(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.registryPullQps = mapped
    }

    /**
     * @param value Prevents the Kubelet from pulling multiple images at a time.
     * We recommend *not* changing the default value on nodes that run docker
     * daemon with version  < 1.9 or an Another Union File System (Aufs) storage
     * backend. Issue https://github.com/kubernetes/kubernetes/issues/10959 has
     * more details.
     */
    @JvmName("ovnowqsgrhqwwnel")
    public suspend fun serializeImagePullsDisabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serializeImagePullsDisabled = mapped
    }

    internal fun build(): BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs =
        BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs(
            registryBurst = registryBurst,
            registryPullQps = registryPullQps,
            serializeImagePullsDisabled = serializeImagePullsDisabled,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy