Class KubernetesNodePoolState
Inherited Members
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class KubernetesNodePoolState : ResourceArgs
Constructors
View SourceKubernetesNodePoolState()
Declaration
public KubernetesNodePoolState()
Properties
View SourceActualNodeCount
A computed field representing the actual number of nodes in the node pool, which is especially useful when auto-scaling is enabled.
Declaration
public Input<int> ActualNodeCount { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
AutoScale
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> |
Nodes
A list of nodes in the pool. Each node exports the following attributes:
id- A unique ID that can be used to identify and reference the node.name- The auto-generated name for the node.status- A string indicating the current status of the individual node.droplet_id- The id of the node's dropletcreated_at- The date and time when the node was created.updated_at- The date and time when the node was last updated.
Declaration
public InputList<KubernetesNodePoolNodeGetArgs> Nodes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<KubernetesNodePoolNodeGetArgs> |
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> |