Skip to content

Commit

Permalink
Add some x-refs
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 committed Sep 20, 2024
1 parent a5fc93b commit 9e020cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/howto/features/storage-quota.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
(howto:configure-storage-quota)=
# Configure per-user storage quotas

This guide explains how to enable and configure per-user storage quotas.
Expand Down Expand Up @@ -147,4 +148,4 @@ xfs_quota -x -c 'report -N -p'

This should show us the list of directories being monitored for quota enforcement, and the current usage and quotas for each of the home directories.

If a user exceeds their quota, the user's pod will not be able to start successfully. A hub admin will need to free up space in the user's home directory to allow the pod to start.
If a user exceeds their quota, the user's pod will not be able to start successfully. A hub admin will need to free up space in the user's home directory to allow the pod to start, using [the `allusers` feature](topic:storage:allusers).
2 changes: 2 additions & 0 deletions docs/topic/infrastructure/storage-layer.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
(topic:storage)=
# User home directory storage

All users on all the hubs get a home directory with persistent storage.
Expand Down Expand Up @@ -71,6 +72,7 @@ This volumeMount is **NOT `readOnly`**, so admins can write to it.
This feature comes from the [custom KubeSpawner](https://github.com/2i2c-org/infrastructure/tree/HEAD/helm-charts/basehub/values.yaml#L182) that the our community hubs use, that allows providing extra configuration for admin users only.
```

(topic:storage:allusers)=
#### (Optional) The `allusers` directory

Can be mounted **just for admins**, showing the contents of `<hub-directory-path>/<hub-name>/`.
Expand Down

0 comments on commit 9e020cb

Please sign in to comment.