Kubernetes Addon
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
Is the addon ready for upgrade.
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.
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
.
The version which addon can be upgraded to.