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

fix(controller): include services that have pods labled injection as part of mesh #12005

Closed
wants to merge 1 commit into from

Conversation

jijiechen
Copy link
Member

Motivation

Improve reconciler of service controller

Implementation information

Detect if there is at least one pods of the service is labeled "kuma.io/sidecar-injection=enabled"

Supporting documentation

fixes #11994

@jijiechen jijiechen requested a review from a team as a code owner November 11, 2024 10:10
@jijiechen jijiechen requested review from bartsmykla and Icarus9913 and removed request for a team November 11, 2024 10:10
Copy link
Contributor

@michaelbeaumont michaelbeaumont left a comment

Choose a reason for hiding this comment

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

It's not clear to me that we want to do this. We are trying to break the Pod controls Service logic we've had up until now.

Most of the time there's a Deployment/StatefulSet/DaemonSet controlling these Pods with the Pod template setting these labels. Why wouldn't the user also be able to set a label on the Service?

@jijiechen
Copy link
Member Author

@lahabana @lukidzi WDYT?
The current behaviour is not aligning to what we say in the doc and now it's requested by an actual user.

@lahabana
Copy link
Contributor

I agree with Mike we're trying to part with this dependency. Folks should either label their entire namespace or all entities independently

@jijiechen
Copy link
Member Author

As per triage, we don't update the behaviour in Kuma but update the doc website, so closing this PR.
xref: #11994 (comment)

@jijiechen jijiechen closed this Nov 13, 2024
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.

Service reconciler injects annotations only when the Namespace is labeled.
3 participants