Skip to content

Commit a11c864

Browse files
authored
chore: update managed node group yaml (coder#846)
1 parent f00a1d9 commit a11c864

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

setup/kubernetes/aws.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ support immediate volume binding.
163163
To create clusters allowing you to
164164
[enable container-based virtual machines (CVMs)](../../admin/workspace-management/cvms.md)
165165
as a workspace deployment option, you'll need to
166-
[create a nodegroup](https://eksctl.io/usage/managing-nodegroups/#creating-a-nodegroup-from-a-config-file).
166+
[create a nodegroup](https://eksctl.io/usage/eks-managed-nodes/#creating-managed-nodegroups).
167167

168168
1. Define your config file (we've named the file `coder-node.yaml`, but you can
169169
call it whatever you'd like):
@@ -177,10 +177,17 @@ as a workspace deployment option, you'll need to
177177
name: <YOUR_CLUSTER_NAME>
178178
region: <YOUR_AWS_REGION>
179179

180-
nodeGroups:
180+
managedNodeGroups:
181181
- name: coder-node-group
182182
amiFamily: Ubuntu2004
183183
ami: <your Ubuntu 20.04 AMI ID>
184+
instanceType: <instance-type>
185+
minSize: 1
186+
mazSize: 2
187+
desiredCapacity: 1
188+
overrideBootstrapCommand: |
189+
#!/bin/bash -xe
190+
sudo /etc/eks/bootstrap.sh --apiserver-endpoint '' --b64-cluster-ca 'LS0tLS1...LS0tCg==' '<cluster-name>'
184191
```
185192

186193
> [See here for a list of EKS-compatible Ubuntu AMIs](https://cloud-images.ubuntu.com/docs/aws/eks/)

0 commit comments

Comments
 (0)