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

Querstion about cache invalidation #113

Open
pasztorl opened this issue Jun 13, 2024 · 2 comments
Open

Querstion about cache invalidation #113

pasztorl opened this issue Jun 13, 2024 · 2 comments

Comments

@pasztorl
Copy link

Hi, If I run multiple varnish instances is there a vay to purge the caches so the purge command is distributed between the varnish pods?

@cin
Copy link
Contributor

cin commented Jun 17, 2024

Unfortunately, there is not a built in way to do this with the varnish operator. Are you wanting to run the purge command across all varnish instances at once or serially? If the former, perhaps [kubectl-parallel-exec](https://github.com/cin/kubectl-parallel-exec) could help. If this is a feature you'd like added, feel free to contribute a PR. I have been maintaining a fork of this repo here. I need to do some maintenance on this project in general.

@pasztorl
Copy link
Author

Yes, in general I would like to control the cache with a single request, like on this project: https://github.com/mittwald/kube-httpcache

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

2 participants