Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.cs.getKubernetesClusters
Explore with Pulumi AI
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.applyValue(getKubernetesClustersResult -> getKubernetesClustersResult.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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:cs/getKubernetesClusters:getKubernetesClusters
  arguments:
    # arguments dictionaryThe following arguments are supported:
- EnableDetails 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.
- KubeConfig 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.187.0+, kube_config will not export kube_config if this field is not set.
- NameRegex string
- A regex string to filter results by cluster name.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- EnableDetails 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.
- KubeConfig 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.187.0+, kube_config will not export kube_config if this field is not set.
- NameRegex string
- A regex string to filter results by cluster name.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- enableDetails 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.
- kubeConfig 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.187.0+, kube_config will not export kube_config if this field is not set.
- nameRegex String
- A regex string to filter results by cluster name.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- enableDetails 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.
- kubeConfig 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.187.0+, kube_config will not export kube_config if this field is not set.
- nameRegex string
- A regex string to filter results by cluster name.
- outputFile 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.187.0+, kube_config will not export kube_config if this field is not set.
- 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).
- enableDetails 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.
- kubeConfig 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.187.0+, kube_config will not export kube_config if this field is not set.
- nameRegex String
- A regex string to filter results by cluster name.
- outputFile 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.
- EnableDetails bool
- KubeConfig stringFile Prefix 
- NameRegex string
- OutputFile string
- Clusters
[]GetKubernetes 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.
- EnableDetails bool
- KubeConfig stringFile Prefix 
- NameRegex string
- OutputFile string
- clusters
List<GetKubernetes 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.
- enableDetails Boolean
- kubeConfig StringFile Prefix 
- nameRegex String
- outputFile String
- clusters
GetKubernetes 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.
- enableDetails boolean
- kubeConfig stringFile Prefix 
- nameRegex string
- outputFile string
- clusters
Sequence[GetKubernetes 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.
- enableDetails Boolean
- kubeConfig StringFile Prefix 
- nameRegex String
- outputFile String
Supporting Types
GetKubernetesClustersCluster   
- AvailabilityZone string
- The ID of availability zone.
- ClusterNetwork stringType 
- Connections
Pulumi.Ali Cloud. CS. Inputs. Get Kubernetes Clusters Cluster Connections 
- Map of kubernetes cluster connection information. It contains several attributes to Block Connections.
- Id string
- ID of the node.
- ImageId string
- The ID of node image.
- KeyName string
- The keypair of ssh login cluster node, you have to create it first.
- LogConfigs 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:
- MasterAuto boolRenew 
- MasterAuto intRenew Period 
- MasterDisk stringCategory 
- The system disk category of master node.
- MasterDisk intSize 
- The system disk size of master node.
- MasterInstance stringCharge Type 
- MasterInstance List<string>Types 
- The instance type of master node.
- MasterNodes List<Pulumi.Ali Cloud. CS. Inputs. Get Kubernetes Clusters Cluster Master Node> 
- List of cluster master nodes. It contains several attributes to Block Nodes.
- MasterPeriod int
- MasterPeriod stringUnit 
- Name string
- Node name.
- NatGateway stringId 
- The ID of nat gateway used to launch kubernetes cluster.
- NodeCidr intMask 
- The network mask used on pods for each node.
- PodCidr string
- SecurityGroup stringId 
- The ID of security group where the current cluster worker node is located.
- ServiceCidr string
- SlbInternet boolEnabled 
- Whether internet load balancer for API Server is created
- VpcId string
- The ID of VPC where the current cluster is located.
- VswitchIds List<string>
- The ID of VSwitches where the current cluster is located.
- WorkerAuto boolRenew 
- WorkerAuto intRenew Period 
- WorkerData stringDisk Category 
- The data disk size of worker node.
- WorkerData intDisk Size 
- The data disk category of worker node.
- WorkerDisk stringCategory 
- The system disk category of worker node.
- WorkerDisk intSize 
- The system disk size of worker node.
- WorkerInstance stringCharge Type 
- WorkerInstance List<string>Types 
- The instance type of worker node.
- WorkerNodes List<Pulumi.Ali Cloud. CS. Inputs. Get Kubernetes Clusters Cluster Worker Node> 
- List of cluster worker nodes. It contains several attributes to Block Nodes.
- WorkerNumbers List<int>
- The ECS instance node number in the current container cluster.
- WorkerPeriod int
- WorkerPeriod stringUnit 
- AvailabilityZone string
- The ID of availability zone.
- ClusterNetwork stringType 
- Connections
GetKubernetes Clusters Cluster Connections 
- Map of kubernetes cluster connection information. It contains several attributes to Block Connections.
- Id string
- ID of the node.
- ImageId string
- The ID of node image.
- KeyName string
- The keypair of ssh login cluster node, you have to create it first.
- LogConfigs []GetKubernetes Clusters Cluster Log Config 
- A list of one element containing information about the associated log store. It contains the following attributes:
- MasterAuto boolRenew 
- MasterAuto intRenew Period 
- MasterDisk stringCategory 
- The system disk category of master node.
- MasterDisk intSize 
- The system disk size of master node.
- MasterInstance stringCharge Type 
- MasterInstance []stringTypes 
- The instance type of master node.
- MasterNodes []GetKubernetes Clusters Cluster Master Node 
- List of cluster master nodes. It contains several attributes to Block Nodes.
- MasterPeriod int
- MasterPeriod stringUnit 
- Name string
- Node name.
- NatGateway stringId 
- The ID of nat gateway used to launch kubernetes cluster.
- NodeCidr intMask 
- The network mask used on pods for each node.
- PodCidr string
- SecurityGroup stringId 
- The ID of security group where the current cluster worker node is located.
- ServiceCidr string
- SlbInternet boolEnabled 
- Whether internet load balancer for API Server is created
- VpcId string
- The ID of VPC where the current cluster is located.
- VswitchIds []string
- The ID of VSwitches where the current cluster is located.
- WorkerAuto boolRenew 
- WorkerAuto intRenew Period 
- WorkerData stringDisk Category 
- The data disk size of worker node.
- WorkerData intDisk Size 
- The data disk category of worker node.
- WorkerDisk stringCategory 
- The system disk category of worker node.
- WorkerDisk intSize 
- The system disk size of worker node.
- WorkerInstance stringCharge Type 
- WorkerInstance []stringTypes 
- The instance type of worker node.
- WorkerNodes []GetKubernetes Clusters Cluster Worker Node 
- List of cluster worker nodes. It contains several attributes to Block Nodes.
- WorkerNumbers []int
- The ECS instance node number in the current container cluster.
- WorkerPeriod int
- WorkerPeriod stringUnit 
- availabilityZone String
- The ID of availability zone.
- clusterNetwork StringType 
- connections
GetKubernetes Clusters Cluster Connections 
- Map of kubernetes cluster connection information. It contains several attributes to Block Connections.
- id String
- ID of the node.
- imageId String
- The ID of node image.
- keyName String
- The keypair of ssh login cluster node, you have to create it first.
- logConfigs List<GetKubernetes Clusters Cluster Log Config> 
- A list of one element containing information about the associated log store. It contains the following attributes:
- masterAuto BooleanRenew 
- masterAuto IntegerRenew Period 
- masterDisk StringCategory 
- The system disk category of master node.
- masterDisk IntegerSize 
- The system disk size of master node.
- masterInstance StringCharge Type 
- masterInstance List<String>Types 
- The instance type of master node.
- masterNodes List<GetKubernetes Clusters Cluster Master Node> 
- List of cluster master nodes. It contains several attributes to Block Nodes.
- masterPeriod Integer
- masterPeriod StringUnit 
- name String
- Node name.
- natGateway StringId 
- The ID of nat gateway used to launch kubernetes cluster.
- nodeCidr IntegerMask 
- The network mask used on pods for each node.
- podCidr String
- securityGroup StringId 
- The ID of security group where the current cluster worker node is located.
- serviceCidr String
- slbInternet BooleanEnabled 
- Whether internet load balancer for API Server is created
- vpcId String
- The ID of VPC where the current cluster is located.
- vswitchIds List<String>
- The ID of VSwitches where the current cluster is located.
- workerAuto BooleanRenew 
- workerAuto IntegerRenew Period 
- workerData StringDisk Category 
- The data disk size of worker node.
- workerData IntegerDisk Size 
- The data disk category of worker node.
- workerDisk StringCategory 
- The system disk category of worker node.
- workerDisk IntegerSize 
- The system disk size of worker node.
- workerInstance StringCharge Type 
- workerInstance List<String>Types 
- The instance type of worker node.
- workerNodes List<GetKubernetes Clusters Cluster Worker Node> 
- List of cluster worker nodes. It contains several attributes to Block Nodes.
- workerNumbers List<Integer>
- The ECS instance node number in the current container cluster.
- workerPeriod Integer
- workerPeriod StringUnit 
- availabilityZone string
- The ID of availability zone.
- clusterNetwork stringType 
- connections
GetKubernetes Clusters Cluster Connections 
- Map of kubernetes cluster connection information. It contains several attributes to Block Connections.
- id string
- ID of the node.
- imageId string
- The ID of node image.
- keyName string
- The keypair of ssh login cluster node, you have to create it first.
- logConfigs GetKubernetes Clusters Cluster Log Config[] 
- A list of one element containing information about the associated log store. It contains the following attributes:
- masterAuto booleanRenew 
- masterAuto numberRenew Period 
- masterDisk stringCategory 
- The system disk category of master node.
- masterDisk numberSize 
- The system disk size of master node.
- masterInstance stringCharge Type 
- masterInstance string[]Types 
- The instance type of master node.
- masterNodes GetKubernetes Clusters Cluster Master Node[] 
- List of cluster master nodes. It contains several attributes to Block Nodes.
- masterPeriod number
- masterPeriod stringUnit 
- name string
- Node name.
- natGateway stringId 
- The ID of nat gateway used to launch kubernetes cluster.
- nodeCidr numberMask 
- The network mask used on pods for each node.
- podCidr string
- securityGroup stringId 
- The ID of security group where the current cluster worker node is located.
- serviceCidr string
- slbInternet booleanEnabled 
- Whether internet load balancer for API Server is created
- vpcId string
- The ID of VPC where the current cluster is located.
- vswitchIds string[]
- The ID of VSwitches where the current cluster is located.
- workerAuto booleanRenew 
- workerAuto numberRenew Period 
- workerData stringDisk Category 
- The data disk size of worker node.
- workerData numberDisk Size 
- The data disk category of worker node.
- workerDisk stringCategory 
- The system disk category of worker node.
- workerDisk numberSize 
- The system disk size of worker node.
- workerInstance stringCharge Type 
- workerInstance string[]Types 
- The instance type of worker node.
- workerNodes GetKubernetes Clusters Cluster Worker Node[] 
- List of cluster worker nodes. It contains several attributes to Block Nodes.
- workerNumbers number[]
- The ECS instance node number in the current container cluster.
- workerPeriod number
- workerPeriod stringUnit 
- availability_zone str
- The ID of availability zone.
- cluster_network_ strtype 
- connections
GetKubernetes Clusters Cluster Connections 
- Map of kubernetes cluster connection information. It contains several attributes to Block Connections.
- 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 
- master_auto_ intrenew_ 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_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_period_ strunit 
- 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
- security_group_ strid 
- The ID of security group where the current cluster worker node is located.
- service_cidr str
- 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 
- worker_auto_ intrenew_ 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_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_period_ strunit 
- availabilityZone String
- The ID of availability zone.
- clusterNetwork StringType 
- connections Property Map
- Map of kubernetes cluster connection information. It contains several attributes to Block Connections.
- id String
- ID of the node.
- imageId String
- The ID of node image.
- keyName String
- The keypair of ssh login cluster node, you have to create it first.
- logConfigs List<Property Map>
- A list of one element containing information about the associated log store. It contains the following attributes:
- masterAuto BooleanRenew 
- masterAuto NumberRenew Period 
- masterDisk StringCategory 
- The system disk category of master node.
- masterDisk NumberSize 
- The system disk size of master node.
- masterInstance StringCharge Type 
- masterInstance List<String>Types 
- The instance type of master node.
- masterNodes List<Property Map>
- List of cluster master nodes. It contains several attributes to Block Nodes.
- masterPeriod Number
- masterPeriod StringUnit 
- name String
- Node name.
- natGateway StringId 
- The ID of nat gateway used to launch kubernetes cluster.
- nodeCidr NumberMask 
- The network mask used on pods for each node.
- podCidr String
- securityGroup StringId 
- The ID of security group where the current cluster worker node is located.
- serviceCidr String
- slbInternet BooleanEnabled 
- Whether internet load balancer for API Server is created
- vpcId String
- The ID of VPC where the current cluster is located.
- vswitchIds List<String>
- The ID of VSwitches where the current cluster is located.
- workerAuto BooleanRenew 
- workerAuto NumberRenew Period 
- workerData StringDisk Category 
- The data disk size of worker node.
- workerData NumberDisk Size 
- The data disk category of worker node.
- workerDisk StringCategory 
- The system disk category of worker node.
- workerDisk NumberSize 
- The system disk size of worker node.
- workerInstance StringCharge Type 
- workerInstance List<String>Types 
- The instance type of worker node.
- workerNodes List<Property Map>
- List of cluster worker nodes. It contains several attributes to Block Nodes.
- workerNumbers List<Number>
- The ECS instance node number in the current container cluster.
- workerPeriod Number
- workerPeriod StringUnit 
GetKubernetesClustersClusterConnections    
- ApiServer stringInternet 
- API Server Internet endpoint.
- ApiServer stringIntranet 
- API Server Intranet endpoint.
- MasterPublic stringIp 
- Master node SSH IP address.
- ServiceDomain string
- Service Access Domain.
- ApiServer stringInternet 
- API Server Internet endpoint.
- ApiServer stringIntranet 
- API Server Intranet endpoint.
- MasterPublic stringIp 
- Master node SSH IP address.
- ServiceDomain string
- Service Access Domain.
- apiServer StringInternet 
- API Server Internet endpoint.
- apiServer StringIntranet 
- API Server Intranet endpoint.
- masterPublic StringIp 
- Master node SSH IP address.
- serviceDomain String
- Service Access Domain.
- apiServer stringInternet 
- API Server Internet endpoint.
- apiServer stringIntranet 
- API Server Intranet endpoint.
- masterPublic stringIp 
- Master node SSH IP address.
- serviceDomain 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.
- apiServer StringInternet 
- API Server Internet endpoint.
- apiServer StringIntranet 
- API Server Intranet endpoint.
- masterPublic StringIp 
- Master node SSH IP address.
- serviceDomain 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.