Skip to content

add AMI value in nodegroup yaml #670

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 2 commits into from
Oct 14, 2021
Merged
Show file tree
Hide file tree
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: 3 additions & 8 deletions setup/kubernetes/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ EC2 instance from AWS'
> [container-based virtual machines (CVMs)](../../workspaces/cvms.md) unless
> you're running Coder in a bare-metal Kubernetes environment.

### Using multi-zone clusters

If you opt for a multi-zone cluster, your workspace pods can only be scheduled
where you initially provisioned them. As such, make sure that there are nodes
available in each zone. Please note, however, that if a zone becomes
unavailable, the workspace pods will be unavailable because the persistent
volumes are tied to the zone.

## Preliminary steps

Before you can create a cluster, you'll need to perform the following to set up
Expand Down Expand Up @@ -188,8 +180,11 @@ as a workspace deployment option, you'll need to
nodeGroups:
- name: coder-node-group
amiFamily: Ubuntu2004
ami: <your Ubuntu 20.04 AMI ID>
```

> [See here for a list of Ubuntu AMIs](https://cloud-images.ubuntu.com/locator/ec2/)

1. Create your nodegroup (be sure to provide the correct file name):

```console
Expand Down
2 changes: 1 addition & 1 deletion setup/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Additionally, you must enable
[dynamic volume provisioning](https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/#enabling-dynamic-provisioning)
so that Coder can mount the PVC to the workspace (if you're using a custom
`StorageClass`, be sure that it supports DVP. Otherwise, Coder cannot provision
workspaces.
workspaces).

## Database

Expand Down