Troubleshooting: Longhorn default settings do not persist
| April 29, 2021
Longhorn version < v1.3.0.
When upgrading Longhorn system via helm or Rancher App, the modified Longhorn default settings doesn’t persist.
When modifying the default settings via kubectl -n longhorn-system edit configmap longhorn-default-setting
, the modification won’t be applied to the Longhorn system.
This default setting is only for a Longhorn system that hasn’t been deployed. It has no impact on an existing Longhorn system.
We recommend using the Longhorn UI to change Longhorn setting on the existing cluster.
You can also use the kubectl
, but please be aware this will bypass Longhorn backend validation.
kubectl edit settings <SETTING-NAME> -n longhorn-system
Recent articles
Troubleshooting: NoExecute taint prevents workloads from terminating© 2019-2024 Longhorn Authors | Documentation Distributed under CC-BY-4.0
© 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.