Viewing docs for Alibaba Cloud v3.97.0
published on Saturday, Mar 14, 2026 by Pulumi
published on Saturday, Mar 14, 2026 by Pulumi
Viewing docs for Alibaba Cloud v3.97.0
published on Saturday, Mar 14, 2026 by Pulumi
published on Saturday, Mar 14, 2026 by Pulumi
This data source provides a list Container Service Kubernetes Clusters on Alibaba Cloud.
NOTE: Available since v1.34.0.
NOTE: From version 1.177.0+, We supported batch export of clusters’ kube config information by
kube_config_file_prefix.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
// Declare the data source
const k8sClusters = alicloud.cs.getKubernetesClusters({
nameRegex: "my-first-k8s",
outputFile: "my-first-k8s-json",
kubeConfigFilePrefix: "~/.kube/k8s",
});
export const output = k8sClusters.then(k8sClusters => k8sClusters.clusters);
import pulumi
import pulumi_alicloud as alicloud
# Declare the data source
k8s_clusters = alicloud.cs.get_kubernetes_clusters(name_regex="my-first-k8s",
output_file="my-first-k8s-json",
kube_config_file_prefix="~/.kube/k8s")
pulumi.export("output", k8s_clusters.clusters)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Declare the data source
k8sClusters, err := cs.GetKubernetesClusters(ctx, &cs.GetKubernetesClustersArgs{
NameRegex: pulumi.StringRef("my-first-k8s"),
OutputFile: pulumi.StringRef("my-first-k8s-json"),
KubeConfigFilePrefix: pulumi.StringRef("~/.kube/k8s"),
}, nil)
if err != nil {
return err
}
ctx.Export("output", k8sClusters.Clusters)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
// Declare the data source
var k8sClusters = AliCloud.CS.GetKubernetesClusters.Invoke(new()
{
NameRegex = "my-first-k8s",
OutputFile = "my-first-k8s-json",
KubeConfigFilePrefix = "~/.kube/k8s",
});
return new Dictionary<string, object?>
{
["output"] = k8sClusters.Apply(getKubernetesClustersResult => getKubernetesClustersResult.Clusters),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cs.CsFunctions;
import com.pulumi.alicloud.cs.inputs.GetKubernetesClustersArgs;
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) {
// Declare the data source
final var k8sClusters = CsFunctions.getKubernetesClusters(GetKubernetesClustersArgs.builder()
.nameRegex("my-first-k8s")
.outputFile("my-first-k8s-json")
.kubeConfigFilePrefix("~/.kube/k8s")
.build());
ctx.export("output", k8sClusters.clusters());
}
}
variables:
# Declare the data source
k8sClusters:
fn::invoke:
function: alicloud:cs:getKubernetesClusters
arguments:
nameRegex: my-first-k8s
outputFile: my-first-k8s-json
kubeConfigFilePrefix: ~/.kube/k8s
outputs:
output: ${k8sClusters.clusters}
Using getKubernetesClusters
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKubernetesClusters(args: GetKubernetesClustersArgs, opts?: InvokeOptions): Promise<GetKubernetesClustersResult>
function getKubernetesClustersOutput(args: GetKubernetesClustersOutputArgs, opts?: InvokeOptions): Output<GetKubernetesClustersResult>def get_kubernetes_clusters(enable_details: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
kube_config_file_prefix: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKubernetesClustersResult
def get_kubernetes_clusters_output(enable_details: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
kube_config_file_prefix: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesClustersResult]func GetKubernetesClusters(ctx *Context, args *GetKubernetesClustersArgs, opts ...InvokeOption) (*GetKubernetesClustersResult, error)
func GetKubernetesClustersOutput(ctx *Context, args *GetKubernetesClustersOutputArgs, opts ...InvokeOption) GetKubernetesClustersResultOutput> Note: This function is named GetKubernetesClusters in the Go SDK.
public static class GetKubernetesClusters
{
public static Task<GetKubernetesClustersResult> InvokeAsync(GetKubernetesClustersArgs args, InvokeOptions? opts = null)
public static Output<GetKubernetesClustersResult> Invoke(GetKubernetesClustersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKubernetesClustersResult> getKubernetesClusters(GetKubernetesClustersArgs args, InvokeOptions options)
public static Output<GetKubernetesClustersResult> getKubernetesClusters(GetKubernetesClustersArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:cs/getKubernetesClusters:getKubernetesClusters
arguments:
# arguments dictionaryThe following arguments are supported:
- Enable
Details bool - Boolean, false by default, only
idandnameare exported. Set to true if more details are needed, e.g.,master_disk_category,slb_internet_enabled,connections. See full list in attributes. - Ids List<string>
- Cluster IDs to filter.
- Kube
Config stringFile Prefix - The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like
~/.kube/k8s, then it will be named with~/.kube/k8s-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSourcealicloud.cs.getClusterCredentialto replace it. - Name
Regex string - A regex string to filter results by cluster name.
- Output
File string - File name where to save data source results (after running
pulumi preview).
- Enable
Details bool - Boolean, false by default, only
idandnameare exported. Set to true if more details are needed, e.g.,master_disk_category,slb_internet_enabled,connections. See full list in attributes. - Ids []string
- Cluster IDs to filter.
- Kube
Config stringFile Prefix - The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like
~/.kube/k8s, then it will be named with~/.kube/k8s-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSourcealicloud.cs.getClusterCredentialto replace it. - Name
Regex string - A regex string to filter results by cluster name.
- Output
File string - File name where to save data source results (after running
pulumi preview).
- enable
Details Boolean - Boolean, false by default, only
idandnameare exported. Set to true if more details are needed, e.g.,master_disk_category,slb_internet_enabled,connections. See full list in attributes. - ids List<String>
- Cluster IDs to filter.
- kube
Config StringFile Prefix - The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like
~/.kube/k8s, then it will be named with~/.kube/k8s-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSourcealicloud.cs.getClusterCredentialto replace it. - name
Regex String - A regex string to filter results by cluster name.
- output
File String - File name where to save data source results (after running
pulumi preview).
- enable
Details boolean - Boolean, false by default, only
idandnameare exported. Set to true if more details are needed, e.g.,master_disk_category,slb_internet_enabled,connections. See full list in attributes. - ids string[]
- Cluster IDs to filter.
- kube
Config stringFile Prefix - The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like
~/.kube/k8s, then it will be named with~/.kube/k8s-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSourcealicloud.cs.getClusterCredentialto replace it. - name
Regex string - A regex string to filter results by cluster name.
- output
File string - File name where to save data source results (after running
pulumi preview).
- enable_
details bool - Boolean, false by default, only
idandnameare exported. Set to true if more details are needed, e.g.,master_disk_category,slb_internet_enabled,connections. See full list in attributes. - ids Sequence[str]
- Cluster IDs to filter.
- kube_
config_ strfile_ prefix - The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like
~/.kube/k8s, then it will be named with~/.kube/k8s-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSourcealicloud.cs.getClusterCredentialto replace it. - name_
regex str - A regex string to filter results by cluster name.
- output_
file str - File name where to save data source results (after running
pulumi preview).
- enable
Details Boolean - Boolean, false by default, only
idandnameare exported. Set to true if more details are needed, e.g.,master_disk_category,slb_internet_enabled,connections. See full list in attributes. - ids List<String>
- Cluster IDs to filter.
- kube
Config StringFile Prefix - The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like
~/.kube/k8s, then it will be named with~/.kube/k8s-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSourcealicloud.cs.getClusterCredentialto replace it. - name
Regex String - A regex string to filter results by cluster name.
- output
File String - File name where to save data source results (after running
pulumi preview).
getKubernetesClusters Result
The following output properties are available:
- Clusters
List<Pulumi.
Ali Cloud. CS. Outputs. Get Kubernetes Clusters Cluster> - A list of matched Kubernetes clusters. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of matched Kubernetes clusters' ids.
- Names List<string>
- A list of matched Kubernetes clusters' names.
- Enable
Details bool - Kube
Config stringFile Prefix - Name
Regex string - Output
File string
- Clusters
[]Get
Kubernetes Clusters Cluster - A list of matched Kubernetes clusters. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of matched Kubernetes clusters' ids.
- Names []string
- A list of matched Kubernetes clusters' names.
- Enable
Details bool - Kube
Config stringFile Prefix - Name
Regex string - Output
File string
- clusters
List<Get
Kubernetes Clusters Cluster> - A list of matched Kubernetes clusters. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of matched Kubernetes clusters' ids.
- names List<String>
- A list of matched Kubernetes clusters' names.
- enable
Details Boolean - kube
Config StringFile Prefix - name
Regex String - output
File String
- clusters
Get
Kubernetes Clusters Cluster[] - A list of matched Kubernetes clusters. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of matched Kubernetes clusters' ids.
- names string[]
- A list of matched Kubernetes clusters' names.
- enable
Details boolean - kube
Config stringFile Prefix - name
Regex string - output
File string
- clusters
Sequence[Get
Kubernetes Clusters Cluster] - A list of matched Kubernetes clusters. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of matched Kubernetes clusters' ids.
- names Sequence[str]
- A list of matched Kubernetes clusters' names.
- enable_
details bool - kube_
config_ strfile_ prefix - name_
regex str - output_
file str
- clusters List<Property Map>
- A list of matched Kubernetes clusters. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of matched Kubernetes clusters' ids.
- names List<String>
- A list of matched Kubernetes clusters' names.
- enable
Details Boolean - kube
Config StringFile Prefix - name
Regex String - output
File String
Supporting Types
GetKubernetesClustersCluster
- Availability
Zone string - The ID of availability zone.
- Cluster
Network stringType - The cluster network type.
- Connections
Pulumi.
Ali Cloud. CS. Inputs. Get Kubernetes Clusters Cluster Connections - Map of kubernetes cluster connection information.
- Id string
- ID of the node.
- Image
Id string - The ID of node image.
- Key
Name string - The keypair of ssh login cluster node, you have to create it first.
- Log
Configs List<Pulumi.Ali Cloud. CS. Inputs. Get Kubernetes Clusters Cluster Log Config> - A list of one element containing information about the associated log store. It contains the following attributes:
- Master
Auto boolRenew - Whether to enable master payment auto-renew
- Master
Auto intRenew Period - Master payment auto-renew period.
- Master
Disk stringCategory - The system disk category of master node.
- Master
Disk intSize - The system disk size of master node.
- Master
Instance stringCharge Type - Master payment type.
- Master
Instance List<string>Types - The instance type of master node.
- Master
Nodes List<Pulumi.Ali Cloud. CS. Inputs. Get Kubernetes Clusters Cluster Master Node> - List of cluster master nodes. It contains several attributes to
Block Nodes. - Master
Period int - Master payment period.
- Master
Period stringUnit - Master payment period unit.
- Name string
- Node name.
- Nat
Gateway stringId - The ID of nat gateway used to launch kubernetes cluster.
- Node
Cidr intMask - The network mask used on pods for each node.
- Pod
Cidr string - The CIDR block for the pod network.
- Security
Group stringId - The ID of security group where the current cluster worker node is located.
- Service
Cidr string - The CIDR block for the service network.
- Slb
Internet boolEnabled - Whether internet load balancer for API Server is created
- Vpc
Id string - The ID of VPC where the current cluster is located.
- Vswitch
Ids List<string> - The ID of VSwitches where the current cluster is located.
- Worker
Auto boolRenew - Whether to enable worker payment auto-renew.
- Worker
Auto intRenew Period - Worker payment auto-renew period
- Worker
Data stringDisk Category - The data disk size of worker node.
- Worker
Data intDisk Size - The data disk category of worker node.
- Worker
Disk stringCategory - The system disk category of worker node.
- Worker
Disk intSize - The system disk size of worker node.
- Worker
Instance stringCharge Type - Worker payment type
- Worker
Instance List<string>Types - The instance type of worker node.
- Worker
Nodes List<Pulumi.Ali Cloud. CS. Inputs. Get Kubernetes Clusters Cluster Worker Node> - List of cluster worker nodes. It contains several attributes to
Block Nodes. - Worker
Numbers List<int> - The ECS instance node number in the current container cluster.
- Worker
Period int - Worker payment period.
- Worker
Period stringUnit - Worker payment period unit.
- Availability
Zone string - The ID of availability zone.
- Cluster
Network stringType - The cluster network type.
- Connections
Get
Kubernetes Clusters Cluster Connections - Map of kubernetes cluster connection information.
- Id string
- ID of the node.
- Image
Id string - The ID of node image.
- Key
Name string - The keypair of ssh login cluster node, you have to create it first.
- Log
Configs []GetKubernetes Clusters Cluster Log Config - A list of one element containing information about the associated log store. It contains the following attributes:
- Master
Auto boolRenew - Whether to enable master payment auto-renew
- Master
Auto intRenew Period - Master payment auto-renew period.
- Master
Disk stringCategory - The system disk category of master node.
- Master
Disk intSize - The system disk size of master node.
- Master
Instance stringCharge Type - Master payment type.
- Master
Instance []stringTypes - The instance type of master node.
- Master
Nodes []GetKubernetes Clusters Cluster Master Node - List of cluster master nodes. It contains several attributes to
Block Nodes. - Master
Period int - Master payment period.
- Master
Period stringUnit - Master payment period unit.
- Name string
- Node name.
- Nat
Gateway stringId - The ID of nat gateway used to launch kubernetes cluster.
- Node
Cidr intMask - The network mask used on pods for each node.
- Pod
Cidr string - The CIDR block for the pod network.
- Security
Group stringId - The ID of security group where the current cluster worker node is located.
- Service
Cidr string - The CIDR block for the service network.
- Slb
Internet boolEnabled - Whether internet load balancer for API Server is created
- Vpc
Id string - The ID of VPC where the current cluster is located.
- Vswitch
Ids []string - The ID of VSwitches where the current cluster is located.
- Worker
Auto boolRenew - Whether to enable worker payment auto-renew.
- Worker
Auto intRenew Period - Worker payment auto-renew period
- Worker
Data stringDisk Category - The data disk size of worker node.
- Worker
Data intDisk Size - The data disk category of worker node.
- Worker
Disk stringCategory - The system disk category of worker node.
- Worker
Disk intSize - The system disk size of worker node.
- Worker
Instance stringCharge Type - Worker payment type
- Worker
Instance []stringTypes - The instance type of worker node.
- Worker
Nodes []GetKubernetes Clusters Cluster Worker Node - List of cluster worker nodes. It contains several attributes to
Block Nodes. - Worker
Numbers []int - The ECS instance node number in the current container cluster.
- Worker
Period int - Worker payment period.
- Worker
Period stringUnit - Worker payment period unit.
- availability
Zone String - The ID of availability zone.
- cluster
Network StringType - The cluster network type.
- connections
Get
Kubernetes Clusters Cluster Connections - Map of kubernetes cluster connection information.
- id String
- ID of the node.
- image
Id String - The ID of node image.
- key
Name String - The keypair of ssh login cluster node, you have to create it first.
- log
Configs List<GetKubernetes Clusters Cluster Log Config> - A list of one element containing information about the associated log store. It contains the following attributes:
- master
Auto BooleanRenew - Whether to enable master payment auto-renew
- master
Auto IntegerRenew Period - Master payment auto-renew period.
- master
Disk StringCategory - The system disk category of master node.
- master
Disk IntegerSize - The system disk size of master node.
- master
Instance StringCharge Type - Master payment type.
- master
Instance List<String>Types - The instance type of master node.
- master
Nodes List<GetKubernetes Clusters Cluster Master Node> - List of cluster master nodes. It contains several attributes to
Block Nodes. - master
Period Integer - Master payment period.
- master
Period StringUnit - Master payment period unit.
- name String
- Node name.
- nat
Gateway StringId - The ID of nat gateway used to launch kubernetes cluster.
- node
Cidr IntegerMask - The network mask used on pods for each node.
- pod
Cidr String - The CIDR block for the pod network.
- security
Group StringId - The ID of security group where the current cluster worker node is located.
- service
Cidr String - The CIDR block for the service network.
- slb
Internet BooleanEnabled - Whether internet load balancer for API Server is created
- vpc
Id String - The ID of VPC where the current cluster is located.
- vswitch
Ids List<String> - The ID of VSwitches where the current cluster is located.
- worker
Auto BooleanRenew - Whether to enable worker payment auto-renew.
- worker
Auto IntegerRenew Period - Worker payment auto-renew period
- worker
Data StringDisk Category - The data disk size of worker node.
- worker
Data IntegerDisk Size - The data disk category of worker node.
- worker
Disk StringCategory - The system disk category of worker node.
- worker
Disk IntegerSize - The system disk size of worker node.
- worker
Instance StringCharge Type - Worker payment type
- worker
Instance List<String>Types - The instance type of worker node.
- worker
Nodes List<GetKubernetes Clusters Cluster Worker Node> - List of cluster worker nodes. It contains several attributes to
Block Nodes. - worker
Numbers List<Integer> - The ECS instance node number in the current container cluster.
- worker
Period Integer - Worker payment period.
- worker
Period StringUnit - Worker payment period unit.
- availability
Zone string - The ID of availability zone.
- cluster
Network stringType - The cluster network type.
- connections
Get
Kubernetes Clusters Cluster Connections - Map of kubernetes cluster connection information.
- id string
- ID of the node.
- image
Id string - The ID of node image.
- key
Name string - The keypair of ssh login cluster node, you have to create it first.
- log
Configs GetKubernetes Clusters Cluster Log Config[] - A list of one element containing information about the associated log store. It contains the following attributes:
- master
Auto booleanRenew - Whether to enable master payment auto-renew
- master
Auto numberRenew Period - Master payment auto-renew period.
- master
Disk stringCategory - The system disk category of master node.
- master
Disk numberSize - The system disk size of master node.
- master
Instance stringCharge Type - Master payment type.
- master
Instance string[]Types - The instance type of master node.
- master
Nodes GetKubernetes Clusters Cluster Master Node[] - List of cluster master nodes. It contains several attributes to
Block Nodes. - master
Period number - Master payment period.
- master
Period stringUnit - Master payment period unit.
- name string
- Node name.
- nat
Gateway stringId - The ID of nat gateway used to launch kubernetes cluster.
- node
Cidr numberMask - The network mask used on pods for each node.
- pod
Cidr string - The CIDR block for the pod network.
- security
Group stringId - The ID of security group where the current cluster worker node is located.
- service
Cidr string - The CIDR block for the service network.
- slb
Internet booleanEnabled - Whether internet load balancer for API Server is created
- vpc
Id string - The ID of VPC where the current cluster is located.
- vswitch
Ids string[] - The ID of VSwitches where the current cluster is located.
- worker
Auto booleanRenew - Whether to enable worker payment auto-renew.
- worker
Auto numberRenew Period - Worker payment auto-renew period
- worker
Data stringDisk Category - The data disk size of worker node.
- worker
Data numberDisk Size - The data disk category of worker node.
- worker
Disk stringCategory - The system disk category of worker node.
- worker
Disk numberSize - The system disk size of worker node.
- worker
Instance stringCharge Type - Worker payment type
- worker
Instance string[]Types - The instance type of worker node.
- worker
Nodes GetKubernetes Clusters Cluster Worker Node[] - List of cluster worker nodes. It contains several attributes to
Block Nodes. - worker
Numbers number[] - The ECS instance node number in the current container cluster.
- worker
Period number - Worker payment period.
- worker
Period stringUnit - Worker payment period unit.
- availability_
zone str - The ID of availability zone.
- cluster_
network_ strtype - The cluster network type.
- connections
Get
Kubernetes Clusters Cluster Connections - Map of kubernetes cluster connection information.
- id str
- ID of the node.
- image_
id str - The ID of node image.
- key_
name str - The keypair of ssh login cluster node, you have to create it first.
- log_
configs Sequence[GetKubernetes Clusters Cluster Log Config] - A list of one element containing information about the associated log store. It contains the following attributes:
- master_
auto_ boolrenew - Whether to enable master payment auto-renew
- master_
auto_ intrenew_ period - Master payment auto-renew period.
- master_
disk_ strcategory - The system disk category of master node.
- master_
disk_ intsize - The system disk size of master node.
- master_
instance_ strcharge_ type - Master payment type.
- master_
instance_ Sequence[str]types - The instance type of master node.
- master_
nodes Sequence[GetKubernetes Clusters Cluster Master Node] - List of cluster master nodes. It contains several attributes to
Block Nodes. - master_
period int - Master payment period.
- master_
period_ strunit - Master payment period unit.
- name str
- Node name.
- nat_
gateway_ strid - The ID of nat gateway used to launch kubernetes cluster.
- node_
cidr_ intmask - The network mask used on pods for each node.
- pod_
cidr str - The CIDR block for the pod network.
- security_
group_ strid - The ID of security group where the current cluster worker node is located.
- service_
cidr str - The CIDR block for the service network.
- slb_
internet_ boolenabled - Whether internet load balancer for API Server is created
- vpc_
id str - The ID of VPC where the current cluster is located.
- vswitch_
ids Sequence[str] - The ID of VSwitches where the current cluster is located.
- worker_
auto_ boolrenew - Whether to enable worker payment auto-renew.
- worker_
auto_ intrenew_ period - Worker payment auto-renew period
- worker_
data_ strdisk_ category - The data disk size of worker node.
- worker_
data_ intdisk_ size - The data disk category of worker node.
- worker_
disk_ strcategory - The system disk category of worker node.
- worker_
disk_ intsize - The system disk size of worker node.
- worker_
instance_ strcharge_ type - Worker payment type
- worker_
instance_ Sequence[str]types - The instance type of worker node.
- worker_
nodes Sequence[GetKubernetes Clusters Cluster Worker Node] - List of cluster worker nodes. It contains several attributes to
Block Nodes. - worker_
numbers Sequence[int] - The ECS instance node number in the current container cluster.
- worker_
period int - Worker payment period.
- worker_
period_ strunit - Worker payment period unit.
- availability
Zone String - The ID of availability zone.
- cluster
Network StringType - The cluster network type.
- connections Property Map
- Map of kubernetes cluster connection information.
- id String
- ID of the node.
- image
Id String - The ID of node image.
- key
Name String - The keypair of ssh login cluster node, you have to create it first.
- log
Configs List<Property Map> - A list of one element containing information about the associated log store. It contains the following attributes:
- master
Auto BooleanRenew - Whether to enable master payment auto-renew
- master
Auto NumberRenew Period - Master payment auto-renew period.
- master
Disk StringCategory - The system disk category of master node.
- master
Disk NumberSize - The system disk size of master node.
- master
Instance StringCharge Type - Master payment type.
- master
Instance List<String>Types - The instance type of master node.
- master
Nodes List<Property Map> - List of cluster master nodes. It contains several attributes to
Block Nodes. - master
Period Number - Master payment period.
- master
Period StringUnit - Master payment period unit.
- name String
- Node name.
- nat
Gateway StringId - The ID of nat gateway used to launch kubernetes cluster.
- node
Cidr NumberMask - The network mask used on pods for each node.
- pod
Cidr String - The CIDR block for the pod network.
- security
Group StringId - The ID of security group where the current cluster worker node is located.
- service
Cidr String - The CIDR block for the service network.
- slb
Internet BooleanEnabled - Whether internet load balancer for API Server is created
- vpc
Id String - The ID of VPC where the current cluster is located.
- vswitch
Ids List<String> - The ID of VSwitches where the current cluster is located.
- worker
Auto BooleanRenew - Whether to enable worker payment auto-renew.
- worker
Auto NumberRenew Period - Worker payment auto-renew period
- worker
Data StringDisk Category - The data disk size of worker node.
- worker
Data NumberDisk Size - The data disk category of worker node.
- worker
Disk StringCategory - The system disk category of worker node.
- worker
Disk NumberSize - The system disk size of worker node.
- worker
Instance StringCharge Type - Worker payment type
- worker
Instance List<String>Types - The instance type of worker node.
- worker
Nodes List<Property Map> - List of cluster worker nodes. It contains several attributes to
Block Nodes. - worker
Numbers List<Number> - The ECS instance node number in the current container cluster.
- worker
Period Number - Worker payment period.
- worker
Period StringUnit - Worker payment period unit.
GetKubernetesClustersClusterConnections
- Api
Server stringInternet - API Server Internet endpoint.
- Api
Server stringIntranet - API Server Intranet endpoint.
- Master
Public stringIp - Master node SSH IP address.
- Service
Domain string - Service Access Domain.
- Api
Server stringInternet - API Server Internet endpoint.
- Api
Server stringIntranet - API Server Intranet endpoint.
- Master
Public stringIp - Master node SSH IP address.
- Service
Domain string - Service Access Domain.
- api
Server StringInternet - API Server Internet endpoint.
- api
Server StringIntranet - API Server Intranet endpoint.
- master
Public StringIp - Master node SSH IP address.
- service
Domain String - Service Access Domain.
- api
Server stringInternet - API Server Internet endpoint.
- api
Server stringIntranet - API Server Intranet endpoint.
- master
Public stringIp - Master node SSH IP address.
- service
Domain string - Service Access Domain.
- api_
server_ strinternet - API Server Internet endpoint.
- api_
server_ strintranet - API Server Intranet endpoint.
- master_
public_ strip - Master node SSH IP address.
- service_
domain str - Service Access Domain.
- api
Server StringInternet - API Server Internet endpoint.
- api
Server StringIntranet - API Server Intranet endpoint.
- master
Public StringIp - Master node SSH IP address.
- service
Domain String - Service Access Domain.
GetKubernetesClustersClusterLogConfig
GetKubernetesClustersClusterMasterNode
- id str
- ID of the node.
- name str
- Node name.
- private_
ip str - The private IP address of node.
GetKubernetesClustersClusterWorkerNode
- id str
- ID of the node.
- name str
- Node name.
- private_
ip str - The private IP address of node.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
Viewing docs for Alibaba Cloud v3.97.0
published on Saturday, Mar 14, 2026 by Pulumi
published on Saturday, Mar 14, 2026 by Pulumi
