-
Notifications
You must be signed in to change notification settings - Fork 415
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
Added AppProtocol for Default Grafana Port #895
Added AppProtocol for Default Grafana Port #895
Conversation
Hi @kebroad , first of all thanks for your contribution. In this case you hard code the value. My understanding from reading the isito docs is that you will use http by default. |
Hey @NissesSenap , Thanks for your response! Istio doc above states the following:
However, from our experience, this seems best effort and is not reliable in most cases. We are seeing Istio not identify the traffic as http but rather plain TCP traffic, which checks out according to this description on the Istio page:
This technically works fine from a raw routing standpoint, however when using specific use cases such as http-api-authorization, this traffic cannot get recognized as http traffic. Let me know if you have any questions or need further explanation. |
Thanks allot for the explanation @kebroad , im just trying to think though if this could create any issues for other istio use-cases or some sidecar solution or similar. But at the same time i assume all of them should be http. I will take a second look at it tomorrow and i don't come up with anything I'm happy to merge. If you think of some use case that might get issues please share. |
I appreciate you looking into this @NissesSenap. I've been looking into this as well, and the two main issues I think could possibly arise from this would be:
I don't think this should cause any breaking changes but understand if you are hesitant to merge this. I can parameterize this through the CRD rather than hardcoding if you want to take that route. |
<=v1.18 Kubernetes isn't supported by the operator any way. We only support version 1 of CRD. But the second option is a good point and this is actually something that I know that people are doing. |
…to add-service-port-appprotocol
Sounds good @NissesSenap! Just added that functionality and tested it with/without the appProtocol field, is working as expected on my end. I am not super familiar with the operator SDK so i looked at a previous PR to determine where to update the doc/CRDs. Let me know if that all looks good or there is anything else needed. Thanks! |
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
Merged, thanks allot for your contribution @kebroad. |
Description
This adds the AppProtocol field to the default Grafana service port, which allows it to integrate with Istio's explicit protocol selection, among other things.
Relevant issues/tickets
Type of change
Checklist
Verification steps