Skip to content

Commit

Permalink
docs: Add instruction for microK8S NFS
Browse files Browse the repository at this point in the history
  • Loading branch information
MoritzWeber0 committed Oct 9, 2023
1 parent ff727d5 commit 2a9753b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/user/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ in the future.

2. Enable all required add-ons:
```zsh
microk8s enable hostpath-storage # For workspace storage
microk8s enable hostpath-storage # For persistent storage
microk8s enable rbac # For role-based access control
microk8s enable ingress # For load balancing
```
Expand All @@ -58,6 +58,13 @@ in the future.
microk8s config > $HOME/.kube/config
chmod 600 $HOME/.kube/config # Nobody else should be able to read the configuration
```
5. Optional, but recommended: Set up a NFS for workspaces and Juypter file-shares.
The default `hostpath-storage` of microK8S doesn't enforce the specified capacity on PVCs.
This can be exploited by a user uploading so much data to their workspace that
the server goes out of disk storage.

Please follow the official instructions: <https://microk8s.io/docs/nfs> <br />
Make sure to update the storageClass in the `values.yaml` in step 6 to `nfs-csi`.

=== "k3d"

Expand Down Expand Up @@ -239,6 +246,7 @@ If a value is false, check the backend logs for more information.
export DOCKER_REGISTRY=<your-registry> # Location of your remote or local container registry
export CAPELLA_BUILD_TYPE=offline # Don't download Capella during each build
export CAPELLA_VERSIONS="5.2.0 6.0.0 6.1.0" # Space separated list of Capella versions to build
export CAPELLA_DROPINS="" # Command separated list of dropins
```
1. Then, build the `t4c/client/remote` images (the one that we'll use in the
Expand Down

0 comments on commit 2a9753b

Please sign in to comment.