mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +07:00
1405fadf1a
Squashed commit of the following: commit 257867f196376df55fa0f57edbdf33967b1da04e Author: Khue Doan <mail@khuedoan.com> Date: Sun Sep 18 16:45:42 2022 +0700 refactor(docs): apply the Diátaxis framework
27 lines
568 B
Markdown
27 lines
568 B
Markdown
# Single node cluster adjustments
|
|
|
|
Update the following changes, then commit and push.
|
|
|
|
## Reduce Longhorn replica count
|
|
|
|
Set the `defaultClassReplicaCount` to 1:
|
|
|
|
```yaml title="system/longhorn-system/values.yaml" hl_lines="6"
|
|
--8<--
|
|
system/longhorn-system/values.yaml
|
|
--8<--
|
|
```
|
|
|
|
## Disable automatic upgrade for OS and k3s
|
|
|
|
Because they will try to drain the only node, the pods will have no place to go.
|
|
Remove them entirely:
|
|
|
|
```sh
|
|
rm -rf system/kured
|
|
rm -rf system/system-upgrade
|
|
```
|
|
|
|
Commit and push the change.
|
|
You can revert it later when you add more nodes.
|