forked from eksctl-io/eksctl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path20-bottlerocket.yaml
32 lines (29 loc) · 894 Bytes
/
20-bottlerocket.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# NOTE: Bottlerocket AMI might not be available in all regions.
# Please check AWS official doc or below link for more details
# https://github.com/bottlerocket-os/bottlerocket/blob/develop/QUICKSTART.md#finding-an-ami
# A simple example of ClusterConfig object with Bottlerocket settings:
---
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: cluster-20
region: us-west-2
nodeGroups:
- name: ng1-public
instanceType: m5.xlarge
desiredCapacity: 4
amiFamily: Bottlerocket
labels:
"network-locality.example.com/public": "true"
bottlerocket:
enableAdminContainer: true
settings:
motd: "Hello, eksctl!"
- name: ng2-public-ssh
instanceType: m5.xlarge
desiredCapacity: 4
amiFamily: Bottlerocket
ssh:
# Enable ssh access (via the admin container)
allow: true
publicKeyName: my-example-keypair