KubernetesAddonArgs

data class KubernetesAddonArgs(val cleanupCloudResources: Output<Boolean>? = null, val clusterId: Output<String>? = null, val config: Output<String>? = null, val name: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<KubernetesAddonArgs>

Example Usage

Basic Usage

Import

Cluster addon can be imported by cluster id and addon name. Then write the addon.tf file according to the result of pulumi preview.

$ pulumi import alicloud:cs/kubernetesAddon:KubernetesAddon my_addon <cluster_id>:<addon_name>

Constructors

Link copied to clipboard
constructor(cleanupCloudResources: Output<Boolean>? = null, clusterId: Output<String>? = null, config: Output<String>? = null, name: Output<String>? = null, version: Output<String>? = null)

Properties

Link copied to clipboard
val cleanupCloudResources: Output<Boolean>? = null

Whether to clean up cloud resources when deleting. Currently only works for addon ack-virtual-node and you must specify it when uninstall addon ack-virtual-node. Valid values: true: clean up, false: do not clean up.

Link copied to clipboard
val clusterId: Output<String>? = null

The id of kubernetes cluster.

Link copied to clipboard
val config: Output<String>? = null

The customized configuration of addon. Your customized configuration will be merged to existed configuration stored in server. If you want to clean one configuration, you must set the configuration to empty value, removing from code cannot make effect. You can checkout the customized configuration of the addon through datasource alicloud.cs.getKubernetesAddonMetadata, the returned format is the standard json schema. If return empty, it means that the addon does not support custom configuration yet. You can also checkout the current custom configuration through the data source alicloud.cs.getKubernetesAddons.

Link copied to clipboard
val name: Output<String>? = null

The name of addon.

Link copied to clipboard
val version: Output<String>? = null

The current version of addon.

Functions

Link copied to clipboard
open override fun toJava(): KubernetesAddonArgs