Skip to content

Commit

Permalink
Cross-link setting up GPUs in AWS cluster creation
Browse files Browse the repository at this point in the history
When we are *creating* an AWS cluster, if we already know
that GPUs are needed, we should add the nodegroup at that point
already. This cross-links that, to streamline new hub turn-ups.

Ref 2i2c-org/meta#897
  • Loading branch information
yuvipanda committed Mar 22, 2024
1 parent 4068334 commit 9083313
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/howto/features/gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ series nodes.
7. Ask for the increase, and wait. This can take *several working days*,
so do it as early as possible!

(howto:features:gpu:aws:nodegroup)=
#### Setup GPU nodegroup on eksctl

We use `eksctl` with `jsonnet` to provision our kubernetes clusters on
Expand Down
5 changes: 5 additions & 0 deletions docs/hub-deployment-guide/new-cluster/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ This will generate the following files:
4. `terraform/aws/projects/$CLUSTER_NAME.tfvars`, a terraform variables file that will setup
most of the non EKS infrastructure.

### Add GPU nodegroup if needed

If this cluster is going to have GPUs, you should edit the generated jsonnet file
to [include a GPU nodegroups](howto:features:gpu:aws:nodegroup).

### Create and render an eksctl config file

We use an eksctl [config file](https://eksctl.io/usage/schema/) in YAML to specify
Expand Down

0 comments on commit 9083313

Please sign in to comment.