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

Derive agent container/host ports from options if specified #353

Merged
merged 1 commit into from
Apr 3, 2019
Merged

Derive agent container/host ports from options if specified #353

merged 1 commit into from
Apr 3, 2019

Conversation

objectiser
Copy link
Contributor

Was using hardcoded ports, so traffic wasn't getting through to the agent when the ports were changed using the options.

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

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

This change is Reviewable

@codecov
Copy link

codecov bot commented Apr 2, 2019

Codecov Report

Merging #353 into master will increase coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #353      +/-   ##
==========================================
+ Coverage   89.88%   89.94%   +0.05%     
==========================================
  Files          64       64              
  Lines        3035     3052      +17     
==========================================
+ Hits         2728     2745      +17     
  Misses        207      207              
  Partials      100      100
Impacted Files Coverage Δ
pkg/util/util.go 100% <100%> (ø) ⬆️
pkg/inject/sidecar.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 3b6e569...f0b390f. Read the comment docs.

@objectiser
Copy link
Contributor Author

@jpkrohling Tested with both daemonset and sidecar agents (within Istio aswell).

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.

LGTM. We might need to rethink it in the future once breaking changes happen in Jaeger, but for our current needs, it's more than sufficient.

ContainerPort: 5775,
HostPort: 5775,
ContainerPort: zkCompactTrft,
HostPort: zkCompactTrft,
Copy link
Contributor

Choose a reason for hiding this comment

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

Nothing against this name, but for the record, I used "zk-compact-trft" as the name because of size limitations in the name field for the port.

@objectiser objectiser merged commit 2b8cdeb into jaegertracing:master Apr 3, 2019
@objectiser objectiser deleted the agentports branch April 3, 2019 12:37
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.

2 participants