Show / Hide Table of Contents

Class KubernetesNodePoolState

Inheritance
System.Object
InputArgs
ResourceArgs
KubernetesNodePoolState
Inherited Members
ResourceArgs.Empty
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 KubernetesNodePoolState : ResourceArgs

Constructors

View Source

KubernetesNodePoolState()

Declaration
public KubernetesNodePoolState()

Properties

View Source

ActualNodeCount

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Name

A name for the node pool.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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 droplet
  • created_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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.