Skip to content

Commit

Permalink
Update config file examples to reflect amiFamily is required with cus…
Browse files Browse the repository at this point in the history
…tom AMI (#6617)
  • Loading branch information
TiberiuGC committed May 18, 2023
1 parent 5e7b8eb commit 04fbb6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/15-managed-nodes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ managedNodeGroups:
privateNetworking: true

- name: custom-ami
amiFamily: AmazonLinux2
ami: ami-custom
preBootstrapCommands:
# disable hyperthreading
Expand Down
1 change: 1 addition & 0 deletions examples/22-managed-nodes-launch-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ managedNodeGroups:
- name: custom-nodegroup
instanceType: m5.xlarge
desiredCapacity: 2
amiFamily: AmazonLinux2
ami: ami-0e124de4755b2734d
ssh:
allow: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ nodeGroups:
- name: ng-1
minSize: 1
maxSize: 2
amiFamily: AmazonLinux2
ami: ami-12345
desiredCapacity: 1
overrideBootstrapCommand: |
Expand Down

0 comments on commit 04fbb6e

Please sign in to comment.