Skip to content

Commit

Permalink
docs: Update docs to indicate requirements limit on NodePool is 100
Browse files Browse the repository at this point in the history
  • Loading branch information
jigisha620 committed Jul 1, 2024
1 parent ef45392 commit f9d171f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/content/en/docs/concepts/nodepools.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ Karpenter prioritizes Spot offerings if the NodePool allows Spot and on-demand i

Karpenter also allows `karpenter.sh/capacity-type` to be used as a topology key for enforcing topology-spread.

{{% alert title="Note" color="primary" %}}
There is currently a limit of 100 on the total number of requirements. It's important to note that `spec.template.metadata.labels` are also propagated as requirements.
{{% /alert %}}

### Min Values

Along with the combination of [key,operator,values] in the requirements, Karpenter also supports `minValues` in the NodePool requirements block, allowing the scheduler to be aware of user-specified flexibility minimums while scheduling pods to a cluster. If Karpenter cannot meet this minimum flexibility for each key when scheduling a pod, it will fail the scheduling loop for that NodePool, either falling back to another NodePool which meets the pod requirements or failing scheduling the pod altogether.
Expand Down
3 changes: 3 additions & 0 deletions website/content/en/docs/concepts/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ requirements:
- key: user.defined.label/type
operator: Exists
```
{{% alert title="Note" color="primary" %}}
There is currently a limit of 100 on the total number of `requirements` on your Nodepool. It's important to note that `spec.template.metadata.labels` are also propagated as requirements.
{{% /alert %}}

#### Node selectors

Expand Down

0 comments on commit f9d171f

Please sign in to comment.