Class KubernetesNodePoolArgs
Inherited Members
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class KubernetesNodePoolArgs : ResourceArgs
Constructors
View SourceKubernetesNodePoolArgs()
Declaration
public KubernetesNodePoolArgs()
Properties
View SourceAutoScale
Enable auto-scaling of the number of nodes in the node pool within the given min/max range.
Declaration
public Input<bool> AutoScale { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
ClusterId
The ID of the Kubernetes cluster to which the node pool is associated.
Declaration
public Input<string> ClusterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Labels
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 InputMap<string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
MaxNodes
If auto-scaling is enabled, this represents the maximum number of nodes that the node pool can be scaled up to.
Declaration
public Input<int> MaxNodes { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
MinNodes
If auto-scaling is enabled, this represents the minimum number of nodes that the node pool can be scaled down to.
Declaration
public Input<int> MinNodes { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Name
A name for the node pool.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NodeCount
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.
Declaration
public Input<int> NodeCount { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Size
The slug identifier for the type of Droplet to be used as workers in the node pool.
Declaration
public Input<string> Size { 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> |