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

[Enhancement] add appProtocol in fe service #288

Conversation

yandongxiao
Copy link
Collaborator

@yandongxiao yandongxiao commented Oct 23, 2023

Fixes: #287

@yandongxiao yandongxiao force-pushed the feature/add-appProtocol-field-in-service branch from 5e2e041 to 5dbcbbb Compare October 23, 2023 10:06
Name: sp.Name,
Port: sp.Port,
NodePort: sp.NodePort,
Protocol: corev1.ProtocolTCP,
TargetPort: intstr.FromInt(int(sp.ContainerPort)),
})
}
if servicePort.Name == FeQueryPortName {
Copy link
Collaborator

Choose a reason for hiding this comment

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

how about the webPort? does it need to add appProtocol http?

Copy link
Collaborator Author

@yandongxiao yandongxiao Oct 23, 2023

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

didn't see our webport related to the server-first-protocol document. HTTP protocol doesn't look like a server-first-protocol per the description in the doc.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

MySQL is a server-first-protocol, so we only need to add appProtocol to the query port, 9030.

kevincai
kevincai previously approved these changes Oct 24, 2023
@kevincai
Copy link
Collaborator

ci operator failure, might need take a look @yandongxiao

…arrocks on Istio service mesh

Signed-off-by: yandongxiao <[email protected]>
@yandongxiao yandongxiao force-pushed the feature/add-appProtocol-field-in-service branch from 5dbcbbb to 3241e47 Compare October 24, 2023 02:12
@yandongxiao yandongxiao merged commit 66e2f2c into StarRocks:main Oct 24, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for running operation on Istio service mesh
2 participants