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

Add sidecar.istio.io/inject=false annotation to all-in-one, agent (da… #67

Merged
merged 1 commit into from
Oct 16, 2018

Conversation

objectiser
Copy link
Contributor

…emonset), query and collector

As annotations are ignored if not relevant, just added to the list. However in future, if necessary we could detect whether jaeger is being deployed into an Istio enabled cluster, and possibly only add the annotation then.

Signed-off-by: Gary Brown gary@brownuk.com

…emonset), query and collector

Signed-off-by: Gary Brown <gary@brownuk.com>
@jpkrohling
Copy link
Contributor

This change is Reviewable

@codecov
Copy link

codecov bot commented Oct 16, 2018

Codecov Report

Merging #67 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #67      +/-   ##
=========================================
+ Coverage   99.29%   99.3%   +<.01%     
=========================================
  Files          17      17              
  Lines         714     718       +4     
=========================================
+ Hits          709     713       +4     
  Misses          5       5
Impacted Files Coverage Δ
pkg/deployment/query.go 100% <100%> (ø) ⬆️
pkg/deployment/all-in-one.go 100% <100%> (ø) ⬆️
pkg/deployment/collector.go 100% <100%> (ø) ⬆️
pkg/deployment/agent.go 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f458c1...df6c9ca. Read the comment docs.

Copy link
Contributor

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

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

Reviewed 8 of 8 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@jpkrohling jpkrohling merged commit 70b543b into jaegertracing:master Oct 16, 2018
andream16 pushed a commit to andream16/jaeger-operator that referenced this pull request Oct 17, 2018
jaegertracing#67)

* Add sidecar.istio.io/inject=false annotation to all-in-one, agent (daemonset), query and collector

Signed-off-by: Gary Brown <gary@brownuk.com>
@objectiser objectiser deleted the istio branch January 29, 2019 12:39
@danvy
Copy link

danvy commented Mar 28, 2022

istioctl analyse complains about these injector annotation on a deployment.
"Warning [IST0107] (Deployment monitoring/jaeger) Misplaced annotation: sidecar.istio.io/inject can only be applied to Pod"

@frzifus
Copy link
Member

frzifus commented Mar 28, 2022

@danvy could you create a new issue and provide a link to the section in the istio documentation? just found this[0]. There they show the sidecar controlling via labels. Anyway, we can add labels or annotations for pods in podspec for jaeger components.

0: https://istio.io/latest/docs/setup/additional-setup/sidecar-injection/#controlling-the-injection-policy

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.

None yet

4 participants