1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. vke
  6. Addon
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    The cluster supports installation of various types of components, including network, storage, monitoring, DNS, security, image, GPU, and more, to meet your diverse business needs. You can deploy, upgrade, or uninstall components as needed.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const vKEAddonDemo = new volcenginecc.vke.Addon("VKEAddonDemo", {
        clusterId: "cd35mtki***",
        deployMode: "Unmanaged",
        deployNodeType: "Node",
        name: "csi-nas",
        version: "v1.2.7",
        config: "{\"CsiNasDriver\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.9\",\"Memory\":\"1900Mi\"}}},\"CsiProvisioner\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.5\",\"Memory\":\"4Gi\"}}},\"LivenessProbe\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.1\",\"Memory\":\"100Mi\"}}}}",
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    v_ke_addon_demo = volcenginecc.vke.Addon("VKEAddonDemo",
        cluster_id="cd35mtki***",
        deploy_mode="Unmanaged",
        deploy_node_type="Node",
        name="csi-nas",
        version="v1.2.7",
        config="{\"CsiNasDriver\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.9\",\"Memory\":\"1900Mi\"}}},\"CsiProvisioner\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.5\",\"Memory\":\"4Gi\"}}},\"LivenessProbe\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.1\",\"Memory\":\"100Mi\"}}}}")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/vke"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vke.NewAddon(ctx, "VKEAddonDemo", &vke.AddonArgs{
    			ClusterId:      pulumi.String("cd35mtki***"),
    			DeployMode:     pulumi.String("Unmanaged"),
    			DeployNodeType: pulumi.String("Node"),
    			Name:           pulumi.String("csi-nas"),
    			Version:        pulumi.String("v1.2.7"),
    			Config:         pulumi.String("{\"CsiNasDriver\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.9\",\"Memory\":\"1900Mi\"}}},\"CsiProvisioner\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.5\",\"Memory\":\"4Gi\"}}},\"LivenessProbe\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.1\",\"Memory\":\"100Mi\"}}}}"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var vKEAddonDemo = new Volcenginecc.Vke.Addon("VKEAddonDemo", new()
        {
            ClusterId = "cd35mtki***",
            DeployMode = "Unmanaged",
            DeployNodeType = "Node",
            Name = "csi-nas",
            Version = "v1.2.7",
            Config = "{\"CsiNasDriver\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.9\",\"Memory\":\"1900Mi\"}}},\"CsiProvisioner\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.5\",\"Memory\":\"4Gi\"}}},\"LivenessProbe\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.1\",\"Memory\":\"100Mi\"}}}}",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.vke.Addon;
    import com.volcengine.volcenginecc.vke.AddonArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var vKEAddonDemo = new Addon("vKEAddonDemo", AddonArgs.builder()
                .clusterId("cd35mtki***")
                .deployMode("Unmanaged")
                .deployNodeType("Node")
                .name("csi-nas")
                .version("v1.2.7")
                .config("{\"CsiNasDriver\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.9\",\"Memory\":\"1900Mi\"}}},\"CsiProvisioner\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.5\",\"Memory\":\"4Gi\"}}},\"LivenessProbe\":{\"Resources\":{\"Requests\":{\"Cpu\":\"0.01\",\"Memory\":\"20Mi\"},\"Limits\":{\"Cpu\":\"0.1\",\"Memory\":\"100Mi\"}}}}")
                .build());
    
        }
    }
    
    resources:
      vKEAddonDemo:
        type: volcenginecc:vke:Addon
        name: VKEAddonDemo
        properties:
          clusterId: cd35mtki***
          deployMode: Unmanaged
          deployNodeType: Node
          name: csi-nas
          version: v1.2.7
          config: '{"CsiNasDriver":{"Resources":{"Requests":{"Cpu":"0.01","Memory":"20Mi"},"Limits":{"Cpu":"0.9","Memory":"1900Mi"}}},"CsiProvisioner":{"Resources":{"Requests":{"Cpu":"0.01","Memory":"20Mi"},"Limits":{"Cpu":"0.5","Memory":"4Gi"}}},"LivenessProbe":{"Resources":{"Requests":{"Cpu":"0.01","Memory":"20Mi"},"Limits":{"Cpu":"0.1","Memory":"100Mi"}}}}'
    

    Create Addon Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Addon(name: string, args?: AddonArgs, opts?: CustomResourceOptions);
    @overload
    def Addon(resource_name: str,
              args: Optional[AddonArgs] = None,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Addon(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              cluster_id: Optional[str] = None,
              config: Optional[str] = None,
              deploy_mode: Optional[str] = None,
              deploy_node_type: Optional[str] = None,
              name: Optional[str] = None,
              status: Optional[AddonStatusArgs] = None,
              version: Optional[str] = None)
    func NewAddon(ctx *Context, name string, args *AddonArgs, opts ...ResourceOption) (*Addon, error)
    public Addon(string name, AddonArgs? args = null, CustomResourceOptions? opts = null)
    public Addon(String name, AddonArgs args)
    public Addon(String name, AddonArgs args, CustomResourceOptions options)
    
    type: volcenginecc:vke:Addon
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AddonArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AddonArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AddonArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AddonArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AddonArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var addonResource = new Volcenginecc.Vke.Addon("addonResource", new()
    {
        ClusterId = "string",
        Config = "string",
        DeployMode = "string",
        DeployNodeType = "string",
        Name = "string",
        Status = new Volcenginecc.Vke.Inputs.AddonStatusArgs
        {
            Conditions = new[]
            {
                null,
            },
            Phase = "string",
        },
        Version = "string",
    });
    
    example, err := vke.NewAddon(ctx, "addonResource", &vke.AddonArgs{
    	ClusterId:      pulumi.String("string"),
    	Config:         pulumi.String("string"),
    	DeployMode:     pulumi.String("string"),
    	DeployNodeType: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	Status: &vke.AddonStatusArgs{
    		Conditions: vke.AddonStatusConditionArray{
    			&vke.AddonStatusConditionArgs{},
    		},
    		Phase: pulumi.String("string"),
    	},
    	Version: pulumi.String("string"),
    })
    
    var addonResource = new Addon("addonResource", AddonArgs.builder()
        .clusterId("string")
        .config("string")
        .deployMode("string")
        .deployNodeType("string")
        .name("string")
        .status(AddonStatusArgs.builder()
            .conditions(AddonStatusConditionArgs.builder()
                .build())
            .phase("string")
            .build())
        .version("string")
        .build());
    
    addon_resource = volcenginecc.vke.Addon("addonResource",
        cluster_id="string",
        config="string",
        deploy_mode="string",
        deploy_node_type="string",
        name="string",
        status={
            "conditions": [{}],
            "phase": "string",
        },
        version="string")
    
    const addonResource = new volcenginecc.vke.Addon("addonResource", {
        clusterId: "string",
        config: "string",
        deployMode: "string",
        deployNodeType: "string",
        name: "string",
        status: {
            conditions: [{}],
            phase: "string",
        },
        version: "string",
    });
    
    type: volcenginecc:vke:Addon
    properties:
        clusterId: string
        config: string
        deployMode: string
        deployNodeType: string
        name: string
        status:
            conditions:
                - {}
            phase: string
        version: string
    

    Addon Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Addon resource accepts the following input properties:

    ClusterId string
    Cluster ID where the component is located.
    Config string
    Component configuration.
    DeployMode string
    Component deployment mode. Values: Unmanaged: deployed in unmanaged mode. Managed: deployed in managed mode.
    DeployNodeType string
    Type of deployment node. This parameter needs to be specified only when DeployModes=Unmanaged. Values: Node: deployed as a node. VirtualNode: deployed as a virtual node.
    Name string
    Component name.
    Status Volcengine.AddonStatus
    Component status.
    Version string
    Component version.
    ClusterId string
    Cluster ID where the component is located.
    Config string
    Component configuration.
    DeployMode string
    Component deployment mode. Values: Unmanaged: deployed in unmanaged mode. Managed: deployed in managed mode.
    DeployNodeType string
    Type of deployment node. This parameter needs to be specified only when DeployModes=Unmanaged. Values: Node: deployed as a node. VirtualNode: deployed as a virtual node.
    Name string
    Component name.
    Status AddonStatusArgs
    Component status.
    Version string
    Component version.
    clusterId String
    Cluster ID where the component is located.
    config String
    Component configuration.
    deployMode String
    Component deployment mode. Values: Unmanaged: deployed in unmanaged mode. Managed: deployed in managed mode.
    deployNodeType String
    Type of deployment node. This parameter needs to be specified only when DeployModes=Unmanaged. Values: Node: deployed as a node. VirtualNode: deployed as a virtual node.
    name String
    Component name.
    status AddonStatus
    Component status.
    version String
    Component version.
    clusterId string
    Cluster ID where the component is located.
    config string
    Component configuration.
    deployMode string
    Component deployment mode. Values: Unmanaged: deployed in unmanaged mode. Managed: deployed in managed mode.
    deployNodeType string
    Type of deployment node. This parameter needs to be specified only when DeployModes=Unmanaged. Values: Node: deployed as a node. VirtualNode: deployed as a virtual node.
    name string
    Component name.
    status AddonStatus
    Component status.
    version string
    Component version.
    cluster_id str
    Cluster ID where the component is located.
    config str
    Component configuration.
    deploy_mode str
    Component deployment mode. Values: Unmanaged: deployed in unmanaged mode. Managed: deployed in managed mode.
    deploy_node_type str
    Type of deployment node. This parameter needs to be specified only when DeployModes=Unmanaged. Values: Node: deployed as a node. VirtualNode: deployed as a virtual node.
    name str
    Component name.
    status AddonStatusArgs
    Component status.
    version str
    Component version.
    clusterId String
    Cluster ID where the component is located.
    config String
    Component configuration.
    deployMode String
    Component deployment mode. Values: Unmanaged: deployed in unmanaged mode. Managed: deployed in managed mode.
    deployNodeType String
    Type of deployment node. This parameter needs to be specified only when DeployModes=Unmanaged. Values: Node: deployed as a node. VirtualNode: deployed as a virtual node.
    name String
    Component name.
    status Property Map
    Component status.
    version String
    Component version.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Addon resource produces the following output properties:

    CreatedTime string
    Component installation time. Standard RFC3339 format, UTC+0 time.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedTime string
    Component update time. Standard RFC3339 format, UTC+0 time.
    CreatedTime string
    Component installation time. Standard RFC3339 format, UTC+0 time.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedTime string
    Component update time. Standard RFC3339 format, UTC+0 time.
    createdTime String
    Component installation time. Standard RFC3339 format, UTC+0 time.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedTime String
    Component update time. Standard RFC3339 format, UTC+0 time.
    createdTime string
    Component installation time. Standard RFC3339 format, UTC+0 time.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedTime string
    Component update time. Standard RFC3339 format, UTC+0 time.
    created_time str
    Component installation time. Standard RFC3339 format, UTC+0 time.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_time str
    Component update time. Standard RFC3339 format, UTC+0 time.
    createdTime String
    Component installation time. Standard RFC3339 format, UTC+0 time.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedTime String
    Component update time. Standard RFC3339 format, UTC+0 time.

    Look up Existing Addon Resource

    Get an existing Addon resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AddonState, opts?: CustomResourceOptions): Addon
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            config: Optional[str] = None,
            created_time: Optional[str] = None,
            deploy_mode: Optional[str] = None,
            deploy_node_type: Optional[str] = None,
            name: Optional[str] = None,
            status: Optional[AddonStatusArgs] = None,
            updated_time: Optional[str] = None,
            version: Optional[str] = None) -> Addon
    func GetAddon(ctx *Context, name string, id IDInput, state *AddonState, opts ...ResourceOption) (*Addon, error)
    public static Addon Get(string name, Input<string> id, AddonState? state, CustomResourceOptions? opts = null)
    public static Addon get(String name, Output<String> id, AddonState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:vke:Addon    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClusterId string
    Cluster ID where the component is located.
    Config string
    Component configuration.
    CreatedTime string
    Component installation time. Standard RFC3339 format, UTC+0 time.
    DeployMode string
    Component deployment mode. Values: Unmanaged: deployed in unmanaged mode. Managed: deployed in managed mode.
    DeployNodeType string
    Type of deployment node. This parameter needs to be specified only when DeployModes=Unmanaged. Values: Node: deployed as a node. VirtualNode: deployed as a virtual node.
    Name string
    Component name.
    Status Volcengine.AddonStatus
    Component status.
    UpdatedTime string
    Component update time. Standard RFC3339 format, UTC+0 time.
    Version string
    Component version.
    ClusterId string
    Cluster ID where the component is located.
    Config string
    Component configuration.
    CreatedTime string
    Component installation time. Standard RFC3339 format, UTC+0 time.
    DeployMode string
    Component deployment mode. Values: Unmanaged: deployed in unmanaged mode. Managed: deployed in managed mode.
    DeployNodeType string
    Type of deployment node. This parameter needs to be specified only when DeployModes=Unmanaged. Values: Node: deployed as a node. VirtualNode: deployed as a virtual node.
    Name string
    Component name.
    Status AddonStatusArgs
    Component status.
    UpdatedTime string
    Component update time. Standard RFC3339 format, UTC+0 time.
    Version string
    Component version.
    clusterId String
    Cluster ID where the component is located.
    config String
    Component configuration.
    createdTime String
    Component installation time. Standard RFC3339 format, UTC+0 time.
    deployMode String
    Component deployment mode. Values: Unmanaged: deployed in unmanaged mode. Managed: deployed in managed mode.
    deployNodeType String
    Type of deployment node. This parameter needs to be specified only when DeployModes=Unmanaged. Values: Node: deployed as a node. VirtualNode: deployed as a virtual node.
    name String
    Component name.
    status AddonStatus
    Component status.
    updatedTime String
    Component update time. Standard RFC3339 format, UTC+0 time.
    version String
    Component version.
    clusterId string
    Cluster ID where the component is located.
    config string
    Component configuration.
    createdTime string
    Component installation time. Standard RFC3339 format, UTC+0 time.
    deployMode string
    Component deployment mode. Values: Unmanaged: deployed in unmanaged mode. Managed: deployed in managed mode.
    deployNodeType string
    Type of deployment node. This parameter needs to be specified only when DeployModes=Unmanaged. Values: Node: deployed as a node. VirtualNode: deployed as a virtual node.
    name string
    Component name.
    status AddonStatus
    Component status.
    updatedTime string
    Component update time. Standard RFC3339 format, UTC+0 time.
    version string
    Component version.
    cluster_id str
    Cluster ID where the component is located.
    config str
    Component configuration.
    created_time str
    Component installation time. Standard RFC3339 format, UTC+0 time.
    deploy_mode str
    Component deployment mode. Values: Unmanaged: deployed in unmanaged mode. Managed: deployed in managed mode.
    deploy_node_type str
    Type of deployment node. This parameter needs to be specified only when DeployModes=Unmanaged. Values: Node: deployed as a node. VirtualNode: deployed as a virtual node.
    name str
    Component name.
    status AddonStatusArgs
    Component status.
    updated_time str
    Component update time. Standard RFC3339 format, UTC+0 time.
    version str
    Component version.
    clusterId String
    Cluster ID where the component is located.
    config String
    Component configuration.
    createdTime String
    Component installation time. Standard RFC3339 format, UTC+0 time.
    deployMode String
    Component deployment mode. Values: Unmanaged: deployed in unmanaged mode. Managed: deployed in managed mode.
    deployNodeType String
    Type of deployment node. This parameter needs to be specified only when DeployModes=Unmanaged. Values: Node: deployed as a node. VirtualNode: deployed as a virtual node.
    name String
    Component name.
    status Property Map
    Component status.
    updatedTime String
    Component update time. Standard RFC3339 format, UTC+0 time.
    version String
    Component version.

    Supporting Types

    AddonStatus, AddonStatusArgs

    Conditions List<Volcengine.AddonStatusCondition>
    Phase string
    Component status. Parameter values include: Running, Failed, Creating, Deleting, Updating
    Conditions []AddonStatusCondition
    Phase string
    Component status. Parameter values include: Running, Failed, Creating, Deleting, Updating
    conditions List<AddonStatusCondition>
    phase String
    Component status. Parameter values include: Running, Failed, Creating, Deleting, Updating
    conditions AddonStatusCondition[]
    phase string
    Component status. Parameter values include: Running, Failed, Creating, Deleting, Updating
    conditions Sequence[AddonStatusCondition]
    phase str
    Component status. Parameter values include: Running, Failed, Creating, Deleting, Updating
    conditions List<Property Map>
    phase String
    Component status. Parameter values include: Running, Failed, Creating, Deleting, Updating

    Import

    $ pulumi import volcenginecc:vke/addon:Addon example "cluster_id|name"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.