Skip to content

Commit f0a7b91

Browse files
Clarify guaranteed quality of service when profile lists are used
1 parent 836848e commit f0a7b91

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

docs/howto/exam.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,28 @@ This page documents what we do to prep, based on our prior experiences.
2323
- 🔲 Test access to Logs Explorer for container logs if on GCP
2424
- 🔲 Test that running `deployer use-cluster-credentials $CLUSTER` and then `kubectl get pods -A` work
2525

26-
3. For the duration of the exam, all user pods must have a
26+
3. **Ensure user pods have a guaranteed quality of service class**
27+
28+
For the duration of the exam, all user pods must have a
2729
[guaranteed quality of service class](https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/).
30+
2831
In practice, this means we have memory & cpu requests set to be the same
2932
as guarantees. This is to ensure equity - no user should get more or less
3033
resources than any other. It also improves reliability.
3134

32-
This usually increases cost too, so should be done no more than 12h before
35+
This usually increases cost too, so should be done **no more than 12h before**
3336
the start of the exam. It should be reverted back soon after the exam
3437
is done.
3538

39+
If the hub has a profile list enabled, based on the instance types setup for
40+
the hub, you can find the new allocation options by running:
41+
42+
```{bash}
43+
deployer generate resource-allocation choices <instance-type>
44+
```
45+
46+
Running this command will output options where memory requests equal limits.
47+
3648
3. The instructor running the exam should test out their exam on the hub,
3749
and make sure that it will complete within the amount of resources assigned
3850
to it. They should also make sure that the environment (packages, python

0 commit comments

Comments
 (0)