Maximum number of nodes in the node pool. Must be greater than or equal to
total_min_node_count. There has to be enough quota to scale up the cluster.
The total_*_node_count fields are mutually exclusive with the *_node_count
fields.
Minimum number of nodes in the node pool. Must be greater than or equal
to 0 and less than or equal to total_max_node_count.
The total_*_node_count fields are mutually exclusive with the *_node_count
fields.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eNodePoolAutoscaling\u003c/code\u003e in the Google Cloud Container v1 API is 3.33.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNodePoolAutoscaling\u003c/code\u003e is a class in the Google Kubernetes Engine v1 API that manages the automatic scaling of node pool sizes based on cluster usage.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eNodePoolAutoscaling\u003c/code\u003e includes properties such as \u003ccode\u003eEnabled\u003c/code\u003e, \u003ccode\u003eAutoprovisioned\u003c/code\u003e, \u003ccode\u003eMaxNodeCount\u003c/code\u003e, \u003ccode\u003eMinNodeCount\u003c/code\u003e, \u003ccode\u003eTotalMaxNodeCount\u003c/code\u003e, and \u003ccode\u003eTotalMinNodeCount\u003c/code\u003e to configure node pool scaling behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocationPolicy\u003c/code\u003e property in \u003ccode\u003eNodePoolAutoscaling\u003c/code\u003e determines the policy used when scaling up a node pool.\u003c/p\u003e\n"],["\u003cp\u003eThe page offers access to previous versions of \u003ccode\u003eNodePoolAutoscaling\u003c/code\u003e, ranging from version 2.3.0 up to 3.32.0.\u003c/p\u003e\n"]]],[],null,["# Google Kubernetes Engine v1 API - Class NodePoolAutoscaling (3.35.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.35.0 (latest)](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.34.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.34.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.33.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.33.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.32.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.32.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.31.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.31.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.30.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.30.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.29.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.29.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.28.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.28.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.27.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.27.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.26.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.26.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.25.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.25.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.24.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.24.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.23.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.23.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.22.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.21.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.20.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.19.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.18.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.17.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.16.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.15.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.14.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.13.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.12.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.11.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.10.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.9.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.8.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.7.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.6.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.5.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.4.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.3.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.2.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.1.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Container.V1/3.0.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.7.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.6.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.5.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.4.0/Google.Cloud.Container.V1.NodePoolAutoscaling)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Container.V1/2.3.0/Google.Cloud.Container.V1.NodePoolAutoscaling) \n\n public sealed class NodePoolAutoscaling : IMessage\u003cNodePoolAutoscaling\u003e, IEquatable\u003cNodePoolAutoscaling\u003e, IDeepCloneable\u003cNodePoolAutoscaling\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Kubernetes Engine v1 API class NodePoolAutoscaling.\n\nNodePoolAutoscaling contains information required by cluster autoscaler to\nadjust the size of the node pool to the current cluster usage. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e NodePoolAutoscaling \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[NodePoolAutoscaling](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.NodePoolAutoscaling), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[NodePoolAutoscaling](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.NodePoolAutoscaling), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[NodePoolAutoscaling](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1.NodePoolAutoscaling), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Container.V1](/dotnet/docs/reference/Google.Cloud.Container.V1/latest/Google.Cloud.Container.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Container.V1.dll\n\nConstructors\n------------\n\n### NodePoolAutoscaling()\n\n public NodePoolAutoscaling()\n\n### NodePoolAutoscaling(NodePoolAutoscaling)\n\n public NodePoolAutoscaling(NodePoolAutoscaling other)\n\nProperties\n----------\n\n### Autoprovisioned\n\n public bool Autoprovisioned { get; set; }\n\nCan this node pool be deleted automatically.\n\n### Enabled\n\n public bool Enabled { get; set; }\n\nIs autoscaling enabled for this node pool.\n\n### LocationPolicy\n\n public NodePoolAutoscaling.Types.LocationPolicy LocationPolicy { get; set; }\n\nLocation policy used when scaling up a nodepool.\n\n### MaxNodeCount\n\n public int MaxNodeCount { get; set; }\n\nMaximum number of nodes for one location in the node pool. Must be \\\u003e=\nmin_node_count. There has to be enough quota to scale up the cluster.\n\n### MinNodeCount\n\n public int MinNodeCount { get; set; }\n\nMinimum number of nodes for one location in the node pool. Must be greater\nthan or equal to 0 and less than or equal to max_node_count.\n\n### TotalMaxNodeCount\n\n public int TotalMaxNodeCount { get; set; }\n\nMaximum number of nodes in the node pool. Must be greater than or equal to\ntotal_min_node_count. There has to be enough quota to scale up the cluster.\nThe total_\\*_node_count fields are mutually exclusive with the \\*_node_count\nfields.\n\n### TotalMinNodeCount\n\n public int TotalMinNodeCount { get; set; }\n\nMinimum number of nodes in the node pool. Must be greater than or equal\nto 0 and less than or equal to total_max_node_count.\nThe total_\\*_node_count fields are mutually exclusive with the \\*_node_count\nfields."]]