1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. cs
  5. ManagedKubernetes
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.cs.ManagedKubernetes

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    This resource will help you to manage a ManagedKubernetes Cluster in Alibaba Cloud Kubernetes Service.

    NOTE: Available since v1.26.0.

    NOTE: It is recommended to create a cluster with zero worker nodes, and then use a node pool to manage the cluster nodes.

    NOTE: Kubernetes cluster only supports VPC network and it can access internet while creating kubernetes cluster. A Nat Gateway and configuring a SNAT for it can ensure one VPC network access internet. If there is no nat gateway in the VPC, you can set new_nat_gateway to “true” to create one automatically.

    NOTE: Creating kubernetes cluster need to install several packages and it will cost about 15 minutes. Please be patient.

    NOTE: From version 1.9.4, the provider supports to download kube config, client certificate, client key and cluster ca certificate after creating cluster successfully, and you can put them into the specified location, like ‘~/.kube/config’.

    NOTE: From version 1.20.0, the provider supports disabling internet load balancer for API Server by setting false to slb_internet_enabled.

    NOTE: If you want to manage Kubernetes, you can use Kubernetes Provider.

    NOTE: You need to activate several other products and confirm Authorization Policy used by Container Service before using this resource. Please refer to the Authorization management and Cluster management sections in the Document Center.

    NOTE: From version 1.72.0, Some parameters have been removed from resource,You can check them below and re-import the cluster if necessary.

    NOTE: From version 1.120.0, Support for cluster migration from Standard cluster to professional.

    NOTE: From version 1.177.0+, runtime,enable_ssh,rds_instances,exclude_autoscaler_nodes,worker_number,worker_instance_types,password,key_name,kms_encrypted_password,kms_encryption_context,worker_instance_charge_type,worker_period,worker_period_unit,worker_auto_renew,worker_auto_renew_period,worker_disk_category,worker_disk_size,worker_data_disks,node_name_mode,node_port_range,os_type,platform,image_id,cpu_policy,user_data,taints,worker_disk_performance_level,worker_disk_snapshot_policy_id,install_cloud_monitor are deprecated. We Suggest you using resource alicloud.cs.NodePool to manage your cluster worker nodes.

    NOTE: From version 1.212.0, runtime,enable_ssh,rds_instances,exclude_autoscaler_nodes,worker_number,worker_instance_types,password,key_name,kms_encrypted_password,kms_encryption_context,worker_instance_charge_type,worker_period,worker_period_unit,worker_auto_renew,worker_auto_renew_period,worker_disk_category,worker_disk_size,worker_data_disks,node_name_mode,node_port_range,os_type,platform,image_id,cpu_policy,user_data,taints,worker_disk_performance_level,worker_disk_snapshot_policy_id,install_cloud_monitor,kube_config,availability_zone are removed. Please use resource alicloud.cs.NodePool to manage your cluster worker nodes.

    Create ManagedKubernetes Resource

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

    Constructor syntax

    new ManagedKubernetes(name: string, args: ManagedKubernetesArgs, opts?: CustomResourceOptions);
    @overload
    def ManagedKubernetes(resource_name: str,
                          args: ManagedKubernetesArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagedKubernetes(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          worker_vswitch_ids: Optional[Sequence[str]] = None,
                          name: Optional[str] = None,
                          cluster_ca_cert: Optional[str] = None,
                          client_key: Optional[str] = None,
                          addons: Optional[Sequence[ManagedKubernetesAddonArgs]] = None,
                          cluster_domain: Optional[str] = None,
                          name_prefix: Optional[str] = None,
                          control_plane_log_components: Optional[Sequence[str]] = None,
                          control_plane_log_project: Optional[str] = None,
                          control_plane_log_ttl: Optional[str] = None,
                          custom_san: Optional[str] = None,
                          delete_options: Optional[Sequence[ManagedKubernetesDeleteOptionArgs]] = None,
                          deletion_protection: Optional[bool] = None,
                          enable_rrsa: Optional[bool] = None,
                          encryption_provider_key: Optional[str] = None,
                          is_enterprise_security_group: Optional[bool] = None,
                          load_balancer_spec: Optional[str] = None,
                          version: Optional[str] = None,
                          client_cert: Optional[str] = None,
                          cluster_spec: Optional[str] = None,
                          new_nat_gateway: Optional[bool] = None,
                          node_cidr_mask: Optional[int] = None,
                          pod_cidr: Optional[str] = None,
                          pod_vswitch_ids: Optional[Sequence[str]] = None,
                          proxy_mode: Optional[str] = None,
                          resource_group_id: Optional[str] = None,
                          retain_resources: Optional[Sequence[str]] = None,
                          security_group_id: Optional[str] = None,
                          service_account_issuer: Optional[str] = None,
                          service_cidr: Optional[str] = None,
                          slb_internet_enabled: Optional[bool] = None,
                          tags: Optional[Mapping[str, Any]] = None,
                          timezone: Optional[str] = None,
                          user_ca: Optional[str] = None,
                          maintenance_window: Optional[ManagedKubernetesMaintenanceWindowArgs] = None,
                          api_audiences: Optional[Sequence[str]] = None)
    func NewManagedKubernetes(ctx *Context, name string, args ManagedKubernetesArgs, opts ...ResourceOption) (*ManagedKubernetes, error)
    public ManagedKubernetes(string name, ManagedKubernetesArgs args, CustomResourceOptions? opts = null)
    public ManagedKubernetes(String name, ManagedKubernetesArgs args)
    public ManagedKubernetes(String name, ManagedKubernetesArgs args, CustomResourceOptions options)
    
    type: alicloud:cs:ManagedKubernetes
    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 ManagedKubernetesArgs
    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 ManagedKubernetesArgs
    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 ManagedKubernetesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagedKubernetesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagedKubernetesArgs
    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 managedKubernetesResource = new AliCloud.CS.ManagedKubernetes("managedKubernetesResource", new()
    {
        WorkerVswitchIds = new[]
        {
            "string",
        },
        Name = "string",
        ClusterCaCert = "string",
        ClientKey = "string",
        Addons = new[]
        {
            new AliCloud.CS.Inputs.ManagedKubernetesAddonArgs
            {
                Config = "string",
                Disabled = false,
                Name = "string",
                Version = "string",
            },
        },
        ClusterDomain = "string",
        NamePrefix = "string",
        ControlPlaneLogComponents = new[]
        {
            "string",
        },
        ControlPlaneLogProject = "string",
        ControlPlaneLogTtl = "string",
        CustomSan = "string",
        DeleteOptions = new[]
        {
            new AliCloud.CS.Inputs.ManagedKubernetesDeleteOptionArgs
            {
                DeleteMode = "string",
                ResourceType = "string",
            },
        },
        DeletionProtection = false,
        EnableRrsa = false,
        EncryptionProviderKey = "string",
        IsEnterpriseSecurityGroup = false,
        LoadBalancerSpec = "string",
        Version = "string",
        ClientCert = "string",
        ClusterSpec = "string",
        NewNatGateway = false,
        NodeCidrMask = 0,
        PodCidr = "string",
        PodVswitchIds = new[]
        {
            "string",
        },
        ProxyMode = "string",
        ResourceGroupId = "string",
        RetainResources = new[]
        {
            "string",
        },
        SecurityGroupId = "string",
        ServiceAccountIssuer = "string",
        ServiceCidr = "string",
        SlbInternetEnabled = false,
        Tags = 
        {
            { "string", "any" },
        },
        Timezone = "string",
        UserCa = "string",
        MaintenanceWindow = new AliCloud.CS.Inputs.ManagedKubernetesMaintenanceWindowArgs
        {
            Duration = "string",
            Enable = false,
            MaintenanceTime = "string",
            WeeklyPeriod = "string",
        },
        ApiAudiences = new[]
        {
            "string",
        },
    });
    
    example, err := cs.NewManagedKubernetes(ctx, "managedKubernetesResource", &cs.ManagedKubernetesArgs{
    	WorkerVswitchIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:          pulumi.String("string"),
    	ClusterCaCert: pulumi.String("string"),
    	ClientKey:     pulumi.String("string"),
    	Addons: cs.ManagedKubernetesAddonArray{
    		&cs.ManagedKubernetesAddonArgs{
    			Config:   pulumi.String("string"),
    			Disabled: pulumi.Bool(false),
    			Name:     pulumi.String("string"),
    			Version:  pulumi.String("string"),
    		},
    	},
    	ClusterDomain: pulumi.String("string"),
    	NamePrefix:    pulumi.String("string"),
    	ControlPlaneLogComponents: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ControlPlaneLogProject: pulumi.String("string"),
    	ControlPlaneLogTtl:     pulumi.String("string"),
    	CustomSan:              pulumi.String("string"),
    	DeleteOptions: cs.ManagedKubernetesDeleteOptionArray{
    		&cs.ManagedKubernetesDeleteOptionArgs{
    			DeleteMode:   pulumi.String("string"),
    			ResourceType: pulumi.String("string"),
    		},
    	},
    	DeletionProtection:        pulumi.Bool(false),
    	EnableRrsa:                pulumi.Bool(false),
    	EncryptionProviderKey:     pulumi.String("string"),
    	IsEnterpriseSecurityGroup: pulumi.Bool(false),
    	LoadBalancerSpec:          pulumi.String("string"),
    	Version:                   pulumi.String("string"),
    	ClientCert:                pulumi.String("string"),
    	ClusterSpec:               pulumi.String("string"),
    	NewNatGateway:             pulumi.Bool(false),
    	NodeCidrMask:              pulumi.Int(0),
    	PodCidr:                   pulumi.String("string"),
    	PodVswitchIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ProxyMode:       pulumi.String("string"),
    	ResourceGroupId: pulumi.String("string"),
    	RetainResources: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SecurityGroupId:      pulumi.String("string"),
    	ServiceAccountIssuer: pulumi.String("string"),
    	ServiceCidr:          pulumi.String("string"),
    	SlbInternetEnabled:   pulumi.Bool(false),
    	Tags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Timezone: pulumi.String("string"),
    	UserCa:   pulumi.String("string"),
    	MaintenanceWindow: &cs.ManagedKubernetesMaintenanceWindowArgs{
    		Duration:        pulumi.String("string"),
    		Enable:          pulumi.Bool(false),
    		MaintenanceTime: pulumi.String("string"),
    		WeeklyPeriod:    pulumi.String("string"),
    	},
    	ApiAudiences: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var managedKubernetesResource = new ManagedKubernetes("managedKubernetesResource", ManagedKubernetesArgs.builder()
        .workerVswitchIds("string")
        .name("string")
        .clusterCaCert("string")
        .clientKey("string")
        .addons(ManagedKubernetesAddonArgs.builder()
            .config("string")
            .disabled(false)
            .name("string")
            .version("string")
            .build())
        .clusterDomain("string")
        .namePrefix("string")
        .controlPlaneLogComponents("string")
        .controlPlaneLogProject("string")
        .controlPlaneLogTtl("string")
        .customSan("string")
        .deleteOptions(ManagedKubernetesDeleteOptionArgs.builder()
            .deleteMode("string")
            .resourceType("string")
            .build())
        .deletionProtection(false)
        .enableRrsa(false)
        .encryptionProviderKey("string")
        .isEnterpriseSecurityGroup(false)
        .loadBalancerSpec("string")
        .version("string")
        .clientCert("string")
        .clusterSpec("string")
        .newNatGateway(false)
        .nodeCidrMask(0)
        .podCidr("string")
        .podVswitchIds("string")
        .proxyMode("string")
        .resourceGroupId("string")
        .retainResources("string")
        .securityGroupId("string")
        .serviceAccountIssuer("string")
        .serviceCidr("string")
        .slbInternetEnabled(false)
        .tags(Map.of("string", "any"))
        .timezone("string")
        .userCa("string")
        .maintenanceWindow(ManagedKubernetesMaintenanceWindowArgs.builder()
            .duration("string")
            .enable(false)
            .maintenanceTime("string")
            .weeklyPeriod("string")
            .build())
        .apiAudiences("string")
        .build());
    
    managed_kubernetes_resource = alicloud.cs.ManagedKubernetes("managedKubernetesResource",
        worker_vswitch_ids=["string"],
        name="string",
        cluster_ca_cert="string",
        client_key="string",
        addons=[alicloud.cs.ManagedKubernetesAddonArgs(
            config="string",
            disabled=False,
            name="string",
            version="string",
        )],
        cluster_domain="string",
        name_prefix="string",
        control_plane_log_components=["string"],
        control_plane_log_project="string",
        control_plane_log_ttl="string",
        custom_san="string",
        delete_options=[alicloud.cs.ManagedKubernetesDeleteOptionArgs(
            delete_mode="string",
            resource_type="string",
        )],
        deletion_protection=False,
        enable_rrsa=False,
        encryption_provider_key="string",
        is_enterprise_security_group=False,
        load_balancer_spec="string",
        version="string",
        client_cert="string",
        cluster_spec="string",
        new_nat_gateway=False,
        node_cidr_mask=0,
        pod_cidr="string",
        pod_vswitch_ids=["string"],
        proxy_mode="string",
        resource_group_id="string",
        retain_resources=["string"],
        security_group_id="string",
        service_account_issuer="string",
        service_cidr="string",
        slb_internet_enabled=False,
        tags={
            "string": "any",
        },
        timezone="string",
        user_ca="string",
        maintenance_window=alicloud.cs.ManagedKubernetesMaintenanceWindowArgs(
            duration="string",
            enable=False,
            maintenance_time="string",
            weekly_period="string",
        ),
        api_audiences=["string"])
    
    const managedKubernetesResource = new alicloud.cs.ManagedKubernetes("managedKubernetesResource", {
        workerVswitchIds: ["string"],
        name: "string",
        clusterCaCert: "string",
        clientKey: "string",
        addons: [{
            config: "string",
            disabled: false,
            name: "string",
            version: "string",
        }],
        clusterDomain: "string",
        namePrefix: "string",
        controlPlaneLogComponents: ["string"],
        controlPlaneLogProject: "string",
        controlPlaneLogTtl: "string",
        customSan: "string",
        deleteOptions: [{
            deleteMode: "string",
            resourceType: "string",
        }],
        deletionProtection: false,
        enableRrsa: false,
        encryptionProviderKey: "string",
        isEnterpriseSecurityGroup: false,
        loadBalancerSpec: "string",
        version: "string",
        clientCert: "string",
        clusterSpec: "string",
        newNatGateway: false,
        nodeCidrMask: 0,
        podCidr: "string",
        podVswitchIds: ["string"],
        proxyMode: "string",
        resourceGroupId: "string",
        retainResources: ["string"],
        securityGroupId: "string",
        serviceAccountIssuer: "string",
        serviceCidr: "string",
        slbInternetEnabled: false,
        tags: {
            string: "any",
        },
        timezone: "string",
        userCa: "string",
        maintenanceWindow: {
            duration: "string",
            enable: false,
            maintenanceTime: "string",
            weeklyPeriod: "string",
        },
        apiAudiences: ["string"],
    });
    
    type: alicloud:cs:ManagedKubernetes
    properties:
        addons:
            - config: string
              disabled: false
              name: string
              version: string
        apiAudiences:
            - string
        clientCert: string
        clientKey: string
        clusterCaCert: string
        clusterDomain: string
        clusterSpec: string
        controlPlaneLogComponents:
            - string
        controlPlaneLogProject: string
        controlPlaneLogTtl: string
        customSan: string
        deleteOptions:
            - deleteMode: string
              resourceType: string
        deletionProtection: false
        enableRrsa: false
        encryptionProviderKey: string
        isEnterpriseSecurityGroup: false
        loadBalancerSpec: string
        maintenanceWindow:
            duration: string
            enable: false
            maintenanceTime: string
            weeklyPeriod: string
        name: string
        namePrefix: string
        newNatGateway: false
        nodeCidrMask: 0
        podCidr: string
        podVswitchIds:
            - string
        proxyMode: string
        resourceGroupId: string
        retainResources:
            - string
        securityGroupId: string
        serviceAccountIssuer: string
        serviceCidr: string
        slbInternetEnabled: false
        tags:
            string: any
        timezone: string
        userCa: string
        version: string
        workerVswitchIds:
            - string
    

    ManagedKubernetes Resource Properties

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

    Inputs

    The ManagedKubernetes resource accepts the following input properties:

    WorkerVswitchIds List<string>
    Addons List<Pulumi.AliCloud.CS.Inputs.ManagedKubernetesAddon>
    ApiAudiences List<string>
    ClientCert string
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    ClientKey string
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    ClusterCaCert string
    ClusterDomain string
    cluster local domain
    ClusterSpec string
    ControlPlaneLogComponents List<string>
    ControlPlaneLogProject string
    ControlPlaneLogTtl string
    CustomSan string
    DeleteOptions List<Pulumi.AliCloud.CS.Inputs.ManagedKubernetesDeleteOption>
    DeletionProtection bool
    EnableRrsa bool
    EncryptionProviderKey string
    disk encryption key, only in ack-pro
    IsEnterpriseSecurityGroup bool
    LoadBalancerSpec string
    MaintenanceWindow Pulumi.AliCloud.CS.Inputs.ManagedKubernetesMaintenanceWindow
    Name string
    Node name.
    NamePrefix string
    NewNatGateway bool
    NodeCidrMask int
    PodCidr string
    PodVswitchIds List<string>
    ProxyMode string
    ResourceGroupId string
    RetainResources List<string>
    SecurityGroupId string
    ServiceAccountIssuer string
    ServiceCidr string
    SlbInternetEnabled bool
    Tags Dictionary<string, object>
    Timezone string
    UserCa string
    Version string
    WorkerVswitchIds []string
    Addons []ManagedKubernetesAddonArgs
    ApiAudiences []string
    ClientCert string
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    ClientKey string
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    ClusterCaCert string
    ClusterDomain string
    cluster local domain
    ClusterSpec string
    ControlPlaneLogComponents []string
    ControlPlaneLogProject string
    ControlPlaneLogTtl string
    CustomSan string
    DeleteOptions []ManagedKubernetesDeleteOptionArgs
    DeletionProtection bool
    EnableRrsa bool
    EncryptionProviderKey string
    disk encryption key, only in ack-pro
    IsEnterpriseSecurityGroup bool
    LoadBalancerSpec string
    MaintenanceWindow ManagedKubernetesMaintenanceWindowArgs
    Name string
    Node name.
    NamePrefix string
    NewNatGateway bool
    NodeCidrMask int
    PodCidr string
    PodVswitchIds []string
    ProxyMode string
    ResourceGroupId string
    RetainResources []string
    SecurityGroupId string
    ServiceAccountIssuer string
    ServiceCidr string
    SlbInternetEnabled bool
    Tags map[string]interface{}
    Timezone string
    UserCa string
    Version string
    workerVswitchIds List<String>
    addons List<ManagedKubernetesAddon>
    apiAudiences List<String>
    clientCert String
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    clientKey String
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    clusterCaCert String
    clusterDomain String
    cluster local domain
    clusterSpec String
    controlPlaneLogComponents List<String>
    controlPlaneLogProject String
    controlPlaneLogTtl String
    customSan String
    deleteOptions List<ManagedKubernetesDeleteOption>
    deletionProtection Boolean
    enableRrsa Boolean
    encryptionProviderKey String
    disk encryption key, only in ack-pro
    isEnterpriseSecurityGroup Boolean
    loadBalancerSpec String
    maintenanceWindow ManagedKubernetesMaintenanceWindow
    name String
    Node name.
    namePrefix String
    newNatGateway Boolean
    nodeCidrMask Integer
    podCidr String
    podVswitchIds List<String>
    proxyMode String
    resourceGroupId String
    retainResources List<String>
    securityGroupId String
    serviceAccountIssuer String
    serviceCidr String
    slbInternetEnabled Boolean
    tags Map<String,Object>
    timezone String
    userCa String
    version String
    workerVswitchIds string[]
    addons ManagedKubernetesAddon[]
    apiAudiences string[]
    clientCert string
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    clientKey string
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    clusterCaCert string
    clusterDomain string
    cluster local domain
    clusterSpec string
    controlPlaneLogComponents string[]
    controlPlaneLogProject string
    controlPlaneLogTtl string
    customSan string
    deleteOptions ManagedKubernetesDeleteOption[]
    deletionProtection boolean
    enableRrsa boolean
    encryptionProviderKey string
    disk encryption key, only in ack-pro
    isEnterpriseSecurityGroup boolean
    loadBalancerSpec string
    maintenanceWindow ManagedKubernetesMaintenanceWindow
    name string
    Node name.
    namePrefix string
    newNatGateway boolean
    nodeCidrMask number
    podCidr string
    podVswitchIds string[]
    proxyMode string
    resourceGroupId string
    retainResources string[]
    securityGroupId string
    serviceAccountIssuer string
    serviceCidr string
    slbInternetEnabled boolean
    tags {[key: string]: any}
    timezone string
    userCa string
    version string
    worker_vswitch_ids Sequence[str]
    addons Sequence[ManagedKubernetesAddonArgs]
    api_audiences Sequence[str]
    client_cert str
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    client_key str
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    cluster_ca_cert str
    cluster_domain str
    cluster local domain
    cluster_spec str
    control_plane_log_components Sequence[str]
    control_plane_log_project str
    control_plane_log_ttl str
    custom_san str
    delete_options Sequence[ManagedKubernetesDeleteOptionArgs]
    deletion_protection bool
    enable_rrsa bool
    encryption_provider_key str
    disk encryption key, only in ack-pro
    is_enterprise_security_group bool
    load_balancer_spec str
    maintenance_window ManagedKubernetesMaintenanceWindowArgs
    name str
    Node name.
    name_prefix str
    new_nat_gateway bool
    node_cidr_mask int
    pod_cidr str
    pod_vswitch_ids Sequence[str]
    proxy_mode str
    resource_group_id str
    retain_resources Sequence[str]
    security_group_id str
    service_account_issuer str
    service_cidr str
    slb_internet_enabled bool
    tags Mapping[str, Any]
    timezone str
    user_ca str
    version str
    workerVswitchIds List<String>
    addons List<Property Map>
    apiAudiences List<String>
    clientCert String
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    clientKey String
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    clusterCaCert String
    clusterDomain String
    cluster local domain
    clusterSpec String
    controlPlaneLogComponents List<String>
    controlPlaneLogProject String
    controlPlaneLogTtl String
    customSan String
    deleteOptions List<Property Map>
    deletionProtection Boolean
    enableRrsa Boolean
    encryptionProviderKey String
    disk encryption key, only in ack-pro
    isEnterpriseSecurityGroup Boolean
    loadBalancerSpec String
    maintenanceWindow Property Map
    name String
    Node name.
    namePrefix String
    newNatGateway Boolean
    nodeCidrMask Number
    podCidr String
    podVswitchIds List<String>
    proxyMode String
    resourceGroupId String
    retainResources List<String>
    securityGroupId String
    serviceAccountIssuer String
    serviceCidr String
    slbInternetEnabled Boolean
    tags Map<Any>
    timezone String
    userCa String
    version String

    Outputs

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

    CertificateAuthority Pulumi.AliCloud.CS.Outputs.ManagedKubernetesCertificateAuthority
    (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
    Connections Pulumi.AliCloud.CS.Outputs.ManagedKubernetesConnections
    Map of kubernetes cluster connection information.
    Id string
    The provider-assigned unique ID for this managed resource.
    NatGatewayId string
    The ID of nat gateway used to launch kubernetes cluster.
    RrsaMetadata Pulumi.AliCloud.CS.Outputs.ManagedKubernetesRrsaMetadata
    (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
    SlbId string
    The ID of APIServer load balancer.
    SlbInternet string
    The public ip of load balancer.
    SlbIntranet string
    The ID of private load balancer where the current cluster master node is located.
    VpcId string
    The ID of VPC where the current cluster is located.
    WorkerRamRoleName string
    The RamRole Name attached to worker node.
    CertificateAuthority ManagedKubernetesCertificateAuthority
    (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
    Connections ManagedKubernetesConnections
    Map of kubernetes cluster connection information.
    Id string
    The provider-assigned unique ID for this managed resource.
    NatGatewayId string
    The ID of nat gateway used to launch kubernetes cluster.
    RrsaMetadata ManagedKubernetesRrsaMetadata
    (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
    SlbId string
    The ID of APIServer load balancer.
    SlbInternet string
    The public ip of load balancer.
    SlbIntranet string
    The ID of private load balancer where the current cluster master node is located.
    VpcId string
    The ID of VPC where the current cluster is located.
    WorkerRamRoleName string
    The RamRole Name attached to worker node.
    certificateAuthority ManagedKubernetesCertificateAuthority
    (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
    connections ManagedKubernetesConnections
    Map of kubernetes cluster connection information.
    id String
    The provider-assigned unique ID for this managed resource.
    natGatewayId String
    The ID of nat gateway used to launch kubernetes cluster.
    rrsaMetadata ManagedKubernetesRrsaMetadata
    (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
    slbId String
    The ID of APIServer load balancer.
    slbInternet String
    The public ip of load balancer.
    slbIntranet String
    The ID of private load balancer where the current cluster master node is located.
    vpcId String
    The ID of VPC where the current cluster is located.
    workerRamRoleName String
    The RamRole Name attached to worker node.
    certificateAuthority ManagedKubernetesCertificateAuthority
    (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
    connections ManagedKubernetesConnections
    Map of kubernetes cluster connection information.
    id string
    The provider-assigned unique ID for this managed resource.
    natGatewayId string
    The ID of nat gateway used to launch kubernetes cluster.
    rrsaMetadata ManagedKubernetesRrsaMetadata
    (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
    slbId string
    The ID of APIServer load balancer.
    slbInternet string
    The public ip of load balancer.
    slbIntranet string
    The ID of private load balancer where the current cluster master node is located.
    vpcId string
    The ID of VPC where the current cluster is located.
    workerRamRoleName string
    The RamRole Name attached to worker node.
    certificate_authority ManagedKubernetesCertificateAuthority
    (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
    connections ManagedKubernetesConnections
    Map of kubernetes cluster connection information.
    id str
    The provider-assigned unique ID for this managed resource.
    nat_gateway_id str
    The ID of nat gateway used to launch kubernetes cluster.
    rrsa_metadata ManagedKubernetesRrsaMetadata
    (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
    slb_id str
    The ID of APIServer load balancer.
    slb_internet str
    The public ip of load balancer.
    slb_intranet str
    The ID of private load balancer where the current cluster master node is located.
    vpc_id str
    The ID of VPC where the current cluster is located.
    worker_ram_role_name str
    The RamRole Name attached to worker node.
    certificateAuthority Property Map
    (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
    connections Property Map
    Map of kubernetes cluster connection information.
    id String
    The provider-assigned unique ID for this managed resource.
    natGatewayId String
    The ID of nat gateway used to launch kubernetes cluster.
    rrsaMetadata Property Map
    (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
    slbId String
    The ID of APIServer load balancer.
    slbInternet String
    The public ip of load balancer.
    slbIntranet String
    The ID of private load balancer where the current cluster master node is located.
    vpcId String
    The ID of VPC where the current cluster is located.
    workerRamRoleName String
    The RamRole Name attached to worker node.

    Look up Existing ManagedKubernetes Resource

    Get an existing ManagedKubernetes 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?: ManagedKubernetesState, opts?: CustomResourceOptions): ManagedKubernetes
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            addons: Optional[Sequence[ManagedKubernetesAddonArgs]] = None,
            api_audiences: Optional[Sequence[str]] = None,
            certificate_authority: Optional[ManagedKubernetesCertificateAuthorityArgs] = None,
            client_cert: Optional[str] = None,
            client_key: Optional[str] = None,
            cluster_ca_cert: Optional[str] = None,
            cluster_domain: Optional[str] = None,
            cluster_spec: Optional[str] = None,
            connections: Optional[ManagedKubernetesConnectionsArgs] = None,
            control_plane_log_components: Optional[Sequence[str]] = None,
            control_plane_log_project: Optional[str] = None,
            control_plane_log_ttl: Optional[str] = None,
            custom_san: Optional[str] = None,
            delete_options: Optional[Sequence[ManagedKubernetesDeleteOptionArgs]] = None,
            deletion_protection: Optional[bool] = None,
            enable_rrsa: Optional[bool] = None,
            encryption_provider_key: Optional[str] = None,
            is_enterprise_security_group: Optional[bool] = None,
            load_balancer_spec: Optional[str] = None,
            maintenance_window: Optional[ManagedKubernetesMaintenanceWindowArgs] = None,
            name: Optional[str] = None,
            name_prefix: Optional[str] = None,
            nat_gateway_id: Optional[str] = None,
            new_nat_gateway: Optional[bool] = None,
            node_cidr_mask: Optional[int] = None,
            pod_cidr: Optional[str] = None,
            pod_vswitch_ids: Optional[Sequence[str]] = None,
            proxy_mode: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            retain_resources: Optional[Sequence[str]] = None,
            rrsa_metadata: Optional[ManagedKubernetesRrsaMetadataArgs] = None,
            security_group_id: Optional[str] = None,
            service_account_issuer: Optional[str] = None,
            service_cidr: Optional[str] = None,
            slb_id: Optional[str] = None,
            slb_internet: Optional[str] = None,
            slb_internet_enabled: Optional[bool] = None,
            slb_intranet: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = None,
            timezone: Optional[str] = None,
            user_ca: Optional[str] = None,
            version: Optional[str] = None,
            vpc_id: Optional[str] = None,
            worker_ram_role_name: Optional[str] = None,
            worker_vswitch_ids: Optional[Sequence[str]] = None) -> ManagedKubernetes
    func GetManagedKubernetes(ctx *Context, name string, id IDInput, state *ManagedKubernetesState, opts ...ResourceOption) (*ManagedKubernetes, error)
    public static ManagedKubernetes Get(string name, Input<string> id, ManagedKubernetesState? state, CustomResourceOptions? opts = null)
    public static ManagedKubernetes get(String name, Output<String> id, ManagedKubernetesState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Addons List<Pulumi.AliCloud.CS.Inputs.ManagedKubernetesAddon>
    ApiAudiences List<string>
    CertificateAuthority Pulumi.AliCloud.CS.Inputs.ManagedKubernetesCertificateAuthority
    (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
    ClientCert string
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    ClientKey string
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    ClusterCaCert string
    ClusterDomain string
    cluster local domain
    ClusterSpec string
    Connections Pulumi.AliCloud.CS.Inputs.ManagedKubernetesConnections
    Map of kubernetes cluster connection information.
    ControlPlaneLogComponents List<string>
    ControlPlaneLogProject string
    ControlPlaneLogTtl string
    CustomSan string
    DeleteOptions List<Pulumi.AliCloud.CS.Inputs.ManagedKubernetesDeleteOption>
    DeletionProtection bool
    EnableRrsa bool
    EncryptionProviderKey string
    disk encryption key, only in ack-pro
    IsEnterpriseSecurityGroup bool
    LoadBalancerSpec string
    MaintenanceWindow Pulumi.AliCloud.CS.Inputs.ManagedKubernetesMaintenanceWindow
    Name string
    Node name.
    NamePrefix string
    NatGatewayId string
    The ID of nat gateway used to launch kubernetes cluster.
    NewNatGateway bool
    NodeCidrMask int
    PodCidr string
    PodVswitchIds List<string>
    ProxyMode string
    ResourceGroupId string
    RetainResources List<string>
    RrsaMetadata Pulumi.AliCloud.CS.Inputs.ManagedKubernetesRrsaMetadata
    (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
    SecurityGroupId string
    ServiceAccountIssuer string
    ServiceCidr string
    SlbId string
    The ID of APIServer load balancer.
    SlbInternet string
    The public ip of load balancer.
    SlbInternetEnabled bool
    SlbIntranet string
    The ID of private load balancer where the current cluster master node is located.
    Tags Dictionary<string, object>
    Timezone string
    UserCa string
    Version string
    VpcId string
    The ID of VPC where the current cluster is located.
    WorkerRamRoleName string
    The RamRole Name attached to worker node.
    WorkerVswitchIds List<string>
    Addons []ManagedKubernetesAddonArgs
    ApiAudiences []string
    CertificateAuthority ManagedKubernetesCertificateAuthorityArgs
    (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
    ClientCert string
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    ClientKey string
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    ClusterCaCert string
    ClusterDomain string
    cluster local domain
    ClusterSpec string
    Connections ManagedKubernetesConnectionsArgs
    Map of kubernetes cluster connection information.
    ControlPlaneLogComponents []string
    ControlPlaneLogProject string
    ControlPlaneLogTtl string
    CustomSan string
    DeleteOptions []ManagedKubernetesDeleteOptionArgs
    DeletionProtection bool
    EnableRrsa bool
    EncryptionProviderKey string
    disk encryption key, only in ack-pro
    IsEnterpriseSecurityGroup bool
    LoadBalancerSpec string
    MaintenanceWindow ManagedKubernetesMaintenanceWindowArgs
    Name string
    Node name.
    NamePrefix string
    NatGatewayId string
    The ID of nat gateway used to launch kubernetes cluster.
    NewNatGateway bool
    NodeCidrMask int
    PodCidr string
    PodVswitchIds []string
    ProxyMode string
    ResourceGroupId string
    RetainResources []string
    RrsaMetadata ManagedKubernetesRrsaMetadataArgs
    (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
    SecurityGroupId string
    ServiceAccountIssuer string
    ServiceCidr string
    SlbId string
    The ID of APIServer load balancer.
    SlbInternet string
    The public ip of load balancer.
    SlbInternetEnabled bool
    SlbIntranet string
    The ID of private load balancer where the current cluster master node is located.
    Tags map[string]interface{}
    Timezone string
    UserCa string
    Version string
    VpcId string
    The ID of VPC where the current cluster is located.
    WorkerRamRoleName string
    The RamRole Name attached to worker node.
    WorkerVswitchIds []string
    addons List<ManagedKubernetesAddon>
    apiAudiences List<String>
    certificateAuthority ManagedKubernetesCertificateAuthority
    (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
    clientCert String
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    clientKey String
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    clusterCaCert String
    clusterDomain String
    cluster local domain
    clusterSpec String
    connections ManagedKubernetesConnections
    Map of kubernetes cluster connection information.
    controlPlaneLogComponents List<String>
    controlPlaneLogProject String
    controlPlaneLogTtl String
    customSan String
    deleteOptions List<ManagedKubernetesDeleteOption>
    deletionProtection Boolean
    enableRrsa Boolean
    encryptionProviderKey String
    disk encryption key, only in ack-pro
    isEnterpriseSecurityGroup Boolean
    loadBalancerSpec String
    maintenanceWindow ManagedKubernetesMaintenanceWindow
    name String
    Node name.
    namePrefix String
    natGatewayId String
    The ID of nat gateway used to launch kubernetes cluster.
    newNatGateway Boolean
    nodeCidrMask Integer
    podCidr String
    podVswitchIds List<String>
    proxyMode String
    resourceGroupId String
    retainResources List<String>
    rrsaMetadata ManagedKubernetesRrsaMetadata
    (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
    securityGroupId String
    serviceAccountIssuer String
    serviceCidr String
    slbId String
    The ID of APIServer load balancer.
    slbInternet String
    The public ip of load balancer.
    slbInternetEnabled Boolean
    slbIntranet String
    The ID of private load balancer where the current cluster master node is located.
    tags Map<String,Object>
    timezone String
    userCa String
    version String
    vpcId String
    The ID of VPC where the current cluster is located.
    workerRamRoleName String
    The RamRole Name attached to worker node.
    workerVswitchIds List<String>
    addons ManagedKubernetesAddon[]
    apiAudiences string[]
    certificateAuthority ManagedKubernetesCertificateAuthority
    (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
    clientCert string
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    clientKey string
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    clusterCaCert string
    clusterDomain string
    cluster local domain
    clusterSpec string
    connections ManagedKubernetesConnections
    Map of kubernetes cluster connection information.
    controlPlaneLogComponents string[]
    controlPlaneLogProject string
    controlPlaneLogTtl string
    customSan string
    deleteOptions ManagedKubernetesDeleteOption[]
    deletionProtection boolean
    enableRrsa boolean
    encryptionProviderKey string
    disk encryption key, only in ack-pro
    isEnterpriseSecurityGroup boolean
    loadBalancerSpec string
    maintenanceWindow ManagedKubernetesMaintenanceWindow
    name string
    Node name.
    namePrefix string
    natGatewayId string
    The ID of nat gateway used to launch kubernetes cluster.
    newNatGateway boolean
    nodeCidrMask number
    podCidr string
    podVswitchIds string[]
    proxyMode string
    resourceGroupId string
    retainResources string[]
    rrsaMetadata ManagedKubernetesRrsaMetadata
    (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
    securityGroupId string
    serviceAccountIssuer string
    serviceCidr string
    slbId string
    The ID of APIServer load balancer.
    slbInternet string
    The public ip of load balancer.
    slbInternetEnabled boolean
    slbIntranet string
    The ID of private load balancer where the current cluster master node is located.
    tags {[key: string]: any}
    timezone string
    userCa string
    version string
    vpcId string
    The ID of VPC where the current cluster is located.
    workerRamRoleName string
    The RamRole Name attached to worker node.
    workerVswitchIds string[]
    addons Sequence[ManagedKubernetesAddonArgs]
    api_audiences Sequence[str]
    certificate_authority ManagedKubernetesCertificateAuthorityArgs
    (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
    client_cert str
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    client_key str
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    cluster_ca_cert str
    cluster_domain str
    cluster local domain
    cluster_spec str
    connections ManagedKubernetesConnectionsArgs
    Map of kubernetes cluster connection information.
    control_plane_log_components Sequence[str]
    control_plane_log_project str
    control_plane_log_ttl str
    custom_san str
    delete_options Sequence[ManagedKubernetesDeleteOptionArgs]
    deletion_protection bool
    enable_rrsa bool
    encryption_provider_key str
    disk encryption key, only in ack-pro
    is_enterprise_security_group bool
    load_balancer_spec str
    maintenance_window ManagedKubernetesMaintenanceWindowArgs
    name str
    Node name.
    name_prefix str
    nat_gateway_id str
    The ID of nat gateway used to launch kubernetes cluster.
    new_nat_gateway bool
    node_cidr_mask int
    pod_cidr str
    pod_vswitch_ids Sequence[str]
    proxy_mode str
    resource_group_id str
    retain_resources Sequence[str]
    rrsa_metadata ManagedKubernetesRrsaMetadataArgs
    (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
    security_group_id str
    service_account_issuer str
    service_cidr str
    slb_id str
    The ID of APIServer load balancer.
    slb_internet str
    The public ip of load balancer.
    slb_internet_enabled bool
    slb_intranet str
    The ID of private load balancer where the current cluster master node is located.
    tags Mapping[str, Any]
    timezone str
    user_ca str
    version str
    vpc_id str
    The ID of VPC where the current cluster is located.
    worker_ram_role_name str
    The RamRole Name attached to worker node.
    worker_vswitch_ids Sequence[str]
    addons List<Property Map>
    apiAudiences List<String>
    certificateAuthority Property Map
    (Available in 1.105.0+) Nested attribute containing certificate authority data for your cluster.
    clientCert String
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    clientKey String
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    clusterCaCert String
    clusterDomain String
    cluster local domain
    clusterSpec String
    connections Property Map
    Map of kubernetes cluster connection information.
    controlPlaneLogComponents List<String>
    controlPlaneLogProject String
    controlPlaneLogTtl String
    customSan String
    deleteOptions List<Property Map>
    deletionProtection Boolean
    enableRrsa Boolean
    encryptionProviderKey String
    disk encryption key, only in ack-pro
    isEnterpriseSecurityGroup Boolean
    loadBalancerSpec String
    maintenanceWindow Property Map
    name String
    Node name.
    namePrefix String
    natGatewayId String
    The ID of nat gateway used to launch kubernetes cluster.
    newNatGateway Boolean
    nodeCidrMask Number
    podCidr String
    podVswitchIds List<String>
    proxyMode String
    resourceGroupId String
    retainResources List<String>
    rrsaMetadata Property Map
    (Optional, Available in v1.185.0+) Nested attribute containing RRSA related data for your cluster.
    securityGroupId String
    serviceAccountIssuer String
    serviceCidr String
    slbId String
    The ID of APIServer load balancer.
    slbInternet String
    The public ip of load balancer.
    slbInternetEnabled Boolean
    slbIntranet String
    The ID of private load balancer where the current cluster master node is located.
    tags Map<Any>
    timezone String
    userCa String
    version String
    vpcId String
    The ID of VPC where the current cluster is located.
    workerRamRoleName String
    The RamRole Name attached to worker node.
    workerVswitchIds List<String>

    Supporting Types

    ManagedKubernetesAddon, ManagedKubernetesAddonArgs

    Config string
    If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
    Disabled bool

    It specifies whether to disable automatic installation.

    It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.

    You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.

    logtail-ds - You can specify IngressDashboardEnabled and sls_project_name in config. If you switch on IngressDashboardEnabled and sls_project_name,then logtail-ds would use sls_project_name as default log store.

    nginx-ingress-controller - You can specific IngressSlbNetworkType in config. Options: internet|intranet.

    The main.tf:

    Name string
    This parameter specifies the name of the component.
    Version string
    It specifies the version of the component.
    Config string
    If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
    Disabled bool

    It specifies whether to disable automatic installation.

    It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.

    You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.

    logtail-ds - You can specify IngressDashboardEnabled and sls_project_name in config. If you switch on IngressDashboardEnabled and sls_project_name,then logtail-ds would use sls_project_name as default log store.

    nginx-ingress-controller - You can specific IngressSlbNetworkType in config. Options: internet|intranet.

    The main.tf:

    Name string
    This parameter specifies the name of the component.
    Version string
    It specifies the version of the component.
    config String
    If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
    disabled Boolean

    It specifies whether to disable automatic installation.

    It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.

    You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.

    logtail-ds - You can specify IngressDashboardEnabled and sls_project_name in config. If you switch on IngressDashboardEnabled and sls_project_name,then logtail-ds would use sls_project_name as default log store.

    nginx-ingress-controller - You can specific IngressSlbNetworkType in config. Options: internet|intranet.

    The main.tf:

    name String
    This parameter specifies the name of the component.
    version String
    It specifies the version of the component.
    config string
    If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
    disabled boolean

    It specifies whether to disable automatic installation.

    It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.

    You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.

    logtail-ds - You can specify IngressDashboardEnabled and sls_project_name in config. If you switch on IngressDashboardEnabled and sls_project_name,then logtail-ds would use sls_project_name as default log store.

    nginx-ingress-controller - You can specific IngressSlbNetworkType in config. Options: internet|intranet.

    The main.tf:

    name string
    This parameter specifies the name of the component.
    version string
    It specifies the version of the component.
    config str
    If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
    disabled bool

    It specifies whether to disable automatic installation.

    It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.

    You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.

    logtail-ds - You can specify IngressDashboardEnabled and sls_project_name in config. If you switch on IngressDashboardEnabled and sls_project_name,then logtail-ds would use sls_project_name as default log store.

    nginx-ingress-controller - You can specific IngressSlbNetworkType in config. Options: internet|intranet.

    The main.tf:

    name str
    This parameter specifies the name of the component.
    version str
    It specifies the version of the component.
    config String
    If this parameter is left empty, no configurations are required. For more config information, see cs_kubernetes_addon_metadata.
    disabled Boolean

    It specifies whether to disable automatic installation.

    It is a new field since 1.75.0. You can specific network plugin, log component,ingress component and so on.

    You can get more information about addons on ACK web console. When you create a ACK cluster. You can get openapi-spec before creating the cluster on submission page.

    logtail-ds - You can specify IngressDashboardEnabled and sls_project_name in config. If you switch on IngressDashboardEnabled and sls_project_name,then logtail-ds would use sls_project_name as default log store.

    nginx-ingress-controller - You can specific IngressSlbNetworkType in config. Options: internet|intranet.

    The main.tf:

    name String
    This parameter specifies the name of the component.
    version String
    It specifies the version of the component.

    ManagedKubernetesCertificateAuthority, ManagedKubernetesCertificateAuthorityArgs

    ClientCert string
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    ClientKey string
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    ClusterCert string
    The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
    ClientCert string
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    ClientKey string
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    ClusterCert string
    The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
    clientCert String
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    clientKey String
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    clusterCert String
    The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
    clientCert string
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    clientKey string
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    clusterCert string
    The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
    client_cert str
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    client_key str
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    cluster_cert str
    The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.
    clientCert String
    The base64 encoded client certificate data required to communicate with your cluster. Add this to the client-certificate-data section of the kubeconfig file for your cluster.
    clientKey String
    The base64 encoded client key data required to communicate with your cluster. Add this to the client-key-data section of the kubeconfig file for your cluster.
    clusterCert String
    The base64 encoded cluster certificate data required to communicate with your cluster. Add this to the certificate-authority-data section of the kubeconfig file for your cluster.

    ManagedKubernetesConnections, ManagedKubernetesConnectionsArgs

    ApiServerInternet string
    API Server Internet endpoint.
    ApiServerIntranet string
    API Server Intranet endpoint.
    MasterPublicIp string
    Master node SSH IP address.
    ServiceDomain string
    Service Access Domain.
    ApiServerInternet string
    API Server Internet endpoint.
    ApiServerIntranet string
    API Server Intranet endpoint.
    MasterPublicIp string
    Master node SSH IP address.
    ServiceDomain string
    Service Access Domain.
    apiServerInternet String
    API Server Internet endpoint.
    apiServerIntranet String
    API Server Intranet endpoint.
    masterPublicIp String
    Master node SSH IP address.
    serviceDomain String
    Service Access Domain.
    apiServerInternet string
    API Server Internet endpoint.
    apiServerIntranet string
    API Server Intranet endpoint.
    masterPublicIp string
    Master node SSH IP address.
    serviceDomain string
    Service Access Domain.
    api_server_internet str
    API Server Internet endpoint.
    api_server_intranet str
    API Server Intranet endpoint.
    master_public_ip str
    Master node SSH IP address.
    service_domain str
    Service Access Domain.
    apiServerInternet String
    API Server Internet endpoint.
    apiServerIntranet String
    API Server Intranet endpoint.
    masterPublicIp String
    Master node SSH IP address.
    serviceDomain String
    Service Access Domain.

    ManagedKubernetesDeleteOption, ManagedKubernetesDeleteOptionArgs

    DeleteMode string
    The deletion mode of the cluster. Different resources may have different default behavior, see resource_type for details. Valid values:
    ResourceType string
    The type of resources that are created by cluster. Valid values:

    • SLB: SLB resources created through the service, default behavior is to delete, option to retain is available.
    • ALB: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
    • SLS_Data: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
    • SLS_ControlPlane: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
    ...
    // Specify delete_options as below when deleting cluster
    // delete SLB resources created by the cluster
    delete_options {
    delete_mode = "delete"
    resource_type = "SLB"
    }
    // delete ALB resources created by the ALB Ingress Controller
    delete_options {
    delete_mode = "delete"
    resource_type = "ALB"
    }
    // delete SLS Project used by the cluster logging feature
    delete_options {
    delete_mode = "delete"
    resource_type = "SLS_Data"
    }
    // delete SLS Project used for the managed cluster control plane logs
    delete_options {
    delete_mode = "delete"
    resource_type = "SLS_ControlPlane"
    }
    
    DeleteMode string
    The deletion mode of the cluster. Different resources may have different default behavior, see resource_type for details. Valid values:
    ResourceType string
    The type of resources that are created by cluster. Valid values:

    • SLB: SLB resources created through the service, default behavior is to delete, option to retain is available.
    • ALB: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
    • SLS_Data: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
    • SLS_ControlPlane: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
    ...
    // Specify delete_options as below when deleting cluster
    // delete SLB resources created by the cluster
    delete_options {
    delete_mode = "delete"
    resource_type = "SLB"
    }
    // delete ALB resources created by the ALB Ingress Controller
    delete_options {
    delete_mode = "delete"
    resource_type = "ALB"
    }
    // delete SLS Project used by the cluster logging feature
    delete_options {
    delete_mode = "delete"
    resource_type = "SLS_Data"
    }
    // delete SLS Project used for the managed cluster control plane logs
    delete_options {
    delete_mode = "delete"
    resource_type = "SLS_ControlPlane"
    }
    
    deleteMode String
    The deletion mode of the cluster. Different resources may have different default behavior, see resource_type for details. Valid values:
    resourceType String
    The type of resources that are created by cluster. Valid values:

    • SLB: SLB resources created through the service, default behavior is to delete, option to retain is available.
    • ALB: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
    • SLS_Data: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
    • SLS_ControlPlane: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
    ...
    // Specify delete_options as below when deleting cluster
    // delete SLB resources created by the cluster
    delete_options {
    delete_mode = "delete"
    resource_type = "SLB"
    }
    // delete ALB resources created by the ALB Ingress Controller
    delete_options {
    delete_mode = "delete"
    resource_type = "ALB"
    }
    // delete SLS Project used by the cluster logging feature
    delete_options {
    delete_mode = "delete"
    resource_type = "SLS_Data"
    }
    // delete SLS Project used for the managed cluster control plane logs
    delete_options {
    delete_mode = "delete"
    resource_type = "SLS_ControlPlane"
    }
    
    deleteMode string
    The deletion mode of the cluster. Different resources may have different default behavior, see resource_type for details. Valid values:
    resourceType string
    The type of resources that are created by cluster. Valid values:

    • SLB: SLB resources created through the service, default behavior is to delete, option to retain is available.
    • ALB: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
    • SLS_Data: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
    • SLS_ControlPlane: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
    ...
    // Specify delete_options as below when deleting cluster
    // delete SLB resources created by the cluster
    delete_options {
    delete_mode = "delete"
    resource_type = "SLB"
    }
    // delete ALB resources created by the ALB Ingress Controller
    delete_options {
    delete_mode = "delete"
    resource_type = "ALB"
    }
    // delete SLS Project used by the cluster logging feature
    delete_options {
    delete_mode = "delete"
    resource_type = "SLS_Data"
    }
    // delete SLS Project used for the managed cluster control plane logs
    delete_options {
    delete_mode = "delete"
    resource_type = "SLS_ControlPlane"
    }
    
    delete_mode str
    The deletion mode of the cluster. Different resources may have different default behavior, see resource_type for details. Valid values:
    resource_type str
    The type of resources that are created by cluster. Valid values:

    • SLB: SLB resources created through the service, default behavior is to delete, option to retain is available.
    • ALB: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
    • SLS_Data: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
    • SLS_ControlPlane: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
    ...
    // Specify delete_options as below when deleting cluster
    // delete SLB resources created by the cluster
    delete_options {
    delete_mode = "delete"
    resource_type = "SLB"
    }
    // delete ALB resources created by the ALB Ingress Controller
    delete_options {
    delete_mode = "delete"
    resource_type = "ALB"
    }
    // delete SLS Project used by the cluster logging feature
    delete_options {
    delete_mode = "delete"
    resource_type = "SLS_Data"
    }
    // delete SLS Project used for the managed cluster control plane logs
    delete_options {
    delete_mode = "delete"
    resource_type = "SLS_ControlPlane"
    }
    
    deleteMode String
    The deletion mode of the cluster. Different resources may have different default behavior, see resource_type for details. Valid values:
    resourceType String
    The type of resources that are created by cluster. Valid values:

    • SLB: SLB resources created through the service, default behavior is to delete, option to retain is available.
    • ALB: ALB resources created by the ALB Ingress Controller, default behavior is to retain, option to delete is available.
    • SLS_Data: SLS Project used by the cluster logging feature, default behavior is to retain, option to delete is available.
    • SLS_ControlPlane: SLS Project used for the managed cluster control plane logs, default behavior is to retain, option to delete is available.
    ...
    // Specify delete_options as below when deleting cluster
    // delete SLB resources created by the cluster
    delete_options {
    delete_mode = "delete"
    resource_type = "SLB"
    }
    // delete ALB resources created by the ALB Ingress Controller
    delete_options {
    delete_mode = "delete"
    resource_type = "ALB"
    }
    // delete SLS Project used by the cluster logging feature
    delete_options {
    delete_mode = "delete"
    resource_type = "SLS_Data"
    }
    // delete SLS Project used for the managed cluster control plane logs
    delete_options {
    delete_mode = "delete"
    resource_type = "SLS_ControlPlane"
    }
    

    ManagedKubernetesMaintenanceWindow, ManagedKubernetesMaintenanceWindowArgs

    Duration string
    The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
    Enable bool
    Whether to open the maintenance window. The following parameters take effect only enable = true.
    MaintenanceTime string
    Initial maintenance time, For example:"03:00:00Z".
    WeeklyPeriod string

    Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.

    for example:

    maintenance_window {
    enable            = true
    maintenance_time  = "01:00:00Z"
    duration          = "3h"
    weekly_period     = "Monday,Friday"
    }
    
    Duration string
    The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
    Enable bool
    Whether to open the maintenance window. The following parameters take effect only enable = true.
    MaintenanceTime string
    Initial maintenance time, For example:"03:00:00Z".
    WeeklyPeriod string

    Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.

    for example:

    maintenance_window {
    enable            = true
    maintenance_time  = "01:00:00Z"
    duration          = "3h"
    weekly_period     = "Monday,Friday"
    }
    
    duration String
    The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
    enable Boolean
    Whether to open the maintenance window. The following parameters take effect only enable = true.
    maintenanceTime String
    Initial maintenance time, For example:"03:00:00Z".
    weeklyPeriod String

    Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.

    for example:

    maintenance_window {
    enable            = true
    maintenance_time  = "01:00:00Z"
    duration          = "3h"
    weekly_period     = "Monday,Friday"
    }
    
    duration string
    The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
    enable boolean
    Whether to open the maintenance window. The following parameters take effect only enable = true.
    maintenanceTime string
    Initial maintenance time, For example:"03:00:00Z".
    weeklyPeriod string

    Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.

    for example:

    maintenance_window {
    enable            = true
    maintenance_time  = "01:00:00Z"
    duration          = "3h"
    weekly_period     = "Monday,Friday"
    }
    
    duration str
    The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
    enable bool
    Whether to open the maintenance window. The following parameters take effect only enable = true.
    maintenance_time str
    Initial maintenance time, For example:"03:00:00Z".
    weekly_period str

    Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.

    for example:

    maintenance_window {
    enable            = true
    maintenance_time  = "01:00:00Z"
    duration          = "3h"
    weekly_period     = "Monday,Friday"
    }
    
    duration String
    The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".
    enable Boolean
    Whether to open the maintenance window. The following parameters take effect only enable = true.
    maintenanceTime String
    Initial maintenance time, For example:"03:00:00Z".
    weeklyPeriod String

    Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday.

    for example:

    maintenance_window {
    enable            = true
    maintenance_time  = "01:00:00Z"
    duration          = "3h"
    weekly_period     = "Monday,Friday"
    }
    

    ManagedKubernetesRrsaMetadata, ManagedKubernetesRrsaMetadataArgs

    Enabled bool
    Whether the RRSA feature has been enabled.
    RamOidcProviderArn string
    The arn of OIDC provider that was registered in RAM.
    RamOidcProviderName string
    The name of OIDC Provider that was registered in RAM.
    RrsaOidcIssuerUrl string
    The issuer URL of RRSA OIDC Token.
    Enabled bool
    Whether the RRSA feature has been enabled.
    RamOidcProviderArn string
    The arn of OIDC provider that was registered in RAM.
    RamOidcProviderName string
    The name of OIDC Provider that was registered in RAM.
    RrsaOidcIssuerUrl string
    The issuer URL of RRSA OIDC Token.
    enabled Boolean
    Whether the RRSA feature has been enabled.
    ramOidcProviderArn String
    The arn of OIDC provider that was registered in RAM.
    ramOidcProviderName String
    The name of OIDC Provider that was registered in RAM.
    rrsaOidcIssuerUrl String
    The issuer URL of RRSA OIDC Token.
    enabled boolean
    Whether the RRSA feature has been enabled.
    ramOidcProviderArn string
    The arn of OIDC provider that was registered in RAM.
    ramOidcProviderName string
    The name of OIDC Provider that was registered in RAM.
    rrsaOidcIssuerUrl string
    The issuer URL of RRSA OIDC Token.
    enabled bool
    Whether the RRSA feature has been enabled.
    ram_oidc_provider_arn str
    The arn of OIDC provider that was registered in RAM.
    ram_oidc_provider_name str
    The name of OIDC Provider that was registered in RAM.
    rrsa_oidc_issuer_url str
    The issuer URL of RRSA OIDC Token.
    enabled Boolean
    Whether the RRSA feature has been enabled.
    ramOidcProviderArn String
    The arn of OIDC provider that was registered in RAM.
    ramOidcProviderName String
    The name of OIDC Provider that was registered in RAM.
    rrsaOidcIssuerUrl String
    The issuer URL of RRSA OIDC Token.

    Import

    Kubernetes managed cluster can be imported using the id, e.g. Then complete the main.tf accords to the result of pulumi preview.

    $ pulumi import alicloud:cs/managedKubernetes:ManagedKubernetes main cluster_id
    

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

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi