-
Notifications
You must be signed in to change notification settings - Fork 344
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
Bad naming convention for service name #1360
Comments
Could you provide a test for the case you described? In any case, a PR would certainly be appreciated. |
Attached there are two captured tcpdump logs for the scenarios with or without istio-sidecar injected to the application pod, As we can see, if the istio-sidecar is injected, the grpc stream is transcoded to http request automatically. I suppose I can use this function to reproduce the issue? Or we need a full example? |
So, this is a problem only for pods with both Jaeger and Istio sidecars? @jkandasa do we have tests for this scenario? |
Exactly. Specifically,
I haven't tested the case with both istio sidecar injected. |
Was this closed as part of #1368? |
It should have been closed. I don't know what happened to the Mergify bot. |
Hello, I have an issue described in #1122 with port name set to "grcp-https": "authentication handshake failed: tls: first record does not look like a TLS handshake" If I set the port name to string which was changed in this issue; "https-grpc" then it works. jaeger-operator.v1.29.1 |
Currently the naming convention for the collector service is determined in this function,
jaeger-operator/pkg/service/collector.go
Line 97 in 010535a
which results in some name like
grpc-http(s)
.However, this will cause confusing for istio as documented in the
protocol-selection
section, from which I excerpt as follows,name: <protocol>[-<suffix>]
.appProtocol
field:appProtocol: <protocol>
.The result of this bad name is severe, the istio-sidecar will automatically convert grpc protocol to http one which cannot be correctly processed by
collector
service.Thus, I suggest changing the naming convention to follow the istio rules. I would like to submit a PR to resolve this issue.
The text was updated successfully, but these errors were encountered: