docs: replace Longhorn with Rook Ceph

This commit is contained in:
Khue Doan 2024-03-13 00:27:52 +07:00
parent 32a9aa94d5
commit c244195d8a
5 changed files with 42 additions and 16 deletions

View File

@ -181,11 +181,6 @@ They can't capture all the project's features, but they are sufficient to get a
<td><a href="https://grafana.com/oss/loki">Loki</a></td>
<td>Log aggregation system</td>
</tr>
<tr>
<td><img width="32" src="https://longhorn.io/img/logos/longhorn-icon-white.png"></td>
<td><a href="https://longhorn.io">Longhorn</a></td>
<td>Cloud native distributed block storage for Kubernetes</td>
</tr>
<tr>
<td><img width="32" src="https://avatars.githubusercontent.com/u/1412239?s=200&v=4"></td>
<td><a href="https://www.nginx.com">NGINX</a></td>
@ -206,6 +201,11 @@ They can't capture all the project's features, but they are sufficient to get a
<td><a href="https://www.whitesourcesoftware.com/free-developer-tools/renovate">Renovate</a></td>
<td>Automatically update dependencies</td>
</tr>
<tr>
<td><img width="32" src="https://raw.githubusercontent.com/rook/artwork/master/logo/blue.svg"></td>
<td><a href="https://rook.io">Rook Ceph</a></td>
<td>Cloud-Native Storage for Kubernetes</td>
</tr>
<tr>
<td><img width="32" src="https://avatars.githubusercontent.com/u/84780935?s=200&v=4"></td>
<td><a href="https://woodpecker-ci.org">Woodpecker CI</a></td>

View File

@ -1,15 +1,45 @@
# Single node cluster adjustments
!!! danger
This is not officially supported and I don't regularly test it,
I highly recommend using multiple nodes.
Using a single node could lead to data loss unless your backup strategy is rock solid,
make sure you are **ABSOLUTELY CERTAIN** this is what you want.
Update the following changes, then commit and push.
## Reduce Longhorn replica count
## Remove storage redundancy
Set the `defaultClassReplicaCount` to 1:
Set pod counts and number of data copies to `1`:
```yaml title="system/longhorn-system/values.yaml" hl_lines="6"
--8<--
system/longhorn-system/values.yaml
--8<--
```yaml title="system/rook-ceph/values.yaml" hl_lines="4 6 11 12 18 22 25"
rook-ceph-cluster:
cephClusterSpec:
mon:
count: 1
mgr:
count: 1
cephBlockPools:
- name: standard-rwo
spec:
replicated:
size: 1
requireSafeReplicaSize: false
cephFileSystems:
- name: standard-rwx
spec:
metadataPool:
replicated:
size: 1
dataPools:
- name: data0
replicated:
size: 1
metadataServer:
activeCount: 1
activeStandby: false
```
## Disable automatic upgrade

View File

@ -1,3 +0,0 @@
# Longhorn
TODO (PR welcomed)

View File

@ -63,7 +63,7 @@ flowchart TD
subgraph system[./system]
nginx[NGINX]
longhorn[Longhorn]
rook-ceph[Rook Ceph]
cert-manager
external-dns[External DNS]
cloudflared

View File

@ -74,7 +74,6 @@ nav:
- how-to-guides/troubleshooting/argocd.md
- how-to-guides/troubleshooting/cert-manager.md
- how-to-guides/troubleshooting/gitea.md
- how-to-guides/troubleshooting/longhorn.md
- how-to-guides/troubleshooting/pxe-boot.md
- Reference:
- reference/index.md