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

Support for multiple backends #133

Open
davidroth opened this issue Oct 5, 2022 · 1 comment
Open

Support for multiple backends #133

davidroth opened this issue Oct 5, 2022 · 1 comment
Labels
enhancement New feature or request help-wanted Extra attention is needed

Comments

@davidroth
Copy link

davidroth commented Oct 5, 2022

Hi,
thanks for this really nice project. It solves some hard issues in an elegant way.
Currently its only possible to specify a single backend via -backend-service=backend-service. Yes this backend service can have multiple replicas. But what If you have a single varnish in front of lets say 2 (or more) backends, each with several replicas.

I'd need exactly that: Support for multiple backends.
With "backends", I mean distinct backend applications.

Request -->  [ Varnish ]  -->
                                    |---> [ Backend Service A]
                                                 [Backend Service A POD 1]
                                                 [Backend Service A POD 2]
                                    |---> [ Backend Service B]
                                                 [Backend Service B POD 1]
                                                 [Backend Service B POD 2]

Currently I'd need to launch two kube-httpcache deployments. One for each backend. However, that leads to more overhead and less efficient memory utilization because I cannot share a given memory space for all the backend applications.

@davidroth davidroth added the enhancement New feature or request label Oct 5, 2022
@martin-helmich
Copy link
Member

Hey David -- thanks for your feedback; happy to hear that it's useful to you. 🙂

This is a very reasonable suggestion, that I'd very much like to see implemented as well. However, this would probably require some major changes in the internal design of the controller, so I cannot make any promises as to when we'd actually get around to implementing this. PRs are always welcome, though. 🙂

@martin-helmich martin-helmich added the help-wanted Extra attention is needed label Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help-wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants