@@ -7452,7 +7452,13 @@ paths:
74527452 "node_pools": [
74537453 {
74547454 "type": "g6-standard-4",
7455- "count": 6
7455+ "count": 6,
7456+ "autoscaler": {
7457+ "enabled": true,
7458+ "max": 12,
7459+ "min": 3
7460+ }
7461+ }
74567462 },
74577463 {
74587464 "type": "g6-standard-8",
@@ -7746,7 +7752,12 @@ paths:
77467752 -X POST -d '{
77477753 "type": "g6-standard-4",
77487754 "count": 6,
7749- "tags": ["example-tag"]
7755+ "tags": ["example-tag"],
7756+ "autoscaler": {
7757+ "enabled": true,
7758+ "max": 12,
7759+ "min": 3
7760+ }
77507761 }' \
77517762 https://api.linode.com/v4/lke/clusters/12345/pools
77527763 - lang: CLI
@@ -19168,6 +19179,30 @@ components:
1916819179 Specifies a collection of Linodes which will be members of a Kubernetes
1916919180 cluster.
1917019181 properties:
19182+ autoscaler:
19183+ type: object
19184+ description: |
19185+ When enabled, the number of nodes autoscales within the defined minimum and maximum values.
19186+
19187+ When making a request, `max` and `min` require each other.
19188+ properties:
19189+ enabled:
19190+ type: boolean
19191+ description: Whether autoscaling is enabled for this Node Pool. Defaults to `false`.
19192+ example: true
19193+ max:
19194+ type: integer
19195+ minimum: 1
19196+ maximum: 100
19197+ description: |
19198+ The maximum number of nodes to autoscale to. Defaults to the Node Pool's `count`.
19199+ example: 12
19200+ min:
19201+ type: integer
19202+ minimum: 1
19203+ maximum: 100
19204+ description: The minimum number of nodes to autoscale to. Defaults to the Node Pool's `count`.
19205+ example: 3
1917119206 type:
1917219207 $ref: '#/components/schemas/LKENodePool/properties/type'
1917319208 count:
@@ -19198,6 +19233,27 @@ components:
1919819233 Node Pools consist of a Linode type, the number of Linodes to
1919919234 deploy of that type, and additional status information.
1920019235 properties:
19236+ autoscaler:
19237+ type: object
19238+ description: |
19239+ When enabled, the number of nodes autoscales within the defined minimum and maximum values.
19240+ properties:
19241+ enabled:
19242+ type: boolean
19243+ description: Whether autoscaling is enabled for this Node Pool.
19244+ example: true
19245+ max:
19246+ type: integer
19247+ minimum: 1
19248+ maximum: 100
19249+ description: The maximum number of nodes to autoscale to.
19250+ example: 12
19251+ min:
19252+ type: integer
19253+ minimum: 1
19254+ maximum: 100
19255+ description: The minimum number of nodes to autoscale to.
19256+ example: 3
1920119257 type:
1920219258 type: string
1920319259 description: The Linode Type for all of the nodes in the Node Pool.
0 commit comments