Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kuma-cp): allow skipping certain label propagation on multizone #11918

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

michaelbeaumont
Copy link
Contributor

@michaelbeaumont michaelbeaumont commented Oct 29, 2024

Motivation

Users might not want certain labels to be propagated between control planes.

Implementation information

Two config values, one for zone and one for global.

Supporting documentation

Closes #11416

@michaelbeaumont michaelbeaumont changed the title Feat/skip kds labels feat(kuma-cp): allow skipping certain label propagation on multizone Oct 29, 2024
@michaelbeaumont michaelbeaumont force-pushed the feat/skip-kds-labels branch 4 times, most recently from eade603 to 09fcd8e Compare October 30, 2024 11:18
@michaelbeaumont michaelbeaumont marked this pull request as ready for review October 30, 2024 13:29
@michaelbeaumont michaelbeaumont requested a review from a team as a code owner October 30, 2024 13:29
@michaelbeaumont michaelbeaumont requested review from jijiechen and removed request for a team October 30, 2024 13:29
pkg/kds/context/context.go Outdated Show resolved Hide resolved
Signed-off-by: Mike Beaumont <[email protected]>
@@ -67,6 +67,7 @@ func setupKubeZone(wg *sync.WaitGroup, clusterName string, extraOptions ...frame
// 100s and 80s are values that we also use in mesh-perf when we put a lot of pressure on the CP.
framework.WithEnv("KUMA_RUNTIME_KUBERNETES_LEADER_ELECTION_LEASE_DURATION", "100s"),
framework.WithEnv("KUMA_RUNTIME_KUBERNETES_LEADER_ELECTION_RENEW_DEADLINE", "80s"),
framework.WithEnv("KUMA_MULTIZONE_ZONE_KDS_LABELS_SKIP_PREFIXES", "argocd.argoproj.io"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's worth testing multiple prefixes and asserting both of them are skipped.

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.

Kuma 2.6.0 upgrade issues
3 participants