Skip to content

Commit

Permalink
indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal committed May 2, 2024
1 parent 7d2ebb4 commit 37a2865
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/content/en/preview/concepts/nodeclasses.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,6 @@ amiSelectorTerms:
```

To select the latest EKS optimized AMIs, use the `eksOptimized` field in the selector term. To select an AMI by name, use the `name` field in the selector term. To select an AMI by id, use the `id` field in the selector term. To ensure that AMIs are owned by the expected owner, use the `owner` field - you can use a combination of account aliases (e.g. `self`, `amazon`, `your-aws-account-name`) and account IDs.

If owner is not set for `name`, it defaults to `self,amazon`, preventing Karpenter from inadvertently selecting an AMI that is owned by a different account. Tags don't require an owner as tags can only be discovered by the user who created them.

{{% alert title="Tip" color="secondary" %}}
Expand Down Expand Up @@ -486,7 +485,7 @@ The `eksOptimized` term is mutually exclusive. When an `eksOptimized` term is sp
```yaml
amiSelectorTerms:
- eksOptimzed:
family: AL2023
family: AL2023
# Can not specify other terms with eksOptimzed
- id: ami-123
```
Expand Down

0 comments on commit 37a2865

Please sign in to comment.