com.pulumi.gcp.container.kotlin.outputs.AwsNodePoolKubeletConfig.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.container.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property cpuCfsQuota Whether or not to enable CPU CFS quota. Defaults to true.
* @property cpuCfsQuotaPeriod Optional. The CPU CFS quota period to use for the node. Defaults to "100ms".
* @property cpuManagerPolicy The CpuManagerPolicy to use for the node. Defaults to "none".
* @property podPidsLimit Optional. The maximum number of PIDs in each pod running on the node. The limit scales automatically based on underlying machine size if left unset.
*/
public data class AwsNodePoolKubeletConfig(
public val cpuCfsQuota: Boolean? = null,
public val cpuCfsQuotaPeriod: String? = null,
public val cpuManagerPolicy: String? = null,
public val podPidsLimit: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.AwsNodePoolKubeletConfig): AwsNodePoolKubeletConfig = AwsNodePoolKubeletConfig(
cpuCfsQuota = javaType.cpuCfsQuota().map({ args0 -> args0 }).orElse(null),
cpuCfsQuotaPeriod = javaType.cpuCfsQuotaPeriod().map({ args0 -> args0 }).orElse(null),
cpuManagerPolicy = javaType.cpuManagerPolicy().map({ args0 -> args0 }).orElse(null),
podPidsLimit = javaType.podPidsLimit().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy