khuedoan-homelab/docs/how-to-guides/single-node-cluster-adjustments.md
Khue Doan 1405fadf1a refactor(docs): apply the Diátaxis framework
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
2022-09-19 02:40:07 +07:00

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.