Injector: Change order for generating service.istio.io/canonical-name #49343
SebastianJ91
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wouldn't it be better to change the injection template to use
app.kubernetes.io/instance
with a higher priority thanapp.kubernetes.io/name
. This would allow multiple instances of the same app to coexist in the same namespace, without mixing their metrics.This was already discussed in #10724 but was finally done without
app.kubernetes.io/instance
in mind.This could easily be changed in the template, but could lead to changes in existing environments :
istio/manifests/charts/istiod-remote/files/injection-template.yaml
Line 36 in ef08bf9
could be changed to
Also documentation would need to be changed.
For now my workaround is to set
service.istio.io/canonical-name
manually, which has the highest priority.Beta Was this translation helpful? Give feedback.
All reactions