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

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

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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property maxSurge The maximum number or percentage of nodes which will be added to the Node Pool size during an upgrade.
 * > **Note:** If a percentage is provided, the number of surge nodes is calculated from the `node_count` value on the current cluster. Node surge can allow a cluster to have more nodes than `max_count` during an upgrade. Ensure that your cluster has enough [IP space](https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade) during an upgrade.
 */
public data class KubernetesClusterDefaultNodePoolUpgradeSettings(
    public val maxSurge: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterDefaultNodePoolUpgradeSettings):
            KubernetesClusterDefaultNodePoolUpgradeSettings =
            KubernetesClusterDefaultNodePoolUpgradeSettings(
                maxSurge = javaType.maxSurge(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy