Skip to content

feat(chart): add longhorn-global-manager Deployment opt-in toggle#13100

Open
hookak wants to merge 1 commit into
longhorn:masterfrom
hookak:feat/global-manager-chart
Open

feat(chart): add longhorn-global-manager Deployment opt-in toggle#13100
hookak wants to merge 1 commit into
longhorn:masterfrom
hookak:feat/global-manager-chart

Conversation

@hookak

@hookak hookak commented May 14, 2026

Copy link
Copy Markdown
Contributor

Adds a globalManager block in values.yaml (default enabled: false) and a templated longhorn-global-manager Deployment. When enabled, the DaemonSet is launched with --node-local-only, and the cluster-wide controllers (KubernetesPVController and KubernetesPodController) run in this Deployment as a leader-elected singleton instead of in every DaemonSet pod.

Default-off so existing operators see no behavioral change on upgrade. Multiple replicas are supported with hostname anti-affinity for hot standby, and a livenessProbe hits the global manager's /v1/healthz endpoint (port 9505), which represents process liveness regardless of leader status so standby replicas stay Ready.

See enhancements/20260506-global-longhorn-manager.md.

longhorn-13059

Which issue(s) this PR fixes:

Issue #13059

What this PR does / why we need it:

Special notes for your reviewer:

Additional documentation or context

Adds a `globalManager` block in values.yaml (default `enabled: false`)
and a templated `longhorn-global-manager` Deployment. When enabled, the
DaemonSet is launched with `--node-local-only`, and the cluster-wide
controllers (KubernetesPVController and KubernetesPodController) run in
this Deployment as a leader-elected singleton instead of in every
DaemonSet pod.

Default-off so existing operators see no behavioral change on upgrade.
Multiple replicas are supported with hostname anti-affinity for hot
standby, and a livenessProbe hits the global manager's /v1/healthz
endpoint (port 9505), which represents process liveness regardless of
leader status so standby replicas stay Ready.

See enhancements/20260506-global-longhorn-manager.md.

longhorn-13059

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: jinhong.kim0 <hookak25@gmail.com>
@hookak hookak requested a review from a team as a code owner May 14, 2026 11:45
@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions Bot added the stale label Jun 14, 2026
@derekbit derekbit removed the stale label Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants