Skip to content

Conversation

@c-kruse
Copy link
Contributor

@c-kruse c-kruse commented Jan 22, 2026

In HA mode, both router deployments (skupper-router and skupper-router-2) share identical label selectors (skupper.io/component: router), causing kubectl to select pods from either deployment unpredictably.

Adds the skupper.io/group label to each deployment's matchLabels selector so that each deployment only selects its own pods. Fixes #2299

In HA mode, both router deployments (skupper-router and skupper-router-2)
share identical label selectors (skupper.io/component: router), causing
kubectl to select pods from either deployment unpredictably. This is
an otherwise harmless misconfiguration.

Adds the skupper.io/group label to each deployment's matchLabels selector
so that each deployment only selects its own pods.

Signed-off-by: Christian Kruse <christian@c-kruse.com>
@AryanP123
Copy link
Contributor

Fix correctly adds unique skupper.io/group labels to deployment selectors. Tests pass, lgtm.

@JPadovano1483
Copy link

lgtm

@c-kruse c-kruse merged commit fcb7f45 into skupperproject:main Jan 27, 2026
2 checks passed
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.

HA Deployment Selector Targets Overlap

3 participants