1. Packages
  2. DigitalOcean
  3. API Docs
  4. getKubernetesCluster
DigitalOcean v4.30.2 published on Wednesday, Jun 5, 2024 by Pulumi

digitalocean.getKubernetesCluster

Explore with Pulumi AI

digitalocean logo
DigitalOcean v4.30.2 published on Wednesday, Jun 5, 2024 by Pulumi

    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(name: Optional[str] = None,
                               tags: Optional[Sequence[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> GetKubernetesClusterResult
    def get_kubernetes_cluster_output(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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: digitalocean:index/getKubernetesCluster:getKubernetesCluster
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of Kubernetes cluster.
    Tags List<string>
    A list of tag names applied to the node pool.
    Name string
    The name of Kubernetes cluster.
    Tags []string
    A list of tag names applied to the node pool.
    name String
    The name of Kubernetes cluster.
    tags List<String>
    A list of tag names applied to the node pool.
    name string
    The name of Kubernetes cluster.
    tags string[]
    A list of tag names applied to the node pool.
    name str
    The name of Kubernetes cluster.
    tags Sequence[str]
    A list of tag names applied to the node pool.
    name String
    The name of Kubernetes cluster.
    tags 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.
    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.DigitalOcean.Outputs.GetKubernetesClusterKubeConfig>
    A representation of the Kubernetes cluster's kubeconfig with the following attributes:
    MaintenancePolicies List<Pulumi.DigitalOcean.Outputs.GetKubernetesClusterMaintenancePolicy>
    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.DigitalOcean.Outputs.GetKubernetesClusterNodePool>
    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.
    Tags 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.
    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 []GetKubernetesClusterKubeConfig
    A representation of the Kubernetes cluster's kubeconfig with the following attributes:
    MaintenancePolicies []GetKubernetesClusterMaintenancePolicy
    The maintenance policy of the Kubernetes cluster. Digital Ocean has a default maintenancen window.
    Name string
    The auto-generated name for the node.
    NodePools []GetKubernetesClusterNodePool
    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.
    Tags []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.
    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<GetKubernetesClusterKubeConfig>
    A representation of the Kubernetes cluster's kubeconfig with the following attributes:
    maintenancePolicies List<GetKubernetesClusterMaintenancePolicy>
    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<GetKubernetesClusterNodePool>
    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.
    tags 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.
    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 GetKubernetesClusterKubeConfig[]
    A representation of the Kubernetes cluster's kubeconfig with the following attributes:
    maintenancePolicies GetKubernetesClusterMaintenancePolicy[]
    The maintenance policy of the Kubernetes cluster. Digital Ocean has a default maintenancen window.
    name string
    The auto-generated name for the node.
    nodePools GetKubernetesClusterNodePool[]
    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.
    tags 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.
    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[GetKubernetesClusterKubeConfig]
    A representation of the Kubernetes cluster's kubeconfig with the following attributes:
    maintenance_policies Sequence[GetKubernetesClusterMaintenancePolicy]
    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[GetKubernetesClusterNodePool]
    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.
    tags 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.
    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.
    tags List<String>
    A list of tag names applied to the node pool.

    Supporting Types

    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.
    ClusterCaCertificate string
    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.
    ClusterCaCertificate string
    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.
    clusterCaCertificate String
    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.
    clusterCaCertificate string
    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_certificate str
    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.
    clusterCaCertificate String
    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 string
    The day for the service window of the Kubernetes cluster.
    Duration string
    The duration of the operation.
    StartTime string
    The start time of the upgrade operation.
    Day string
    The day for the service window of the Kubernetes cluster.
    Duration string
    The duration of the operation.
    StartTime string
    The start time of the upgrade operation.
    day String
    The day for the service window of the Kubernetes cluster.
    duration String
    The duration of the operation.
    startTime String
    The start time of the upgrade operation.
    day string
    The day for the service window of the Kubernetes cluster.
    duration string
    The duration of the operation.
    startTime string
    The start time of the upgrade operation.
    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.
    day String
    The day for the service window of the Kubernetes cluster.
    duration String
    The duration of the operation.
    startTime String
    The start time of the upgrade operation.

    GetKubernetesClusterNodePool

    ActualNodeCount int
    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.DigitalOcean.Inputs.GetKubernetesClusterNodePoolNode>
    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.
    Tags List<string>
    A list of tag names applied to the node pool.
    Taints List<Pulumi.DigitalOcean.Inputs.GetKubernetesClusterNodePoolTaint>
    A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
    ActualNodeCount int
    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 []GetKubernetesClusterNodePoolNode
    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.
    Tags []string
    A list of tag names applied to the node pool.
    Taints []GetKubernetesClusterNodePoolTaint
    A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
    actualNodeCount Integer
    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<GetKubernetesClusterNodePoolNode>
    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.
    tags List<String>
    A list of tag names applied to the node pool.
    taints List<GetKubernetesClusterNodePoolTaint>
    A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
    actualNodeCount number
    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 GetKubernetesClusterNodePoolNode[]
    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.
    tags string[]
    A list of tag names applied to the node pool.
    taints GetKubernetesClusterNodePoolTaint[]
    A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
    actual_node_count int
    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[GetKubernetesClusterNodePoolNode]
    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.
    tags Sequence[str]
    A list of tag names applied to the node pool.
    taints Sequence[GetKubernetesClusterNodePoolTaint]
    A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
    actualNodeCount Number
    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.
    tags 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 digitalocean Terraform Provider.
    digitalocean logo
    DigitalOcean v4.30.2 published on Wednesday, Jun 5, 2024 by Pulumi