Skip to content

Commit

Permalink
Update deployment-on-nesi.md
Browse files Browse the repository at this point in the history
Changed order or commands in `vars/ondemand-config.yml.example` to match the order in the actual file.
  • Loading branch information
MattBixley authored Jul 22, 2024
1 parent 3b9144f commit f5684e0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/tutorials/deployment-on-nesi.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,19 @@ We need to edit two files to configure the environment:
### Edit *vars/ondemand-config.yml.example*

- adjust `num_users_create` and `num_trainers_create`
- set `control_plane_flavor` (the is the controller node for the kubernetes cluster, no user sessions run on this node)
- usually to `balanced1.4cpu8ram` for production
- `balanced1.2cpu4ram` is good for testing
- set `cluster_worker_count` and `worker_flavor` to have enough capacity for the number of users, e.g.
- `cluster_worker_count: 2` and `worker_flavor: balanced1.32cpu64ram` for up to 30 *2cpu4ram* sessions
- `cluster_worker_count: 3` and `worker_flavor: balanced1.32cpu64ram` for up to 45 *2cpu4ram* sessions
- adjust `ood_apps` as required
- check `version` and `k8s_container`
- enable required apps (usually just leave them all enabled, except for containers)
- set which images to pre-pull (just choose the one you will be using, we have limited space currently on the worker nodes and pre-pulling will fail if you exhaust it)
- set `enable_pod_prepull` to "true"
- sometimes we have experienced really slow image pulls, this will pre-pull the image and cache it so it is fast to start
- only pre-pull the app you are actually going to use, don't pre-pull them all as there might not be enough disk space on the worker nodes
- set `control_plane_flavor` (the is the controller node for the kubernetes cluster, no user sessions run on this node)
- usually to `balanced1.4cpu8ram` for production
- `balanced1.2cpu4ram` is good for testing
- set `cluster_worker_count` and `worker_flavor` to have enough capacity for the number of users, e.g.
- `cluster_worker_count: 2` and `worker_flavor: balanced1.32cpu64ram` for up to 30 *2cpu4ram* sessions
- `cluster_worker_count: 3` and `worker_flavor: balanced1.32cpu64ram` for up to 45 *2cpu4ram* sessions

### Edit *terraform/terraform.tfvars*

Expand Down

0 comments on commit f5684e0

Please sign in to comment.