-
Notifications
You must be signed in to change notification settings - Fork 743
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
Support different labeling for canary and primary deployments #1115
Comments
I was disappointed to discover that Flagger totally mangles my pod labels when it creates the I was further disappointed to discover that Flagger's default behavior is to mangle the ultimately I would really like for Flagger to not mess with my labels at all, or i. I think that the most conservative labeling strategy that flagger could take would be to copy labels and selectors verbatim and transform them very specifically by adding a label like it would be a nice to have more control over this, or to be able to trust Flagger to make only additive, non-destructive changes to my sets of labels and selectors. |
Hi, just stumbled of this issue while working with Kyverno and here we see another use case for specific canary/primary labels. |
Hi Just wanted to find out of there was any update to the above, as we are attempting to achieve a similar outcome. |
Is there a way to statically specify the labels we want in the deployment generated by Flagger for now? (i.e.: Our use-case is a label we need for the backstage kubernetes plugin that requires a label matching its selector. For example: I found there was some extra stuff added to the canary spec allowing us to configure the |
having the exact same issue. Did you find any solution for this? @pizzqc |
Describe the feature
Hi, I was wondering if there is a function to set different labels for canary and primary objects as per this proposed solution(#1032). I have a different problem than this, but the proposed solution was the same.
Unfortunately, the final update(#1092 ) wasn't what I was looking for.
I want to set different labels for canary and primary deployment to distinguish between those traffic.
In the current implementation, the primary object will be copied from the canary object with same labels after a canary analysis to promote the new version. There is no way to set different labels for primary objects.
Proposed solution
I want flagger to allow labels override on the primary deployment. As proposed in the other previous request(#1032), this would be a change to be the canary spec in a form similar to how service overrides work today.
The text was updated successfully, but these errors were encountered: