-
Notifications
You must be signed in to change notification settings - Fork 348
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
[jaeger] Fix otlp service regression in 0.71.5 #479
Conversation
Version 0.71.5 added configurable otlp port names to the collector service, but introduced some typos, which break otlp for http & gRPC. I'm not sure why they would be configurable, so I haven't also made the port names on the actual deployment configurable to match the service, but at least this should fix connectivity Signed-off-by: Jon Bates <[email protected]>
charts/jaeger/values.yaml
Outdated
# port: 4317 | ||
# nodePort: | ||
http: | ||
name: http-otlp | ||
name: otlp-grpc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: otlp-grpc | |
name: otlp-http |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right that this was a mistake, but the actual format should have been http-otlp
. Otherwise, we'd have caused a regression you attempted to fix in 0.71.5
!
@spadger Thanks for catching this. It was my bad, I missed this in the previous MR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also make deployment port names configurable.
https://github.com/cnvergence/jaeger-helm-charts/blob/main/charts/jaeger/templates/collector-deploy.yaml#L122
Welcome. I just saw the linter output - looks like I might not have done any better
|
@mehta-ankit I can make them configurable, but could you help understand why we'd do this? As far as I understand, port |
People had issues with certain port names because of Istio. I don't have all the details but this should explain: #344 (comment) I agree with you, but keeping them configurable and making the OG values the default, its a win-win for us who dnt need to change port names and for others who are having issues. Do you agree ? |
OK, that's complete, and I found my own typo that caused the lining to fail |
Signed-off-by: Jon Bates <[email protected]>
@spadger i am confused. Why are we not changing the values.yaml to be what it was before 0.71.5 change: |
The istio bug you pointed at was caused because the port name needed to start with
If you prefer, I'm happy to change the port names to |
Yea i feel, we should keep these changes backwards compatible. I made the same comment in previous MR (0.71.5) but missed the values change. The whole point of making port names configurable is that users can make it whatever they want, but we do not change the behavior for anyone using old names that were set in the values file. |
Signed-off-by: Jon Bates <[email protected]>
@cnvergence FYI, #479 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Oh, nice catch, thanks @spadger @mehta-ankit |
Hey @mehta-ankit |
Hi @spadger |
Version 0.71.5 added configurable otlp port names to the collector service, but introduced some typos, which break otlp for http & gRPC. I'm not sure why they would be configurable, so I haven't also made the port names on the actual deployment configurable to match the service, but at least this should fix connectivity
Signed-off-by: Jon Bates [email protected]
What this PR does
Fixes regression in 0.71.5
Which issue this PR fixes
Can't see one that has been raised
Checklist
[jaeger]
or[jaeger-operator]
)