From b53ac88e2795ddc023be554601475a6ed6f720e8 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Thu, 3 Feb 2022 20:36:49 +0100 Subject: [PATCH] docs(longhorn): Add some "Nice-to-know" hints --- infrastructure/longhorn/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/infrastructure/longhorn/README.md b/infrastructure/longhorn/README.md index 1dd981728..fa0dba370 100644 --- a/infrastructure/longhorn/README.md +++ b/infrastructure/longhorn/README.md @@ -3,6 +3,14 @@ Longhorn This component is deployed to provide persistent storage replicated across the nodes in an easy fashion. +Nice to knows +--- + +- [volume-expansion is offline expansion only.](https://github.com/longhorn/longhorn/issues/2749#issuecomment-872072957) This means you have to scale down deployments to expand volumes. +- Adjusting the defaults in the helm deployment, doesn't adjust them in production. Production is managed with `settings.longhorn.io` objects which are basically a key-value CRD. +- Longhorn requests by default 12% of your node CPUs for each instance-manager. This can easily exhaust your CPU resources in the cluster. Adjust this setting can only be done **when all your volumes are detached**, which implies scaling down all deployments that use volumes. (The deployment in this directory adjusted the CPU requests to 2%). + + Links --- -- GitLab