Skip to content

Commit

Permalink
docs: storage recommendation (#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajasnosz authored Jan 14, 2025
1 parent aed07e1 commit 6c2cab8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/microk8s/mk8s/k8s-microk8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,25 @@ microk8s enable metrics-server
microk8s status --wait-ready
```

**_NOTE:_**
PersistentVolumeClaims created by the `hostpath storage provisioner` are bound to the local node,
so it is impossible to move them to a different node. A hostpath volume can grow beyond the capacity set in
the volume claim manifest. For production environment it is recommended to use different storage for mongo and redis pvc,
for example openebs.

```bash
microk8s enable openebs
```
Configuration file:
```bash
mongodb:
persistence:
storageClass: "openebs-hostpath"
redis:
global:
storageClass: "openebs-hostpath"
```

Install the DNS server for microk8s and configure the forwarding DNS servers. Replace the IP addressed below (opendns) with
the allowed values for your network:

Expand Down

0 comments on commit 6c2cab8

Please sign in to comment.