feat(chart): improve configurability of mounts for the longhorn-manager DaemonSet#11199
feat(chart): improve configurability of mounts for the longhorn-manager DaemonSet#11199pstark-code wants to merge 2 commits intolonghorn:masterfrom
Conversation
|
Hi @pstark-code, please sign off the commit. |
809b03e to
f57e967
Compare
|
signed-off and rebased on top of the upstream default branch. |
…-manager ds - add configurable value in values.yaml with the default value set to the previously hard-coded value - replace the hostPath in the DaemonSet with the new value Notes: - this will keep working for existing users without configuration changes Signed-off-by: P. Stark <github@codechaos.ch>
f57e967 to
3ae957c
Compare
|
The PR might not be enough since some paths in the longhorn-manager or other component images are hardcoded with the |
This was brought up in multiple places. Please read my response. This change does not change the path it gets mounted at in the container. So for the Longhorn Manager software, nothing changes. |
|
I also added the ability to configure extra volumes to be mounted into the longhorn-manager container. This mirrors the longhorn option to have multiple "disks". |
…anager pod Signed-off-by: P. Stark <github@codechaos.ch>
3ae957c to
b1da145
Compare
The binaries stored in the host’s The change introduced in the PR makes the |
Ah! That explains why I couldn't figure out how they get there! Okay, then I will remove the configurable hostPath and leave the extraMounts and extraVolumeMounts options, because that, together with the Just as a curious question: why are the engine binary fetching containers not part of the longhorn-manager pods? InitContainers maybe? It seems unintuitive to have this tight coupling between two seemingly disparate DaemonSets. |
Is narrowing down the scope to
I think this is due to Longhorn can only one longhorn-manager daemonset but can support multiple engineimage daemonsets. Longhorn can support multiple egnineimages simutaneously. |
I believe so. I wanted to resolve two things:
To summarize: Yes I think limiting the scope will be sufficient. In fact, I think making the hostPath of |
|
Which issue(s) this PR fixes:
Issue #11186
Additionally, adds the option for extra Volumes and extra VolumeMounts. Longhorn supports multiple disks, but can not mount multiple volumes into the container.
What this PR does / why we need it:
volumesentries and extravolumeMountsentries.Special notes for your reviewer:
This change does not require any adjustments for existing users that don't need this feature. It should be
Additional documentation or context