Class KubernetesClusterArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class KubernetesClusterArgs : ResourceArgs
Constructors
View SourceKubernetesClusterArgs()
Declaration
public KubernetesClusterArgs()
Properties
View SourceName
A name for the Kubernetes cluster.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NodePool
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:
name- (Required) A name for the node pool.size- (Required) The slug identifier for the type of Droplet to be used as workers in the node pool.node_count- (Optional) 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.auto_scale- (Optional) Enable auto-scaling of the number of nodes in the node pool within the given min/max range.min_nodes- (Optional) If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.max_nodes- (Optional) If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.tags- (Optional) A list of tag names to be applied to the Kubernetes cluster.labels- (Optional) 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.
Declaration
public Input<KubernetesClusterNodePoolArgs> NodePool { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<KubernetesClusterNodePoolArgs> |
Region
The slug identifier for the region where the Kubernetes cluster will be created.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A list of tag names to be applied to the Kubernetes cluster.
Declaration
public InputList<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Version
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.)
Declaration
public Input<string> Version { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VpcUuid
The ID of the VPC where the Kubernetes cluster will be located.
Declaration
public Input<string> VpcUuid { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |