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

Efficient Kong upstream slots allocation #6207

Open
2 of 3 tasks
ludovic-pourrat opened this issue Jun 14, 2024 · 0 comments
Open
2 of 3 tasks

Efficient Kong upstream slots allocation #6207

ludovic-pourrat opened this issue Jun 14, 2024 · 0 comments

Comments

@ludovic-pourrat
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Does this enhancement require public documentation?

  • I have added an Acceptance Criteria item for adding and/or adjusting public documentation (if applicable)

Problem Statement

When setting up an upstream and using the ingress.kubernetes.io/service-upstream to true the number of allocated slots should be set to 1 instead of 10000. The benefit of this refinement leads to a lower Kong memory consumption when a large set of upstream are configured (over 1k).

Proposed Solution

  • When the ingress.kubernetes.io/service-upstream is to true then set the number of slots in the KongUpstreamPolicy to 1 otherwise leave it to default.

Additional information

No response

Acceptance Criteria

  • The Kong memory usage is lower when using the ingress.kubernetes.io/service-upstream feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant