KubernetesAddon

class KubernetesAddon : KotlinCustomResource

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>

Properties

Link copied to clipboard
val canUpgrade: Output<Boolean>

Is the addon ready for upgrade.

Link copied to clipboard

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>

The id of kubernetes cluster.

Link copied to clipboard
val config: Output<String>

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 id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of addon.

Link copied to clipboard
val nextVersion: Output<String>

The version which addon can be upgraded to.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val required: Output<Boolean>

Is it a mandatory addon to be installed.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val version: Output<String>

The current version of addon.