DigitalOcean v4.30.2 published on Wednesday, Jun 5, 2024 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(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.
- List<string>
- A list of tag names applied to the node pool.
- Name string
- The name of Kubernetes cluster.
- []string
- A list of tag names applied to the node pool.
- name String
- The name of Kubernetes cluster.
- List<String>
- A list of tag names applied to the node pool.
- name string
- The name of Kubernetes cluster.
- string[]
- A list of tag names applied to the node pool.
- name str
- The name of Kubernetes cluster.
- Sequence[str]
- A list of tag names applied to the node pool.
- name String
- The name of Kubernetes cluster.
- List<String>
- A list of tag names applied to the node pool.
getKubernetesCluster Result
The following output properties are available:
- Auto
Upgrade bool - A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
- Cluster
Subnet string - The range of IP addresses in the overlay network of the Kubernetes cluster.
- Created
At 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.
- Kube
Configs List<Pulumi.Digital Ocean. Outputs. Get Kubernetes Cluster Kube Config> - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- Maintenance
Policies 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.
- Node
Pools 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.
- Service
Subnet 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.
- Surge
Upgrade bool - Updated
At 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.
- Vpc
Uuid string - The ID of the VPC where the Kubernetes cluster is located.
- List<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 string - The range of IP addresses in the overlay network of the Kubernetes cluster.
- Created
At 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.
- Kube
Configs []GetKubernetes Cluster Kube Config - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- Maintenance
Policies []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.
- Node
Pools []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.
- Service
Subnet 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.
- Surge
Upgrade bool - Updated
At 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.
- Vpc
Uuid string - The ID of the VPC where the Kubernetes cluster is located.
- []string
- A list of tag names applied to the node pool.
- auto
Upgrade Boolean - A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
- cluster
Subnet String - The range of IP addresses in the overlay network of the Kubernetes cluster.
- created
At 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.
- kube
Configs List<GetKubernetes Cluster Kube Config> - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- maintenance
Policies 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.
- node
Pools 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.
- service
Subnet 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.
- surge
Upgrade Boolean - updated
At 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.
- vpc
Uuid String - The ID of the VPC where the Kubernetes cluster is located.
- List<String>
- A list of tag names applied to the node pool.
- auto
Upgrade boolean - A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
- cluster
Subnet string - The range of IP addresses in the overlay network of the Kubernetes cluster.
- created
At 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.
- kube
Configs GetKubernetes Cluster Kube Config[] - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- maintenance
Policies 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.
- node
Pools 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.
- service
Subnet 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.
- surge
Upgrade boolean - updated
At 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.
- vpc
Uuid string - The ID of the VPC where the Kubernetes cluster is located.
- 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[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.
- Sequence[str]
- A list of tag names applied to the node pool.
- auto
Upgrade Boolean - A boolean value indicating whether the cluster will be automatically upgraded to new patch releases during its maintenance window.
- cluster
Subnet String - The range of IP addresses in the overlay network of the Kubernetes cluster.
- created
At 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.
- kube
Configs List<Property Map> - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- maintenance
Policies 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.
- node
Pools 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.
- service
Subnet 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.
- surge
Upgrade Boolean - updated
At 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.
- vpc
Uuid String - The ID of the VPC where the Kubernetes cluster is located.
- List<String>
- A list of tag names applied to the node pool.
Supporting Types
GetKubernetesClusterKubeConfig
- Client
Certificate string - 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 string - 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 stringCertificate - The base64 encoded public certificate for the cluster's certificate authority.
- Expires
At 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.
- Raw
Config 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 string - 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 string - 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 stringCertificate - The base64 encoded public certificate for the cluster's certificate authority.
- Expires
At 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.
- Raw
Config 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 String - 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 String - 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 StringCertificate - The base64 encoded public certificate for the cluster's certificate authority.
- expires
At 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.
- raw
Config 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 string - 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 string - 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 stringCertificate - The base64 encoded public certificate for the cluster's certificate authority.
- expires
At 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.
- raw
Config 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.
- client
Certificate String - 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 String - 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 StringCertificate - The base64 encoded public certificate for the cluster's certificate authority.
- expires
At 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.
- raw
Config 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
- 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 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.
- 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 string
- The name of Kubernetes cluster.
- Node
Count 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:
- 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 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.
- 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 string
- The name of Kubernetes cluster.
- Node
Count int - The number of Droplet instances in the node pool.
- Nodes
[]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.
- []string
- A list of tag names applied to the node pool.
- Taints
[]Get
Kubernetes Cluster Node Pool Taint - A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
- actual
Node IntegerCount - The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- auto
Scale 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.
- max
Nodes Integer - If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
- min
Nodes 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.
- node
Count Integer - The number of Droplet instances in the node pool.
- nodes
List<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<Get
Kubernetes Cluster Node Pool Taint> - A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
- actual
Node numberCount - The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- auto
Scale 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.
- max
Nodes number - If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
- min
Nodes 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.
- node
Count number - The number of Droplet instances in the node pool.
- nodes
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.
- string[]
- A list of tag names applied to the node pool.
- taints
Get
Kubernetes 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[Get
Kubernetes 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[Get
Kubernetes Cluster Node Pool Taint] - A list of taints applied to all nodes in the pool. Each taint exports the following attributes:
- actual
Node NumberCount - The actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- auto
Scale 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.
- max
Nodes Number - If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
- min
Nodes 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.
- node
Count 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
- Created
At string - The date and time when the node was created.
- Droplet
Id 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.
- Updated
At string - The date and time when the node was last updated.
- Created
At string - The date and time when the node was created.
- Droplet
Id 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.
- Updated
At string - The date and time when the node was last updated.
- created
At String - The date and time when the node was created.
- droplet
Id 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.
- updated
At String - The date and time when the node was last updated.
- created
At string - The date and time when the node was created.
- droplet
Id 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.
- updated
At 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.
- created
At String - The date and time when the node was created.
- droplet
Id 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.
- updated
At 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.