mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 20:44:33 +07:00
docs: replace Longhorn with Rook Ceph
This commit is contained in:
parent
32a9aa94d5
commit
c244195d8a
10
README.md
10
README.md
@ -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>
|
||||
|
@ -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
|
||||
|
@ -1,3 +0,0 @@
|
||||
# Longhorn
|
||||
|
||||
TODO (PR welcomed)
|
@ -63,7 +63,7 @@ flowchart TD
|
||||
|
||||
subgraph system[./system]
|
||||
nginx[NGINX]
|
||||
longhorn[Longhorn]
|
||||
rook-ceph[Rook Ceph]
|
||||
cert-manager
|
||||
external-dns[External DNS]
|
||||
cloudflared
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user