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

sidecar injecting wrong hostname to the application deployment pods #2111

Open
thennetirajesh opened this issue Nov 8, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@thennetirajesh
Copy link

thennetirajesh commented Nov 8, 2022

What happened?

We have installed the jaeger operator as a cluster-specific component and the agents are deployed in the individual namespace.
While injecting the sidecar into the new namespace the application deployment pods were labeled with the old namespace details.
Below is the label for the namespace (namespace1)

                    app.kubernetes.io/name=aplication-manager-api-server
                    app.kubernetes.io/part-of=aplication
                    **sidecar.jaegertracing.io/injected=namespace2-jaeger-test-jaeger-jaeger**  -> 2nd namespace label 
                    managed-by=helm
                    system-id=namespace1  -> jaeger deploying into the 1st namespace

PS::--- Whenever we are enabling jaeger into the second namespace still the jaeger deployment is referring to the 1st namespace of query label.

Steps to reproduce

We have installed the jaeger operator as a cluster-specific component and the agents are deployed in the individual namespace.
While injecting the sidecar into the new namespace the application deployment pods were labeled with the old namespace details.
Below is the label for the namespace (namespace1)

                    app.kubernetes.io/name=aplication-manager-api-server
                    app.kubernetes.io/part-of=aplication
                    **sidecar.jaegertracing.io/injected=namespace2-jaeger-test-jaeger-jaeger**
                    managed-by=helm
                    system-id=namespace1
                    
                Whenever we are enabling jaeger into the second namespace still the jaeger deployment is referring to the 1st namespace query label.

Expected behavior

The label should be mapped correctly

Relevant log output

No response

Screenshot

No response

Additional context

No response

Jaeger backend version

No response

SDK

No response

Pipeline

No response

Stogage backend

No response

Operating system

No response

Deployment model

No response

Deployment configs

No response

@thennetirajesh thennetirajesh added the bug Something isn't working label Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant