com.pulumi.gcp.gkeonprem.kotlin.outputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.gkeonprem.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
/**
*
* @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
BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfig(
public val registryBurst: Int? = null,
public val registryPullQps: Int? = null,
public val serializeImagePullsDisabled: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkeonprem.outputs.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfig): BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfig =
BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfig(
registryBurst = javaType.registryBurst().map({ args0 -> args0 }).orElse(null),
registryPullQps = javaType.registryPullQps().map({ args0 -> args0 }).orElse(null),
serializeImagePullsDisabled = javaType.serializeImagePullsDisabled().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy