-
Notifications
You must be signed in to change notification settings - Fork 438
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
Create service for extensions #3403
base: main
Are you sure you want to change the base?
Conversation
df4a731
to
3a5a2ee
Compare
3a5a2ee
to
3ab8c98
Compare
return nil, err | ||
} | ||
|
||
ports, err := params.OtelCol.Spec.Config.GetExtensionPorts(params.Log) |
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.
If there are no ports... maybe we can just not create the service
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.
+1
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.
Do you mean something similar to this?
if len(ports) == 0 {
return nil, nil
}
Also, if there are ports, will it be a good idea to add HA proxy for them similar to this?
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.
Yes. That's what I meant.
I'm not sure about the HA. Do we need GRPC for this?
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.
Yes. That's what I meant.
I have already implemented that and written proper unit tests for the same.
Although, I have a suggestion/doubt. Won't it be a good idea to add labels in the extension service similar to these?
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.
Do we need GRPC for this?
@yurishkuro can you answer this?
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.
Jaeger extension exposes both http and grpc endpoints.
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.
great progress,
Please add unit tests and e2e test
return nil, err | ||
} | ||
|
||
ports, err := params.OtelCol.Spec.Config.GetExtensionPorts(params.Log) |
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.
+1
a683b66
to
d742325
Compare
Signed-off-by: Ankit152 <ankitkurmi152@gmail.com>
Signed-off-by: Ankit152 <ankitkurmi152@gmail.com>
d742325
to
eb14bf7
Compare
Signed-off-by: Ankit152 <ankitkurmi152@gmail.com>
eb14bf7
to
5f26d14
Compare
Description:
The Otel Operator doesn't creates a service for extensions. This will help the operator to create Service for extensions which will be consumed by an Ingress so that users can interact with it directly. This is related to deployment of Jaeger V2 in k8s.
Link to tracking Issue(s):
Testing:
Documentation: