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

Using Endpoint Slices In K8S Logger instead of Endpoints API #13493

Open
srinidhis94 opened this issue Jul 10, 2022 · 1 comment
Open

Using Endpoint Slices In K8S Logger instead of Endpoints API #13493

srinidhis94 opened this issue Jul 10, 2022 · 1 comment
Labels
platform: kubernetes Anything `kubernetes` platform related source: kubernetes_logs Anything `kubernetes_logs` source related type: feature A value-adding code addition that introduce new functionality.

Comments

@srinidhis94
Copy link

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Use Cases

There are scalability issues with using endpoints API to get cluster information in kubernetes. It is discussed in more detail here. We faced this issue during our testing in large K8S cluster on GKE.

From the documentation, currently vector source kubernetes logs uses Pods Endpoints API .

Attempted Solutions

No response

Proposal

Proposal is to use K8S endpointslices API instead of endpoints API.

Endpoint API :
kubectl get --raw '/api/v1/namespaces/default/pods?watch=1'

Endpoint slices :
kubectl get --raw /apis/discovery.k8s.io/v1/watch/namespaces/default/endpointslices

References

No response

Version

0.22.0-distroless-libc

@srinidhis94 srinidhis94 added the type: feature A value-adding code addition that introduce new functionality. label Jul 10, 2022
@srinidhis94
Copy link
Author

This is related to issue reported here : #13058

@jszwedko jszwedko added source: kubernetes_logs Anything `kubernetes_logs` source related platform: kubernetes Anything `kubernetes` platform related labels Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: kubernetes Anything `kubernetes` platform related source: kubernetes_logs Anything `kubernetes_logs` source related type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

No branches or pull requests

2 participants