DigitalOcean v4.40.2 published on Wednesday, Mar 19, 2025 by Pulumi
digitalocean.getKubernetesCluster
Explore with Pulumi AI
Retrieves information about a DigitalOcean Kubernetes cluster for use in other resources. This data source provides all of the cluster’s properties as configured on your DigitalOcean account. This is useful if the cluster in question is not managed by the provider.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as digitalocean from "@pulumi/digitalocean";
const example = digitalocean.getKubernetesCluster({
    name: "prod-cluster-01",
});
import pulumi
import pulumi_digitalocean as digitalocean
example = digitalocean.get_kubernetes_cluster(name="prod-cluster-01")
package main
import (
	"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := digitalocean.LookupKubernetesCluster(ctx, &digitalocean.LookupKubernetesClusterArgs{
			Name: "prod-cluster-01",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using DigitalOcean = Pulumi.DigitalOcean;
return await Deployment.RunAsync(() => 
{
    var example = DigitalOcean.GetKubernetesCluster.Invoke(new()
    {
        Name = "prod-cluster-01",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.digitalocean.DigitaloceanFunctions;
import com.pulumi.digitalocean.inputs.GetKubernetesClusterArgs;
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) {
        final var example = DigitaloceanFunctions.getKubernetesCluster(GetKubernetesClusterArgs.builder()
            .name("prod-cluster-01")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: digitalocean:getKubernetesCluster
      arguments:
        name: prod-cluster-01
Using getKubernetesCluster
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 getKubernetesCluster(args: GetKubernetesClusterArgs, opts?: InvokeOptions): Promise<GetKubernetesClusterResult>
function getKubernetesClusterOutput(args: GetKubernetesClusterOutputArgs, opts?: InvokeOptions): Output<GetKubernetesClusterResult>def get_kubernetes_cluster(cluster_autoscaler_configurations: Optional[Sequence[GetKubernetesClusterClusterAutoscalerConfiguration]] = None,
                           kubeconfig_expire_seconds: Optional[int] = None,
                           name: Optional[str] = None,
                           tags: Optional[Sequence[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> GetKubernetesClusterResult
def get_kubernetes_cluster_output(cluster_autoscaler_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[GetKubernetesClusterClusterAutoscalerConfigurationArgs]]]] = None,
                           kubeconfig_expire_seconds: Optional[pulumi.Input[int]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesClusterResult]func LookupKubernetesCluster(ctx *Context, args *LookupKubernetesClusterArgs, opts ...InvokeOption) (*LookupKubernetesClusterResult, error)
func LookupKubernetesClusterOutput(ctx *Context, args *LookupKubernetesClusterOutputArgs, opts ...InvokeOption) LookupKubernetesClusterResultOutput> Note: This function is named LookupKubernetesCluster in the Go SDK.
public static class GetKubernetesCluster 
{
    public static Task<GetKubernetesClusterResult> InvokeAsync(GetKubernetesClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetKubernetesClusterResult> Invoke(GetKubernetesClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKubernetesClusterResult> getKubernetesCluster(GetKubernetesClusterArgs args, InvokeOptions options)
public static Output<GetKubernetesClusterResult> getKubernetesCluster(GetKubernetesClusterArgs args, InvokeOptions options)
fn::invoke:
  function: digitalocean:index/getKubernetesCluster:getKubernetesCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The name of Kubernetes cluster.
- ClusterAutoscaler List<Pulumi.Configurations Digital Ocean. Inputs. Get Kubernetes Cluster Cluster Autoscaler Configuration> 
- KubeconfigExpire intSeconds 
- List<string>
- A list of tag names applied to the node pool.
- Name string
- The name of Kubernetes cluster.
- ClusterAutoscaler []GetConfigurations Kubernetes Cluster Cluster Autoscaler Configuration 
- KubeconfigExpire intSeconds 
- []string
- A list of tag names applied to the node pool.
- name String
- The name of Kubernetes cluster.
- clusterAutoscaler List<GetConfigurations Kubernetes Cluster Cluster Autoscaler Configuration> 
- kubeconfigExpire IntegerSeconds 
- List<String>
- A list of tag names applied to the node pool.
- name string
- The name of Kubernetes cluster.
- clusterAutoscaler GetConfigurations Kubernetes Cluster Cluster Autoscaler Configuration[] 
- kubeconfigExpire numberSeconds 
- string[]
- A list of tag names applied to the node pool.
- name str
- The name of Kubernetes cluster.
- cluster_autoscaler_ Sequence[Getconfigurations Kubernetes Cluster Cluster Autoscaler Configuration] 
- kubeconfig_expire_ intseconds 
- Sequence[str]
- A list of tag names applied to the node pool.
- name String
- The name of Kubernetes cluster.
- clusterAutoscaler List<Property Map>Configurations 
- kubeconfigExpire NumberSeconds 
- List<String>
- A list of tag names applied to the node pool.
getKubernetesCluster Result
The following output properties are available:
- AutoUpgrade bool
- A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
- ClusterSubnet string
- The range of IP addresses in the overlay network of the Kubernetes cluster.
- ControlPlane List<Pulumi.Firewalls Digital Ocean. Outputs. Get Kubernetes Cluster Control Plane Firewall> 
- CreatedAt string
- The date and time when the node was created.
- Endpoint string
- The base URL of the API server on the Kubernetes master node.
- Ha bool
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Address string
- The public IPv4 address of the Kubernetes master node.
- KubeConfigs List<Pulumi.Digital Ocean. Outputs. Get Kubernetes Cluster Kube Config> 
- A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- MaintenancePolicies List<Pulumi.Digital Ocean. Outputs. Get Kubernetes Cluster Maintenance Policy> 
- The maintenance policy of the Kubernetes cluster. Digital Ocean has a default maintenancen window.
- Name string
- The auto-generated name for the node.
- NodePools List<Pulumi.Digital Ocean. Outputs. Get Kubernetes Cluster Node Pool> 
- A list of node pools associated with the cluster. Each node pool exports the following attributes:
- Region string
- The slug identifier for the region where the Kubernetes cluster is located.
- ServiceSubnet string
- The range of assignable IP addresses for services running in the Kubernetes cluster.
- Status string
- A string indicating the current status of the individual node.
- SurgeUpgrade bool
- UpdatedAt string
- The date and time when the node was last updated.
- Urn string
- The uniform resource name (URN) for the Kubernetes cluster.
- Version string
- The slug identifier for the version of Kubernetes used for the cluster.
- VpcUuid string
- The ID of the VPC where the Kubernetes cluster is located.
- ClusterAutoscaler List<Pulumi.Configurations Digital Ocean. Outputs. Get Kubernetes Cluster Cluster Autoscaler Configuration> 
- KubeconfigExpire intSeconds 
- List<string>
- A list of tag names applied to the node pool.
- AutoUpgrade bool
- A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
- ClusterSubnet string
- The range of IP addresses in the overlay network of the Kubernetes cluster.
- ControlPlane []GetFirewalls Kubernetes Cluster Control Plane Firewall 
- CreatedAt string
- The date and time when the node was created.
- Endpoint string
- The base URL of the API server on the Kubernetes master node.
- Ha bool
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Address string
- The public IPv4 address of the Kubernetes master node.
- KubeConfigs []GetKubernetes Cluster Kube Config 
- A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- MaintenancePolicies []GetKubernetes Cluster Maintenance Policy 
- The maintenance policy of the Kubernetes cluster. Digital Ocean has a default maintenancen window.
- Name string
- The auto-generated name for the node.
- NodePools []GetKubernetes Cluster Node Pool 
- A list of node pools associated with the cluster. Each node pool exports the following attributes:
- Region string
- The slug identifier for the region where the Kubernetes cluster is located.
- ServiceSubnet string
- The range of assignable IP addresses for services running in the Kubernetes cluster.
- Status string
- A string indicating the current status of the individual node.
- SurgeUpgrade bool
- UpdatedAt string
- The date and time when the node was last updated.
- Urn string
- The uniform resource name (URN) for the Kubernetes cluster.
- Version string
- The slug identifier for the version of Kubernetes used for the cluster.
- VpcUuid string
- The ID of the VPC where the Kubernetes cluster is located.
- ClusterAutoscaler []GetConfigurations Kubernetes Cluster Cluster Autoscaler Configuration 
- KubeconfigExpire intSeconds 
- []string
- A list of tag names applied to the node pool.
- autoUpgrade Boolean
- A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
- clusterSubnet String
- The range of IP addresses in the overlay network of the Kubernetes cluster.
- controlPlane List<GetFirewalls Kubernetes Cluster Control Plane Firewall> 
- createdAt String
- The date and time when the node was created.
- endpoint String
- The base URL of the API server on the Kubernetes master node.
- ha Boolean
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Address String
- The public IPv4 address of the Kubernetes master node.
- kubeConfigs List<GetKubernetes Cluster Kube Config> 
- A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- maintenancePolicies List<GetKubernetes Cluster Maintenance Policy> 
- The maintenance policy of the Kubernetes cluster. Digital Ocean has a default maintenancen window.
- name String
- The auto-generated name for the node.
- nodePools List<GetKubernetes Cluster Node Pool> 
- A list of node pools associated with the cluster. Each node pool exports the following attributes:
- region String
- The slug identifier for the region where the Kubernetes cluster is located.
- serviceSubnet String
- The range of assignable IP addresses for services running in the Kubernetes cluster.
- status String
- A string indicating the current status of the individual node.
- surgeUpgrade Boolean
- updatedAt String
- The date and time when the node was last updated.
- urn String
- The uniform resource name (URN) for the Kubernetes cluster.
- version String
- The slug identifier for the version of Kubernetes used for the cluster.
- vpcUuid String
- The ID of the VPC where the Kubernetes cluster is located.
- clusterAutoscaler List<GetConfigurations Kubernetes Cluster Cluster Autoscaler Configuration> 
- kubeconfigExpire IntegerSeconds 
- List<String>
- A list of tag names applied to the node pool.
- autoUpgrade boolean
- A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
- clusterSubnet string
- The range of IP addresses in the overlay network of the Kubernetes cluster.
- controlPlane GetFirewalls Kubernetes Cluster Control Plane Firewall[] 
- createdAt string
- The date and time when the node was created.
- endpoint string
- The base URL of the API server on the Kubernetes master node.
- ha boolean
- id string
- The provider-assigned unique ID for this managed resource.
- ipv4Address string
- The public IPv4 address of the Kubernetes master node.
- kubeConfigs GetKubernetes Cluster Kube Config[] 
- A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- maintenancePolicies GetKubernetes Cluster Maintenance Policy[] 
- The maintenance policy of the Kubernetes cluster. Digital Ocean has a default maintenancen window.
- name string
- The auto-generated name for the node.
- nodePools GetKubernetes Cluster Node Pool[] 
- A list of node pools associated with the cluster. Each node pool exports the following attributes:
- region string
- The slug identifier for the region where the Kubernetes cluster is located.
- serviceSubnet string
- The range of assignable IP addresses for services running in the Kubernetes cluster.
- status string
- A string indicating the current status of the individual node.
- surgeUpgrade boolean
- updatedAt string
- The date and time when the node was last updated.
- urn string
- The uniform resource name (URN) for the Kubernetes cluster.
- version string
- The slug identifier for the version of Kubernetes used for the cluster.
- vpcUuid string
- The ID of the VPC where the Kubernetes cluster is located.
- clusterAutoscaler GetConfigurations Kubernetes Cluster Cluster Autoscaler Configuration[] 
- kubeconfigExpire numberSeconds 
- string[]
- A list of tag names applied to the node pool.
- auto_upgrade bool
- A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
- cluster_subnet str
- The range of IP addresses in the overlay network of the Kubernetes cluster.
- control_plane_ Sequence[Getfirewalls Kubernetes Cluster Control Plane Firewall] 
- created_at str
- The date and time when the node was created.
- endpoint str
- The base URL of the API server on the Kubernetes master node.
- ha bool
- id str
- The provider-assigned unique ID for this managed resource.
- ipv4_address str
- The public IPv4 address of the Kubernetes master node.
- kube_configs Sequence[GetKubernetes Cluster Kube Config] 
- A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- maintenance_policies Sequence[GetKubernetes Cluster Maintenance Policy] 
- The maintenance policy of the Kubernetes cluster. Digital Ocean has a default maintenancen window.
- name str
- The auto-generated name for the node.
- node_pools Sequence[GetKubernetes Cluster Node Pool] 
- A list of node pools associated with the cluster. Each node pool exports the following attributes:
- region str
- The slug identifier for the region where the Kubernetes cluster is located.
- service_subnet str
- The range of assignable IP addresses for services running in the Kubernetes cluster.
- status str
- A string indicating the current status of the individual node.
- surge_upgrade bool
- updated_at str
- The date and time when the node was last updated.
- urn str
- The uniform resource name (URN) for the Kubernetes cluster.
- version str
- The slug identifier for the version of Kubernetes used for the cluster.
- vpc_uuid str
- The ID of the VPC where the Kubernetes cluster is located.
- cluster_autoscaler_ Sequence[Getconfigurations Kubernetes Cluster Cluster Autoscaler Configuration] 
- kubeconfig_expire_ intseconds 
- Sequence[str]
- A list of tag names applied to the node pool.
- autoUpgrade Boolean
- A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
- clusterSubnet String
- The range of IP addresses in the overlay network of the Kubernetes cluster.
- controlPlane List<Property Map>Firewalls 
- createdAt String
- The date and time when the node was created.
- endpoint String
- The base URL of the API server on the Kubernetes master node.
- ha Boolean
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Address String
- The public IPv4 address of the Kubernetes master node.
- kubeConfigs List<Property Map>
- A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- maintenancePolicies List<Property Map>
- The maintenance policy of the Kubernetes cluster. Digital Ocean has a default maintenancen window.
- name String
- The auto-generated name for the node.
- nodePools List<Property Map>
- A list of node pools associated with the cluster. Each node pool exports the following attributes:
- region String
- The slug identifier for the region where the Kubernetes cluster is located.
- serviceSubnet String
- The range of assignable IP addresses for services running in the Kubernetes cluster.
- status String
- A string indicating the current status of the individual node.
- surgeUpgrade Boolean
- updatedAt String
- The date and time when the node was last updated.
- urn String
- The uniform resource name (URN) for the Kubernetes cluster.
- version String
- The slug identifier for the version of Kubernetes used for the cluster.
- vpcUuid String
- The ID of the VPC where the Kubernetes cluster is located.
- clusterAutoscaler List<Property Map>Configurations 
- kubeconfigExpire NumberSeconds 
- List<String>
- A list of tag names applied to the node pool.
Supporting Types
GetKubernetesClusterClusterAutoscalerConfiguration     
- ScaleDown stringUnneeded Time 
- ScaleDown doubleUtilization Threshold 
- ScaleDown stringUnneeded Time 
- ScaleDown float64Utilization Threshold 
- scaleDown StringUnneeded Time 
- scaleDown DoubleUtilization Threshold 
- scaleDown stringUnneeded Time 
- scaleDown numberUtilization Threshold 
- scaleDown StringUnneeded Time 
- scaleDown NumberUtilization Threshold 
GetKubernetesClusterControlPlaneFirewall     
- AllowedAddresses List<string>
- Enabled bool
- AllowedAddresses []string
- Enabled bool
- allowedAddresses List<String>
- enabled Boolean
- allowedAddresses string[]
- enabled boolean
- allowed_addresses Sequence[str]
- enabled bool
- allowedAddresses List<String>
- enabled Boolean
GetKubernetesClusterKubeConfig    
- ClientCertificate string
- The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
- ClientKey string
- The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
- ClusterCa stringCertificate 
- The base64 encoded public certificate for the cluster's certificate authority.
- ExpiresAt string
- The date and time when the credentials will expire and need to be regenerated.
- Host string
- The URL of the API server on the Kubernetes master node.
- RawConfig string
- The full contents of the Kubernetes cluster's kubeconfig file.
- Token string
- The DigitalOcean API access token used by clients to access the cluster.
- ClientCertificate string
- The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
- ClientKey string
- The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
- ClusterCa stringCertificate 
- The base64 encoded public certificate for the cluster's certificate authority.
- ExpiresAt string
- The date and time when the credentials will expire and need to be regenerated.
- Host string
- The URL of the API server on the Kubernetes master node.
- RawConfig string
- The full contents of the Kubernetes cluster's kubeconfig file.
- Token string
- The DigitalOcean API access token used by clients to access the cluster.
- clientCertificate String
- The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
- clientKey String
- The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
- clusterCa StringCertificate 
- The base64 encoded public certificate for the cluster's certificate authority.
- expiresAt String
- The date and time when the credentials will expire and need to be regenerated.
- host String
- The URL of the API server on the Kubernetes master node.
- rawConfig String
- The full contents of the Kubernetes cluster's kubeconfig file.
- token String
- The DigitalOcean API access token used by clients to access the cluster.
- clientCertificate string
- The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
- clientKey string
- The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
- clusterCa stringCertificate 
- The base64 encoded public certificate for the cluster's certificate authority.
- expiresAt string
- The date and time when the credentials will expire and need to be regenerated.
- host string
- The URL of the API server on the Kubernetes master node.
- rawConfig string
- The full contents of the Kubernetes cluster's kubeconfig file.
- token string
- The DigitalOcean API access token used by clients to access the cluster.
- client_certificate str
- The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
- client_key str
- The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
- cluster_ca_ strcertificate 
- The base64 encoded public certificate for the cluster's certificate authority.
- expires_at str
- The date and time when the credentials will expire and need to be regenerated.
- host str
- The URL of the API server on the Kubernetes master node.
- raw_config str
- The full contents of the Kubernetes cluster's kubeconfig file.
- token str
- The DigitalOcean API access token used by clients to access the cluster.
- clientCertificate String
- The base64 encoded public certificate used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
- clientKey String
- The base64 encoded private key used by clients to access the cluster. Only available if token authentication is not supported on your cluster.
- clusterCa StringCertificate 
- The base64 encoded public certificate for the cluster's certificate authority.
- expiresAt String
- The date and time when the credentials will expire and need to be regenerated.
- host String
- The URL of the API server on the Kubernetes master node.
- rawConfig String
- The full contents of the Kubernetes cluster's kubeconfig file.
- token String
- The DigitalOcean API access token used by clients to access the cluster.
GetKubernetesClusterMaintenancePolicy    
- day str
- The day for the service window of the Kubernetes cluster.
- duration str
- The duration of the operation.
- start_time str
- The start time of the upgrade operation.
GetKubernetesClusterNodePool    
- ActualNode intCount 
- The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- AutoScale bool
- A boolean indicating whether auto-scaling is enabled on the node pool.
- Id string
- A unique ID that can be used to identify and reference the node.
- Labels Dictionary<string, string>
- A map of key/value pairs applied to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding Node resources.
- MaxNodes int
- If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
- MinNodes int
- If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
- Name string
- The name of Kubernetes cluster.
- NodeCount int
- The number of Droplet instances in the node pool.
- Nodes
List<Pulumi.Digital Ocean. Inputs. Get Kubernetes Cluster Node Pool Node> 
- A list of nodes in the pool. Each node exports the following attributes:
- Size string
- The slug identifier for the type of Droplet used as workers in the node pool.
- List<string>
- A list of tag names applied to the node pool.
- Taints
List<Pulumi.Digital Ocean. Inputs. Get Kubernetes Cluster Node Pool Taint> 
- A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
- ActualNode intCount 
- The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- AutoScale bool
- A boolean indicating whether auto-scaling is enabled on the node pool.
- Id string
- A unique ID that can be used to identify and reference the node.
- Labels map[string]string
- A map of key/value pairs applied to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding Node resources.
- MaxNodes int
- If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
- MinNodes int
- If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
- Name string
- The name of Kubernetes cluster.
- NodeCount int
- The number of Droplet instances in the node pool.
- Nodes
[]GetKubernetes Cluster Node Pool Node 
- A list of nodes in the pool. Each node exports the following attributes:
- Size string
- The slug identifier for the type of Droplet used as workers in the node pool.
- []string
- A list of tag names applied to the node pool.
- Taints
[]GetKubernetes Cluster Node Pool Taint 
- A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
- actualNode IntegerCount 
- The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- autoScale Boolean
- A boolean indicating whether auto-scaling is enabled on the node pool.
- id String
- A unique ID that can be used to identify and reference the node.
- labels Map<String,String>
- A map of key/value pairs applied to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding Node resources.
- maxNodes Integer
- If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
- minNodes Integer
- If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
- name String
- The name of Kubernetes cluster.
- nodeCount Integer
- The number of Droplet instances in the node pool.
- nodes
List<GetKubernetes Cluster Node Pool Node> 
- A list of nodes in the pool. Each node exports the following attributes:
- size String
- The slug identifier for the type of Droplet used as workers in the node pool.
- List<String>
- A list of tag names applied to the node pool.
- taints
List<GetKubernetes Cluster Node Pool Taint> 
- A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
- actualNode numberCount 
- The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- autoScale boolean
- A boolean indicating whether auto-scaling is enabled on the node pool.
- id string
- A unique ID that can be used to identify and reference the node.
- labels {[key: string]: string}
- A map of key/value pairs applied to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding Node resources.
- maxNodes number
- If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
- minNodes number
- If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
- name string
- The name of Kubernetes cluster.
- nodeCount number
- The number of Droplet instances in the node pool.
- nodes
GetKubernetes Cluster Node Pool Node[] 
- A list of nodes in the pool. Each node exports the following attributes:
- size string
- The slug identifier for the type of Droplet used as workers in the node pool.
- string[]
- A list of tag names applied to the node pool.
- taints
GetKubernetes Cluster Node Pool Taint[] 
- A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
- actual_node_ intcount 
- The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- auto_scale bool
- A boolean indicating whether auto-scaling is enabled on the node pool.
- id str
- A unique ID that can be used to identify and reference the node.
- labels Mapping[str, str]
- A map of key/value pairs applied to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding Node resources.
- max_nodes int
- If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
- min_nodes int
- If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
- name str
- The name of Kubernetes cluster.
- node_count int
- The number of Droplet instances in the node pool.
- nodes
Sequence[GetKubernetes Cluster Node Pool Node] 
- A list of nodes in the pool. Each node exports the following attributes:
- size str
- The slug identifier for the type of Droplet used as workers in the node pool.
- Sequence[str]
- A list of tag names applied to the node pool.
- taints
Sequence[GetKubernetes Cluster Node Pool Taint] 
- A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
- actualNode NumberCount 
- The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- autoScale Boolean
- A boolean indicating whether auto-scaling is enabled on the node pool.
- id String
- A unique ID that can be used to identify and reference the node.
- labels Map<String>
- A map of key/value pairs applied to nodes in the pool. The labels are exposed in the Kubernetes API as labels in the metadata of the corresponding Node resources.
- maxNodes Number
- If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
- minNodes Number
- If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
- name String
- The name of Kubernetes cluster.
- nodeCount Number
- The number of Droplet instances in the node pool.
- nodes List<Property Map>
- A list of nodes in the pool. Each node exports the following attributes:
- size String
- The slug identifier for the type of Droplet used as workers in the node pool.
- List<String>
- A list of tag names applied to the node pool.
- taints List<Property Map>
- A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
GetKubernetesClusterNodePoolNode     
- CreatedAt string
- The date and time when the node was created.
- DropletId string
- Id string
- A unique ID that can be used to identify and reference the node.
- Name string
- The name of Kubernetes cluster.
- Status string
- A string indicating the current status of the individual node.
- UpdatedAt string
- The date and time when the node was last updated.
- CreatedAt string
- The date and time when the node was created.
- DropletId string
- Id string
- A unique ID that can be used to identify and reference the node.
- Name string
- The name of Kubernetes cluster.
- Status string
- A string indicating the current status of the individual node.
- UpdatedAt string
- The date and time when the node was last updated.
- createdAt String
- The date and time when the node was created.
- dropletId String
- id String
- A unique ID that can be used to identify and reference the node.
- name String
- The name of Kubernetes cluster.
- status String
- A string indicating the current status of the individual node.
- updatedAt String
- The date and time when the node was last updated.
- createdAt string
- The date and time when the node was created.
- dropletId string
- id string
- A unique ID that can be used to identify and reference the node.
- name string
- The name of Kubernetes cluster.
- status string
- A string indicating the current status of the individual node.
- updatedAt string
- The date and time when the node was last updated.
- created_at str
- The date and time when the node was created.
- droplet_id str
- id str
- A unique ID that can be used to identify and reference the node.
- name str
- The name of Kubernetes cluster.
- status str
- A string indicating the current status of the individual node.
- updated_at str
- The date and time when the node was last updated.
- createdAt String
- The date and time when the node was created.
- dropletId String
- id String
- A unique ID that can be used to identify and reference the node.
- name String
- The name of Kubernetes cluster.
- status String
- A string indicating the current status of the individual node.
- updatedAt String
- The date and time when the node was last updated.
GetKubernetesClusterNodePoolTaint     
- Effect string
- How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
- Key string
- An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
- Value string
- An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
- Effect string
- How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
- Key string
- An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
- Value string
- An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
- effect String
- How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
- key String
- An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
- value String
- An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
- effect string
- How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
- key string
- An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
- value string
- An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
- effect str
- How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
- key str
- An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
- value str
- An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
- effect String
- How the node reacts to pods that it won't tolerate. Available effect values are: "NoSchedule", "PreferNoSchedule", "NoExecute".
- key String
- An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
- value String
- An arbitrary string. The "key" and "value" fields of the "taint" object form a key-value pair.
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the digitaloceanTerraform Provider.