-
Notifications
You must be signed in to change notification settings - Fork 402
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
componentParser: set correct target port #3141
Conversation
5f351af
to
5abf986
Compare
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
5abf986
to
c5a1996
Compare
components.NewSinglePortParser("signalfx", 9943), | ||
components.NewSinglePortParser("splunk_hec", 8088), | ||
components.NewSinglePortParser("statsd", 8125, components.WithProtocol(corev1.ProtocolUDP)), | ||
components.NewSinglePortParser("awsxray", 2000, components.WithTargetPort(2000)), |
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.
did we need to add this everywhere?
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.
Everywhere where we expect default ports and want to forward to the corresponding default target port.
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 only need this if we expect to open a different port than the port set on the service https://stackoverflow.com/questions/49981601/difference-between-targetport-and-port-in-kubernetes-service-definition
that being said, i don't think it's going to create trouble.
Signed-off-by: Benedikt Bongartz <bongartz@klimlive.de>
242b47b
to
decc8a0
Compare
Description:
Link to tracking Issue(s):
Testing:
Documentation: