mirror of
https://github.com/khuedoan/homelab.git
synced 2025-07-09 07:19:09 +07:00
557 B
557 B
Single node cluster adjustments
Update the following changes, then commit and push.
Reduce Longhorn replica count
Set the defaultClassReplicaCount
to 1:
# system/longhorn-system/values.yaml
{{#include ../../../system/longhorn-system/values.yaml}}
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:
rm -rf system/kured
rm -rf system/system-upgrade
Commit and push the change. You can revert it later when you add more nodes.