Skip to content

Commit fe2cd76

Browse files
authored
docs: limits.nodes support for dynamic NodePools (#9062)
1 parent eaf07a7 commit fe2cd76

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/aws/karpenter-provider-aws
22

3-
go 1.26.1
3+
go 1.26.2
44

55
// TODO: migrate tablewriter to v1.0.8
66
// https://github.com/olekukonko/tablewriter/blob/c64d84b3ecc64a18cfc8ba10cdd8c52cc13a7d23/MIGRATION.md?plain=1#L661

website/content/en/docs/concepts/nodepools.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ spec:
149149
limits:
150150
cpu: "1000"
151151
memory: 1000Gi
152-
# For static NodePools, limits.nodes constrains maximum node count during scaling/drift
153-
# Note : Supported only for static NodePools
152+
# limits.nodes constrains maximum node count during scaling/drift
154153
nodes: 10
155154

156155
# Priority given to the NodePool when the scheduler considers which NodePool
@@ -418,7 +417,7 @@ The NodePool spec includes a limits section (`spec.limits`), which constrains th
418417

419418
If the `NodePool.spec.limits` section is unspecified, it means that there is no default limitation on resource allocation. In this case, the maximum resource consumption is governed by the quotas set by your cloud provider. If a limit has been exceeded, nodes provisioning is prevented until some nodes have been terminated.
420419

421-
**For Static NodePools:** Only `limits.nodes` is supported. This field constrains the maximum number of nodes during scaling operations or drift replacement. Note that `limits.nodes` is support only on static NodePools.
420+
The `limits.nodes` field constrains the maximum number of nodes during scaling operations or drift replacement.
422421

423422
```yaml
424423
apiVersion: karpenter.sh/v1

website/content/en/preview/concepts/nodepools.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ spec:
149149
limits:
150150
cpu: "1000"
151151
memory: 1000Gi
152-
# For static NodePools, limits.nodes constrains maximum node count during scaling/drift
153-
# Note : Supported only for static NodePools
152+
# limits.nodes constrains maximum node count during scaling/drift
154153
nodes: 10
155154

156155
# Priority given to the NodePool when the scheduler considers which NodePool
@@ -418,7 +417,7 @@ The NodePool spec includes a limits section (`spec.limits`), which constrains th
418417

419418
If the `NodePool.spec.limits` section is unspecified, it means that there is no default limitation on resource allocation. In this case, the maximum resource consumption is governed by the quotas set by your cloud provider. If a limit has been exceeded, nodes provisioning is prevented until some nodes have been terminated.
420419

421-
**For Static NodePools:** Only `limits.nodes` is supported. This field constrains the maximum number of nodes during scaling operations or drift replacement. Note that `limits.nodes` is support only on static NodePools.
420+
The `limits.nodes` field constrains the maximum number of nodes during scaling operations or drift replacement.
422421

423422
```yaml
424423
apiVersion: karpenter.sh/v1

website/content/en/v1.11/concepts/nodepools.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ spec:
149149
limits:
150150
cpu: "1000"
151151
memory: 1000Gi
152-
# For static NodePools, limits.nodes constrains maximum node count during scaling/drift
153-
# Note : Supported only for static NodePools
152+
# limits.nodes constrains maximum node count during scaling/drift
154153
nodes: 10
155154

156155
# Priority given to the NodePool when the scheduler considers which NodePool
@@ -418,7 +417,7 @@ The NodePool spec includes a limits section (`spec.limits`), which constrains th
418417

419418
If the `NodePool.spec.limits` section is unspecified, it means that there is no default limitation on resource allocation. In this case, the maximum resource consumption is governed by the quotas set by your cloud provider. If a limit has been exceeded, nodes provisioning is prevented until some nodes have been terminated.
420419

421-
**For Static NodePools:** Only `limits.nodes` is supported. This field constrains the maximum number of nodes during scaling operations or drift replacement. Note that `limits.nodes` is support only on static NodePools.
420+
The `limits.nodes` field constrains the maximum number of nodes during scaling operations or drift replacement.
422421

423422
```yaml
424423
apiVersion: karpenter.sh/v1

0 commit comments

Comments
 (0)