Skip to content

Commit

Permalink
some more doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal committed May 2, 2024
1 parent 9bf7327 commit 7d2ebb4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion website/content/en/preview/concepts/nodeclasses.md
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ status:
- arm64
```

However, specifying an `eksOptimized` term may allow Karpenter to discover more requirements.
However, specifying an `eksOptimized` term will allow Karpenter to discover additional requirement when available. For example, when using the AL2 EKS optimized family Karpenter will also discover accelerated AMIs and add the appropriate requirements.

```yaml
spec:
Expand Down
9 changes: 9 additions & 0 deletions website/content/en/preview/tasks/managing-amis.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@ amiSelectorTerms:
- id: ami-052c9ea013e6e3567
```

Alternatively, AMIs can be discovered via tags. Once an AMI has been validated in a lower environment, it can be tagged for discovery by Karpenter. Karpenter will then begin using the new AMI without requiring an update to your `EC2NodeClasses`.

```yaml
amiSelectorTerms:
- tags:
karpenter.sh/discovery: "${CLUSTER_NAME}"
environment: prod
```

See the [**spec.amiSelectorTerms**]({{< relref "../concepts/nodeclasses/#specamiselectorterms" >}}) section of the NodeClasses page for details.
Keep in mind, that this could prevent you from getting critical security patches when new AMIs are available, but it does give you control over exactly which AMI is running.

Expand Down

0 comments on commit 7d2ebb4

Please sign in to comment.