Skip to content

chore: update managed node group yaml #846

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions setup/kubernetes/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ support immediate volume binding.
To create clusters allowing you to
[enable container-based virtual machines (CVMs)](../../admin/workspace-management/cvms.md)
as a workspace deployment option, you'll need to
[create a nodegroup](https://eksctl.io/usage/managing-nodegroups/#creating-a-nodegroup-from-a-config-file).
[create a nodegroup](https://eksctl.io/usage/eks-managed-nodes/#creating-managed-nodegroups).

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

nodeGroups:
managedNodeGroups:
- name: coder-node-group
amiFamily: Ubuntu2004
ami: <your Ubuntu 20.04 AMI ID>
instanceType: <instance-type>
minSize: 1
mazSize: 2
desiredCapacity: 1
overrideBootstrapCommand: |
#!/bin/bash -xe
sudo /etc/eks/bootstrap.sh --apiserver-endpoint '' --b64-cluster-ca 'LS0tLS1...LS0tCg==' '<cluster-name>'
```

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