Show / Hide Table of Contents

Class NodePoolArgs

Inheritance
System.Object
InputArgs
ResourceArgs
NodePoolArgs
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.Gcp.Container
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class NodePoolArgs : ResourceArgs

Constructors

View Source

NodePoolArgs()

Declaration
public NodePoolArgs()

Properties

View Source

Autoscaling

Configuration required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. Structure is documented below.

Declaration
public Input<NodePoolAutoscalingArgs> Autoscaling { get; set; }
Property Value
Type Description
Input<NodePoolAutoscalingArgs>
View Source

Cluster

The cluster to create the node pool for. Cluster must be present in location provided for zonal clusters.

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

InitialNodeCount

The initial number of nodes for the pool. In regional or multi-zonal clusters, this is the number of nodes per zone. Changing this will force recreation of the resource.

Declaration
public Input<int> InitialNodeCount { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Location

The location (region or zone) of the cluster.

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

Management

Node management configuration, wherein auto-repair and auto-upgrade is configured. Structure is documented below.

Declaration
public Input<NodePoolManagementArgs> Management { get; set; }
Property Value
Type Description
Input<NodePoolManagementArgs>
View Source

MaxPodsPerNode

The maximum number of pods per node in this node pool. Note that this does not work on node pools which are "route-based" - that is, node pools belonging to clusters that do not have IP Aliasing enabled. See the official documentation for more information.

Declaration
public Input<int> MaxPodsPerNode { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Name

The name of the node pool. If left blank, the provider will auto-generate a unique name.

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

NamePrefix

Creates a unique name for the node pool beginning with the specified prefix. Conflicts with name.

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

NodeConfig

The node configuration of the pool. See gcp.container.Cluster for schema.

Declaration
public Input<NodePoolNodeConfigArgs> NodeConfig { get; set; }
Property Value
Type Description
Input<NodePoolNodeConfigArgs>
View Source

NodeCount

The number of nodes per instance group. This field can be used to update the number of nodes per instance group but should not be used alongside autoscaling.

Declaration
public Input<int> NodeCount { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

NodeLocations

The list of zones in which the node pool's nodes should be located. Nodes must be in the region of their regional cluster or in the same region as their cluster's zone for zonal clusters. If unspecified, the cluster-level node_locations will be used.

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

Project

The ID of the project in which to create the node pool. If blank, the provider-configured project will be used.

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

UpgradeSettings

Specify node upgrade settings to change how many nodes GKE attempts to upgrade at once. The number of nodes upgraded simultaneously is the sum of max_surge and max_unavailable. The maximum number of nodes upgraded simultaneously is limited to 20.

Declaration
public Input<NodePoolUpgradeSettingsArgs> UpgradeSettings { get; set; }
Property Value
Type Description
Input<NodePoolUpgradeSettingsArgs>
View Source

Version

The Kubernetes version for the nodes in this pool. Note that if this field and auto_upgrade are both specified, they will fight each other for what the node version should be, so setting both is highly discouraged. While a fuzzy version can be specified, it's recommended that you specify explicit versions as the provider will see spurious diffs when fuzzy versions are used. See the gcp.container.getEngineVersions data source's version_prefix field to approximate fuzzy versions in a provider-compatible way.

Declaration
public Input<string> Version { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.