digitalocean.KubernetesCluster
Explore with Pulumi AI
Import
Before importing a Kubernetes cluster, the cluster’s default node pool must be tagged with
the terraform:default-node-pool
tag. The provider will automatically add this tag if
the cluster only has a single node pool. Clusters with more than one node pool, however, will require
that you manually add the terraform:default-node-pool
tag to the node pool that you intend to be
the default node pool.
Then the Kubernetes cluster and its default node pool can be imported using the cluster’s id
, e.g.
$ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mycluster 1b8b2100-0e9f-4e8f-ad78-9eb578c2a0af
Additional node pools must be imported separately as digitalocean_kubernetes_cluster
resources, e.g.
$ pulumi import digitalocean:index/kubernetesCluster:KubernetesCluster mynodepool 9d76f410-9284-4436-9633-4066852442c8
Create KubernetesCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KubernetesCluster(name: string, args: KubernetesClusterArgs, opts?: CustomResourceOptions);
@overload
def KubernetesCluster(resource_name: str,
args: KubernetesClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KubernetesCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
node_pool: Optional[KubernetesClusterNodePoolArgs] = None,
version: Optional[str] = None,
region: Optional[Union[str, Region]] = None,
ha: Optional[bool] = None,
maintenance_policy: Optional[KubernetesClusterMaintenancePolicyArgs] = None,
name: Optional[str] = None,
auto_upgrade: Optional[bool] = None,
destroy_all_associated_resources: Optional[bool] = None,
registry_integration: Optional[bool] = None,
service_subnet: Optional[str] = None,
surge_upgrade: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
cluster_subnet: Optional[str] = None,
vpc_uuid: Optional[str] = None)
func NewKubernetesCluster(ctx *Context, name string, args KubernetesClusterArgs, opts ...ResourceOption) (*KubernetesCluster, error)
public KubernetesCluster(string name, KubernetesClusterArgs args, CustomResourceOptions? opts = null)
public KubernetesCluster(String name, KubernetesClusterArgs args)
public KubernetesCluster(String name, KubernetesClusterArgs args, CustomResourceOptions options)
type: digitalocean:KubernetesCluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KubernetesClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KubernetesClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KubernetesClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KubernetesClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KubernetesClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var kubernetesClusterResource = new DigitalOcean.KubernetesCluster("kubernetesClusterResource", new()
{
NodePool = new DigitalOcean.Inputs.KubernetesClusterNodePoolArgs
{
Name = "string",
Size = "string",
ActualNodeCount = 0,
AutoScale = false,
Id = "string",
Labels =
{
{ "string", "string" },
},
MaxNodes = 0,
MinNodes = 0,
NodeCount = 0,
Nodes = new[]
{
new DigitalOcean.Inputs.KubernetesClusterNodePoolNodeArgs
{
CreatedAt = "string",
DropletId = "string",
Id = "string",
Name = "string",
Status = "string",
UpdatedAt = "string",
},
},
Tags = new[]
{
"string",
},
Taints = new[]
{
new DigitalOcean.Inputs.KubernetesClusterNodePoolTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
},
Version = "string",
Region = "string",
Ha = false,
MaintenancePolicy = new DigitalOcean.Inputs.KubernetesClusterMaintenancePolicyArgs
{
Day = "string",
Duration = "string",
StartTime = "string",
},
Name = "string",
AutoUpgrade = false,
DestroyAllAssociatedResources = false,
RegistryIntegration = false,
ServiceSubnet = "string",
SurgeUpgrade = false,
Tags = new[]
{
"string",
},
ClusterSubnet = "string",
VpcUuid = "string",
});
example, err := digitalocean.NewKubernetesCluster(ctx, "kubernetesClusterResource", &digitalocean.KubernetesClusterArgs{
NodePool: &digitalocean.KubernetesClusterNodePoolArgs{
Name: pulumi.String("string"),
Size: pulumi.String("string"),
ActualNodeCount: pulumi.Int(0),
AutoScale: pulumi.Bool(false),
Id: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
MaxNodes: pulumi.Int(0),
MinNodes: pulumi.Int(0),
NodeCount: pulumi.Int(0),
Nodes: digitalocean.KubernetesClusterNodePoolNodeArray{
&digitalocean.KubernetesClusterNodePoolNodeArgs{
CreatedAt: pulumi.String("string"),
DropletId: pulumi.String("string"),
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Status: pulumi.String("string"),
UpdatedAt: pulumi.String("string"),
},
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Taints: digitalocean.KubernetesClusterNodePoolTaintArray{
&digitalocean.KubernetesClusterNodePoolTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Version: pulumi.String("string"),
Region: pulumi.String("string"),
Ha: pulumi.Bool(false),
MaintenancePolicy: &digitalocean.KubernetesClusterMaintenancePolicyArgs{
Day: pulumi.String("string"),
Duration: pulumi.String("string"),
StartTime: pulumi.String("string"),
},
Name: pulumi.String("string"),
AutoUpgrade: pulumi.Bool(false),
DestroyAllAssociatedResources: pulumi.Bool(false),
RegistryIntegration: pulumi.Bool(false),
ServiceSubnet: pulumi.String("string"),
SurgeUpgrade: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
ClusterSubnet: pulumi.String("string"),
VpcUuid: pulumi.String("string"),
})
var kubernetesClusterResource = new KubernetesCluster("kubernetesClusterResource", KubernetesClusterArgs.builder()
.nodePool(KubernetesClusterNodePoolArgs.builder()
.name("string")
.size("string")
.actualNodeCount(0)
.autoScale(false)
.id("string")
.labels(Map.of("string", "string"))
.maxNodes(0)
.minNodes(0)
.nodeCount(0)
.nodes(KubernetesClusterNodePoolNodeArgs.builder()
.createdAt("string")
.dropletId("string")
.id("string")
.name("string")
.status("string")
.updatedAt("string")
.build())
.tags("string")
.taints(KubernetesClusterNodePoolTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.build())
.version("string")
.region("string")
.ha(false)
.maintenancePolicy(KubernetesClusterMaintenancePolicyArgs.builder()
.day("string")
.duration("string")
.startTime("string")
.build())
.name("string")
.autoUpgrade(false)
.destroyAllAssociatedResources(false)
.registryIntegration(false)
.serviceSubnet("string")
.surgeUpgrade(false)
.tags("string")
.clusterSubnet("string")
.vpcUuid("string")
.build());
kubernetes_cluster_resource = digitalocean.KubernetesCluster("kubernetesClusterResource",
node_pool={
"name": "string",
"size": "string",
"actual_node_count": 0,
"auto_scale": False,
"id": "string",
"labels": {
"string": "string",
},
"max_nodes": 0,
"min_nodes": 0,
"node_count": 0,
"nodes": [{
"created_at": "string",
"droplet_id": "string",
"id": "string",
"name": "string",
"status": "string",
"updated_at": "string",
}],
"tags": ["string"],
"taints": [{
"effect": "string",
"key": "string",
"value": "string",
}],
},
version="string",
region="string",
ha=False,
maintenance_policy={
"day": "string",
"duration": "string",
"start_time": "string",
},
name="string",
auto_upgrade=False,
destroy_all_associated_resources=False,
registry_integration=False,
service_subnet="string",
surge_upgrade=False,
tags=["string"],
cluster_subnet="string",
vpc_uuid="string")
const kubernetesClusterResource = new digitalocean.KubernetesCluster("kubernetesClusterResource", {
nodePool: {
name: "string",
size: "string",
actualNodeCount: 0,
autoScale: false,
id: "string",
labels: {
string: "string",
},
maxNodes: 0,
minNodes: 0,
nodeCount: 0,
nodes: [{
createdAt: "string",
dropletId: "string",
id: "string",
name: "string",
status: "string",
updatedAt: "string",
}],
tags: ["string"],
taints: [{
effect: "string",
key: "string",
value: "string",
}],
},
version: "string",
region: "string",
ha: false,
maintenancePolicy: {
day: "string",
duration: "string",
startTime: "string",
},
name: "string",
autoUpgrade: false,
destroyAllAssociatedResources: false,
registryIntegration: false,
serviceSubnet: "string",
surgeUpgrade: false,
tags: ["string"],
clusterSubnet: "string",
vpcUuid: "string",
});
type: digitalocean:KubernetesCluster
properties:
autoUpgrade: false
clusterSubnet: string
destroyAllAssociatedResources: false
ha: false
maintenancePolicy:
day: string
duration: string
startTime: string
name: string
nodePool:
actualNodeCount: 0
autoScale: false
id: string
labels:
string: string
maxNodes: 0
minNodes: 0
name: string
nodeCount: 0
nodes:
- createdAt: string
dropletId: string
id: string
name: string
status: string
updatedAt: string
size: string
tags:
- string
taints:
- effect: string
key: string
value: string
region: string
registryIntegration: false
serviceSubnet: string
surgeUpgrade: false
tags:
- string
version: string
vpcUuid: string
KubernetesCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The KubernetesCluster resource accepts the following input properties:
- Node
Pool Pulumi.Digital Ocean. Inputs. Kubernetes Cluster Node Pool - A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the
digitalocean.KubernetesNodePool
resource. The following arguments may be specified: - Region
string | Pulumi.
Digital Ocean. Region - The slug identifier for the region where the Kubernetes cluster will be created.
- Version string
- The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions
doctl kubernetes options versions
. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) - 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. For more information, see here.
- Destroy
All boolAssociated Resources Use with caution. When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- Ha bool
- Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
- Maintenance
Policy Pulumi.Digital Ocean. Inputs. Kubernetes Cluster Maintenance Policy - A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen.
auto_upgrade
must be set totrue
for this to have an effect. - Name string
- A name for the Kubernetes cluster.
- Registry
Integration bool - Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
- Service
Subnet string - The range of assignable IP addresses for services running in the Kubernetes cluster. For more information, see here.
- Surge
Upgrade bool - Enable/disable surge upgrades for a cluster. Default: true
- List<string>
- A list of tag names to be applied to the Kubernetes cluster.
- Vpc
Uuid string - The ID of the VPC where the Kubernetes cluster will be located.
- Node
Pool KubernetesCluster Node Pool Args - A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the
digitalocean.KubernetesNodePool
resource. The following arguments may be specified: - Region string | Region
- The slug identifier for the region where the Kubernetes cluster will be created.
- Version string
- The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions
doctl kubernetes options versions
. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) - 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. For more information, see here.
- Destroy
All boolAssociated Resources Use with caution. When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- Ha bool
- Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
- Maintenance
Policy KubernetesCluster Maintenance Policy Args - A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen.
auto_upgrade
must be set totrue
for this to have an effect. - Name string
- A name for the Kubernetes cluster.
- Registry
Integration bool - Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
- Service
Subnet string - The range of assignable IP addresses for services running in the Kubernetes cluster. For more information, see here.
- Surge
Upgrade bool - Enable/disable surge upgrades for a cluster. Default: true
- []string
- A list of tag names to be applied to the Kubernetes cluster.
- Vpc
Uuid string - The ID of the VPC where the Kubernetes cluster will be located.
- node
Pool KubernetesCluster Node Pool - A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the
digitalocean.KubernetesNodePool
resource. The following arguments may be specified: - region String | Region
- The slug identifier for the region where the Kubernetes cluster will be created.
- version String
- The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions
doctl kubernetes options versions
. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) - 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. For more information, see here.
- destroy
All BooleanAssociated Resources Use with caution. When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- ha Boolean
- Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
- maintenance
Policy KubernetesCluster Maintenance Policy - A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen.
auto_upgrade
must be set totrue
for this to have an effect. - name String
- A name for the Kubernetes cluster.
- registry
Integration Boolean - Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
- service
Subnet String - The range of assignable IP addresses for services running in the Kubernetes cluster. For more information, see here.
- surge
Upgrade Boolean - Enable/disable surge upgrades for a cluster. Default: true
- List<String>
- A list of tag names to be applied to the Kubernetes cluster.
- vpc
Uuid String - The ID of the VPC where the Kubernetes cluster will be located.
- node
Pool KubernetesCluster Node Pool - A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the
digitalocean.KubernetesNodePool
resource. The following arguments may be specified: - region string | Region
- The slug identifier for the region where the Kubernetes cluster will be created.
- version string
- The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions
doctl kubernetes options versions
. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) - 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. For more information, see here.
- destroy
All booleanAssociated Resources Use with caution. When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- ha boolean
- Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
- maintenance
Policy KubernetesCluster Maintenance Policy - A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen.
auto_upgrade
must be set totrue
for this to have an effect. - name string
- A name for the Kubernetes cluster.
- registry
Integration boolean - Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
- service
Subnet string - The range of assignable IP addresses for services running in the Kubernetes cluster. For more information, see here.
- surge
Upgrade boolean - Enable/disable surge upgrades for a cluster. Default: true
- string[]
- A list of tag names to be applied to the Kubernetes cluster.
- vpc
Uuid string - The ID of the VPC where the Kubernetes cluster will be located.
- node_
pool KubernetesCluster Node Pool Args - A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the
digitalocean.KubernetesNodePool
resource. The following arguments may be specified: - region str | Region
- The slug identifier for the region where the Kubernetes cluster will be created.
- version str
- The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions
doctl kubernetes options versions
. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) - 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. For more information, see here.
- destroy_
all_ boolassociated_ resources Use with caution. When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- ha bool
- Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
- maintenance_
policy KubernetesCluster Maintenance Policy Args - A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen.
auto_upgrade
must be set totrue
for this to have an effect. - name str
- A name for the Kubernetes cluster.
- registry_
integration bool - Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
- service_
subnet str - The range of assignable IP addresses for services running in the Kubernetes cluster. For more information, see here.
- surge_
upgrade bool - Enable/disable surge upgrades for a cluster. Default: true
- Sequence[str]
- A list of tag names to be applied to the Kubernetes cluster.
- vpc_
uuid str - The ID of the VPC where the Kubernetes cluster will be located.
- node
Pool Property Map - A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the
digitalocean.KubernetesNodePool
resource. The following arguments may be specified: - region String | "nyc1" | "nyc2" | "nyc3" | "sgp1" | "lon1" | "ams2" | "ams3" | "fra1" | "tor1" | "sfo1" | "sfo2" | "sfo3" | "blr1" | "syd1"
- The slug identifier for the region where the Kubernetes cluster will be created.
- version String
- The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions
doctl kubernetes options versions
. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) - 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. For more information, see here.
- destroy
All BooleanAssociated Resources Use with caution. When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- ha Boolean
- Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
- maintenance
Policy Property Map - A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen.
auto_upgrade
must be set totrue
for this to have an effect. - name String
- A name for the Kubernetes cluster.
- registry
Integration Boolean - Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
- service
Subnet String - The range of assignable IP addresses for services running in the Kubernetes cluster. For more information, see here.
- surge
Upgrade Boolean - Enable/disable surge upgrades for a cluster. Default: true
- List<String>
- A list of tag names to be applied to the Kubernetes cluster.
- vpc
Uuid String - The ID of the VPC where the Kubernetes cluster will be located.
Outputs
All input properties are implicitly available as output properties. Additionally, the KubernetesCluster resource produces the following output properties:
- Cluster
Urn string - The uniform resource name (URN) for 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Address string
- The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
- Kube
Configs List<Pulumi.Digital Ocean. Outputs. Kubernetes Cluster Kube Config> - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- 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.
- Cluster
Urn string - The uniform resource name (URN) for 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Address string
- The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
- Kube
Configs []KubernetesCluster Kube Config - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- 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.
- cluster
Urn String - The uniform resource name (URN) for 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.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Address String
- The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
- kube
Configs List<KubernetesCluster Kube Config> - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- 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.
- cluster
Urn string - The uniform resource name (URN) for 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.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv4Address string
- The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
- kube
Configs KubernetesCluster Kube Config[] - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- 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.
- cluster_
urn str - The uniform resource name (URN) for 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.
- id str
- The provider-assigned unique ID for this managed resource.
- ipv4_
address str - The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
- kube_
configs Sequence[KubernetesCluster Kube Config] - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- 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.
- cluster
Urn String - The uniform resource name (URN) for 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.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Address String
- The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
- kube
Configs List<Property Map> - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- 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.
Look up Existing KubernetesCluster Resource
Get an existing KubernetesCluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KubernetesClusterState, opts?: CustomResourceOptions): KubernetesCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_upgrade: Optional[bool] = None,
cluster_subnet: Optional[str] = None,
cluster_urn: Optional[str] = None,
created_at: Optional[str] = None,
destroy_all_associated_resources: Optional[bool] = None,
endpoint: Optional[str] = None,
ha: Optional[bool] = None,
ipv4_address: Optional[str] = None,
kube_configs: Optional[Sequence[KubernetesClusterKubeConfigArgs]] = None,
maintenance_policy: Optional[KubernetesClusterMaintenancePolicyArgs] = None,
name: Optional[str] = None,
node_pool: Optional[KubernetesClusterNodePoolArgs] = None,
region: Optional[Union[str, Region]] = None,
registry_integration: Optional[bool] = None,
service_subnet: Optional[str] = None,
status: Optional[str] = None,
surge_upgrade: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
updated_at: Optional[str] = None,
version: Optional[str] = None,
vpc_uuid: Optional[str] = None) -> KubernetesCluster
func GetKubernetesCluster(ctx *Context, name string, id IDInput, state *KubernetesClusterState, opts ...ResourceOption) (*KubernetesCluster, error)
public static KubernetesCluster Get(string name, Input<string> id, KubernetesClusterState? state, CustomResourceOptions? opts = null)
public static KubernetesCluster get(String name, Output<String> id, KubernetesClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- 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. For more information, see here.
- Cluster
Urn string - The uniform resource name (URN) for the Kubernetes cluster.
- Created
At string - The date and time when the node was created.
- Destroy
All boolAssociated Resources Use with caution. When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- Endpoint string
- The base URL of the API server on the Kubernetes master node.
- Ha bool
- Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
- Ipv4Address string
- The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
- Kube
Configs List<Pulumi.Digital Ocean. Inputs. Kubernetes Cluster Kube Config> - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- Maintenance
Policy Pulumi.Digital Ocean. Inputs. Kubernetes Cluster Maintenance Policy - A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen.
auto_upgrade
must be set totrue
for this to have an effect. - Name string
- A name for the Kubernetes cluster.
- Node
Pool Pulumi.Digital Ocean. Inputs. Kubernetes Cluster Node Pool - A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the
digitalocean.KubernetesNodePool
resource. The following arguments may be specified: - Region
string | Pulumi.
Digital Ocean. Region - The slug identifier for the region where the Kubernetes cluster will be created.
- Registry
Integration bool - Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
- Service
Subnet string - The range of assignable IP addresses for services running in the Kubernetes cluster. For more information, see here.
- Status string
- A string indicating the current status of the individual node.
- Surge
Upgrade bool - Enable/disable surge upgrades for a cluster. Default: true
- List<string>
- A list of tag names to be applied to the Kubernetes cluster.
- Updated
At string - The date and time when the node was last updated.
- Version string
- The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions
doctl kubernetes options versions
. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) - Vpc
Uuid string - The ID of the VPC where the Kubernetes cluster will be located.
- 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. For more information, see here.
- Cluster
Urn string - The uniform resource name (URN) for the Kubernetes cluster.
- Created
At string - The date and time when the node was created.
- Destroy
All boolAssociated Resources Use with caution. When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- Endpoint string
- The base URL of the API server on the Kubernetes master node.
- Ha bool
- Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
- Ipv4Address string
- The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
- Kube
Configs []KubernetesCluster Kube Config Args - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- Maintenance
Policy KubernetesCluster Maintenance Policy Args - A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen.
auto_upgrade
must be set totrue
for this to have an effect. - Name string
- A name for the Kubernetes cluster.
- Node
Pool KubernetesCluster Node Pool Args - A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the
digitalocean.KubernetesNodePool
resource. The following arguments may be specified: - Region string | Region
- The slug identifier for the region where the Kubernetes cluster will be created.
- Registry
Integration bool - Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
- Service
Subnet string - The range of assignable IP addresses for services running in the Kubernetes cluster. For more information, see here.
- Status string
- A string indicating the current status of the individual node.
- Surge
Upgrade bool - Enable/disable surge upgrades for a cluster. Default: true
- []string
- A list of tag names to be applied to the Kubernetes cluster.
- Updated
At string - The date and time when the node was last updated.
- Version string
- The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions
doctl kubernetes options versions
. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) - Vpc
Uuid string - The ID of the VPC where the Kubernetes cluster will be located.
- 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. For more information, see here.
- cluster
Urn String - The uniform resource name (URN) for the Kubernetes cluster.
- created
At String - The date and time when the node was created.
- destroy
All BooleanAssociated Resources Use with caution. When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- endpoint String
- The base URL of the API server on the Kubernetes master node.
- ha Boolean
- Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
- ipv4Address String
- The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
- kube
Configs List<KubernetesCluster Kube Config> - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- maintenance
Policy KubernetesCluster Maintenance Policy - A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen.
auto_upgrade
must be set totrue
for this to have an effect. - name String
- A name for the Kubernetes cluster.
- node
Pool KubernetesCluster Node Pool - A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the
digitalocean.KubernetesNodePool
resource. The following arguments may be specified: - region String | Region
- The slug identifier for the region where the Kubernetes cluster will be created.
- registry
Integration Boolean - Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
- service
Subnet String - The range of assignable IP addresses for services running in the Kubernetes cluster. For more information, see here.
- status String
- A string indicating the current status of the individual node.
- surge
Upgrade Boolean - Enable/disable surge upgrades for a cluster. Default: true
- List<String>
- A list of tag names to be applied to the Kubernetes cluster.
- updated
At String - The date and time when the node was last updated.
- version String
- The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions
doctl kubernetes options versions
. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) - vpc
Uuid String - The ID of the VPC where the Kubernetes cluster will be located.
- 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. For more information, see here.
- cluster
Urn string - The uniform resource name (URN) for the Kubernetes cluster.
- created
At string - The date and time when the node was created.
- destroy
All booleanAssociated Resources Use with caution. When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- endpoint string
- The base URL of the API server on the Kubernetes master node.
- ha boolean
- Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
- ipv4Address string
- The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
- kube
Configs KubernetesCluster Kube Config[] - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- maintenance
Policy KubernetesCluster Maintenance Policy - A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen.
auto_upgrade
must be set totrue
for this to have an effect. - name string
- A name for the Kubernetes cluster.
- node
Pool KubernetesCluster Node Pool - A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the
digitalocean.KubernetesNodePool
resource. The following arguments may be specified: - region string | Region
- The slug identifier for the region where the Kubernetes cluster will be created.
- registry
Integration boolean - Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
- service
Subnet string - The range of assignable IP addresses for services running in the Kubernetes cluster. For more information, see here.
- status string
- A string indicating the current status of the individual node.
- surge
Upgrade boolean - Enable/disable surge upgrades for a cluster. Default: true
- string[]
- A list of tag names to be applied to the Kubernetes cluster.
- updated
At string - The date and time when the node was last updated.
- version string
- The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions
doctl kubernetes options versions
. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) - vpc
Uuid string - The ID of the VPC where the Kubernetes cluster will be located.
- 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. For more information, see here.
- cluster_
urn str - The uniform resource name (URN) for the Kubernetes cluster.
- created_
at str - The date and time when the node was created.
- destroy_
all_ boolassociated_ resources Use with caution. When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- endpoint str
- The base URL of the API server on the Kubernetes master node.
- ha bool
- Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
- ipv4_
address str - The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
- kube_
configs Sequence[KubernetesCluster Kube Config Args] - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- maintenance_
policy KubernetesCluster Maintenance Policy Args - A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen.
auto_upgrade
must be set totrue
for this to have an effect. - name str
- A name for the Kubernetes cluster.
- node_
pool KubernetesCluster Node Pool Args - A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the
digitalocean.KubernetesNodePool
resource. The following arguments may be specified: - region str | Region
- The slug identifier for the region where the Kubernetes cluster will be created.
- registry_
integration bool - Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
- service_
subnet str - The range of assignable IP addresses for services running in the Kubernetes cluster. For more information, see here.
- status str
- A string indicating the current status of the individual node.
- surge_
upgrade bool - Enable/disable surge upgrades for a cluster. Default: true
- Sequence[str]
- A list of tag names to be applied to the Kubernetes cluster.
- updated_
at str - The date and time when the node was last updated.
- version str
- The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions
doctl kubernetes options versions
. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) - vpc_
uuid str - The ID of the VPC where the Kubernetes cluster will be located.
- 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. For more information, see here.
- cluster
Urn String - The uniform resource name (URN) for the Kubernetes cluster.
- created
At String - The date and time when the node was created.
- destroy
All BooleanAssociated Resources Use with caution. When set to true, all associated DigitalOcean resources created via the Kubernetes API (load balancers, volumes, and volume snapshots) will be destroyed along with the cluster when it is destroyed.
This resource supports customized create timeouts. The default timeout is 30 minutes.
- endpoint String
- The base URL of the API server on the Kubernetes master node.
- ha Boolean
- Enable/disable the high availability control plane for a cluster. Once enabled for a cluster, high availability cannot be disabled. Default: false
- ipv4Address String
- The public IPv4 address of the Kubernetes master node. This will not be set if high availability is configured on the cluster (v1.21+)
- kube
Configs List<Property Map> - A representation of the Kubernetes cluster's kubeconfig with the following attributes:
- maintenance
Policy Property Map - A block representing the cluster's maintenance window. Updates will be applied within this window. If not specified, a default maintenance window will be chosen.
auto_upgrade
must be set totrue
for this to have an effect. - name String
- A name for the Kubernetes cluster.
- node
Pool Property Map - A block representing the cluster's default node pool. Additional node pools may be added to the cluster using the
digitalocean.KubernetesNodePool
resource. The following arguments may be specified: - region String | "nyc1" | "nyc2" | "nyc3" | "sgp1" | "lon1" | "ams2" | "ams3" | "fra1" | "tor1" | "sfo1" | "sfo2" | "sfo3" | "blr1" | "syd1"
- The slug identifier for the region where the Kubernetes cluster will be created.
- registry
Integration Boolean - Enables or disables the DigitalOcean container registry integration for the cluster. This requires that a container registry has first been created for the account. Default: false
- service
Subnet String - The range of assignable IP addresses for services running in the Kubernetes cluster. For more information, see here.
- status String
- A string indicating the current status of the individual node.
- surge
Upgrade Boolean - Enable/disable surge upgrades for a cluster. Default: true
- List<String>
- A list of tag names to be applied to the Kubernetes cluster.
- updated
At String - The date and time when the node was last updated.
- version String
- The slug identifier for the version of Kubernetes used for the cluster. Use doctl to find the available versions
doctl kubernetes options versions
. (Note: A cluster may only be upgraded to newer versions in-place. If the version is decreased, a new resource will be created.) - vpc
Uuid String - The ID of the VPC where the Kubernetes cluster will be located.
Supporting Types
KubernetesClusterKubeConfig, KubernetesClusterKubeConfigArgs
- 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.
KubernetesClusterMaintenancePolicy, KubernetesClusterMaintenancePolicyArgs
- Day string
- The day of the maintenance window policy. May be one of "monday" through "sunday", or "any" to indicate an arbitrary week day.
- Duration string
- A string denoting the duration of the service window, e.g., "04:00".
- Start
Time string - The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).
- Day string
- The day of the maintenance window policy. May be one of "monday" through "sunday", or "any" to indicate an arbitrary week day.
- Duration string
- A string denoting the duration of the service window, e.g., "04:00".
- Start
Time string - The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).
- day String
- The day of the maintenance window policy. May be one of "monday" through "sunday", or "any" to indicate an arbitrary week day.
- duration String
- A string denoting the duration of the service window, e.g., "04:00".
- start
Time String - The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).
- day string
- The day of the maintenance window policy. May be one of "monday" through "sunday", or "any" to indicate an arbitrary week day.
- duration string
- A string denoting the duration of the service window, e.g., "04:00".
- start
Time string - The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).
- day str
- The day of the maintenance window policy. May be one of "monday" through "sunday", or "any" to indicate an arbitrary week day.
- duration str
- A string denoting the duration of the service window, e.g., "04:00".
- start_
time str - The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).
- day String
- The day of the maintenance window policy. May be one of "monday" through "sunday", or "any" to indicate an arbitrary week day.
- duration String
- A string denoting the duration of the service window, e.g., "04:00".
- start
Time String - The start time in UTC of the maintenance window policy in 24-hour clock format / HH:MM notation (e.g., 15:00).
KubernetesClusterNodePool, KubernetesClusterNodePoolArgs
- Name string
- A name for the node pool.
- Size string
- The slug identifier for the type of Droplet to be used as workers in the node pool.
- Actual
Node intCount - A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- Auto
Scale bool - Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
- 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 to apply 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.
- Node
Count int - The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
- Nodes
List<Pulumi.
Digital Ocean. Inputs. Kubernetes Cluster Node Pool Node> - A list of nodes in the pool. Each node exports the following attributes:
- List<string>
- A list of tag names applied to the node pool.
- Taints
List<Pulumi.
Digital Ocean. Inputs. Kubernetes Cluster Node Pool Taint> - A block representing a taint applied to all nodes in the pool. Each taint exports the following attributes (taints must be unique by key and effect pair):
- Name string
- A name for the node pool.
- Size string
- The slug identifier for the type of Droplet to be used as workers in the node pool.
- Actual
Node intCount - A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- Auto
Scale bool - Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
- 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 to apply 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.
- Node
Count int - The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
- Nodes
[]Kubernetes
Cluster Node Pool Node - A list of nodes in the pool. Each node exports the following attributes:
- []string
- A list of tag names applied to the node pool.
- Taints
[]Kubernetes
Cluster Node Pool Taint - A block representing a taint applied to all nodes in the pool. Each taint exports the following attributes (taints must be unique by key and effect pair):
- name String
- A name for the node pool.
- size String
- The slug identifier for the type of Droplet to be used as workers in the node pool.
- actual
Node IntegerCount - A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- auto
Scale Boolean - Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
- 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 to apply 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.
- node
Count Integer - The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
- nodes
List<Kubernetes
Cluster Node Pool Node> - A list of nodes in the pool. Each node exports the following attributes:
- List<String>
- A list of tag names applied to the node pool.
- taints
List<Kubernetes
Cluster Node Pool Taint> - A block representing a taint applied to all nodes in the pool. Each taint exports the following attributes (taints must be unique by key and effect pair):
- name string
- A name for the node pool.
- size string
- The slug identifier for the type of Droplet to be used as workers in the node pool.
- actual
Node numberCount - A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- auto
Scale boolean - Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
- 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 to apply 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.
- node
Count number - The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
- nodes
Kubernetes
Cluster Node Pool Node[] - A list of nodes in the pool. Each node exports the following attributes:
- string[]
- A list of tag names applied to the node pool.
- taints
Kubernetes
Cluster Node Pool Taint[] - A block representing a taint applied to all nodes in the pool. Each taint exports the following attributes (taints must be unique by key and effect pair):
- name str
- A name for the node pool.
- size str
- The slug identifier for the type of Droplet to be used as workers in the node pool.
- actual_
node_ intcount - A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- auto_
scale bool - Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
- 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 to apply 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.
- node_
count int - The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
- nodes
Sequence[Kubernetes
Cluster Node Pool Node] - A list of nodes in the pool. Each node exports the following attributes:
- Sequence[str]
- A list of tag names applied to the node pool.
- taints
Sequence[Kubernetes
Cluster Node Pool Taint] - A block representing a taint applied to all nodes in the pool. Each taint exports the following attributes (taints must be unique by key and effect pair):
- name String
- A name for the node pool.
- size String
- The slug identifier for the type of Droplet to be used as workers in the node pool.
- actual
Node NumberCount - A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
- auto
Scale Boolean - Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
- id String
- A unique ID that can be used to identify and reference the node.
- labels Map<String>
- A map of key/value pairs to apply 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.
- node
Count Number - The number of Droplet instances in the node pool. If auto-scaling is enabled, this should only be set if the desired result is to explicitly reset the number of nodes to this value. If auto-scaling is enabled, and the node count is outside of the given min/max range, it will use the min nodes value.
- nodes List<Property Map>
- A list of nodes in the pool. Each node exports the following attributes:
- List<String>
- A list of tag names applied to the node pool.
- taints List<Property Map>
- A block representing a taint applied to all nodes in the pool. Each taint exports the following attributes (taints must be unique by key and effect pair):
KubernetesClusterNodePoolNode, KubernetesClusterNodePoolNodeArgs
- Created
At string - The date and time when the node was created.
- Droplet
Id string - The id of the node's droplet
- Id string
- A unique ID that can be used to identify and reference the node.
- Name string
- A name for the 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 - The id of the node's droplet
- Id string
- A unique ID that can be used to identify and reference the node.
- Name string
- A name for the 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 - The id of the node's droplet
- id String
- A unique ID that can be used to identify and reference the node.
- name String
- A name for the 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 - The id of the node's droplet
- id string
- A unique ID that can be used to identify and reference the node.
- name string
- A name for the 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 - The id of the node's droplet
- id str
- A unique ID that can be used to identify and reference the node.
- name str
- A name for the 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 - The id of the node's droplet
- id String
- A unique ID that can be used to identify and reference the node.
- name String
- A name for the 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.
KubernetesClusterNodePoolTaint, KubernetesClusterNodePoolTaintArgs
- 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.
Region, RegionArgs
- NYC1
- nyc1
- NYC2
- nyc2
- NYC3
- nyc3
- SGP1
- sgp1
- LON1
- lon1
- AMS2
- ams2
- AMS3
- ams3
- FRA1
- fra1
- TOR1
- tor1
- SFO1
- sfo1
- SFO2
- sfo2
- SFO3
- sfo3
- BLR1
- blr1
- SYD1
- syd1
- Region
NYC1 - nyc1
- Region
NYC2 - nyc2
- Region
NYC3 - nyc3
- Region
SGP1 - sgp1
- Region
LON1 - lon1
- Region
AMS2 - ams2
- Region
AMS3 - ams3
- Region
FRA1 - fra1
- Region
TOR1 - tor1
- Region
SFO1 - sfo1
- Region
SFO2 - sfo2
- Region
SFO3 - sfo3
- Region
BLR1 - blr1
- Region
SYD1 - syd1
- NYC1
- nyc1
- NYC2
- nyc2
- NYC3
- nyc3
- SGP1
- sgp1
- LON1
- lon1
- AMS2
- ams2
- AMS3
- ams3
- FRA1
- fra1
- TOR1
- tor1
- SFO1
- sfo1
- SFO2
- sfo2
- SFO3
- sfo3
- BLR1
- blr1
- SYD1
- syd1
- NYC1
- nyc1
- NYC2
- nyc2
- NYC3
- nyc3
- SGP1
- sgp1
- LON1
- lon1
- AMS2
- ams2
- AMS3
- ams3
- FRA1
- fra1
- TOR1
- tor1
- SFO1
- sfo1
- SFO2
- sfo2
- SFO3
- sfo3
- BLR1
- blr1
- SYD1
- syd1
- NYC1
- nyc1
- NYC2
- nyc2
- NYC3
- nyc3
- SGP1
- sgp1
- LON1
- lon1
- AMS2
- ams2
- AMS3
- ams3
- FRA1
- fra1
- TOR1
- tor1
- SFO1
- sfo1
- SFO2
- sfo2
- SFO3
- sfo3
- BLR1
- blr1
- SYD1
- syd1
- "nyc1"
- nyc1
- "nyc2"
- nyc2
- "nyc3"
- nyc3
- "sgp1"
- sgp1
- "lon1"
- lon1
- "ams2"
- ams2
- "ams3"
- ams3
- "fra1"
- fra1
- "tor1"
- tor1
- "sfo1"
- sfo1
- "sfo2"
- sfo2
- "sfo3"
- sfo3
- "blr1"
- blr1
- "syd1"
- syd1
Package Details
- Repository
- DigitalOcean pulumi/pulumi-digitalocean
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
digitalocean
Terraform Provider.