In netcore webapi application, we have used EasyCaching provider for in-memory implementation and used flushAsync feature to clear cache. We deployed this appication on kubernetes and when user calls this flush api via loadbalancer url, in-memory cache for all pods must gets cleared.
Currently, I can hit only one pod and do not have control over which pod would get hit. I want to clear cache in all the pods in my Kubernetes cluster on api calling.
If there is an alternative approach for this problem, or a way to configure kubernetes to hit all end-points for this request, sharing here would be a great help.