Class NodePoolState
Inherited Members
Namespace: Pulumi.Gcp.Container
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class NodePoolState : ResourceArgs
Constructors
View SourceNodePoolState()
Declaration
public NodePoolState()
Properties
View SourceAutoscaling
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<NodePoolAutoscalingGetArgs> Autoscaling { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<NodePoolAutoscalingGetArgs> |
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> |
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> |
InstanceGroupUrls
The resource URLs of the managed instance groups associated with this node pool.
Declaration
public InputList<string> InstanceGroupUrls { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Location
The location (region or zone) of the cluster.
Declaration
public Input<string> Location { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Management
Node management configuration, wherein auto-repair and auto-upgrade is configured. Structure is documented below.
Declaration
public Input<NodePoolManagementGetArgs> Management { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<NodePoolManagementGetArgs> |
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> |
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> |
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> |
NodeConfig
The node configuration of the pool. See gcp.container.Cluster for schema.
Declaration
public Input<NodePoolNodeConfigGetArgs> NodeConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<NodePoolNodeConfigGetArgs> |
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> |
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> |
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> |
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<NodePoolUpgradeSettingsGetArgs> UpgradeSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<NodePoolUpgradeSettingsGetArgs> |
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> |