Spring cloud gateway with Kubernetes for incoming traffic limiting Spring cloud gateway with Kubernetes for incoming traffic limiting kubernetes kubernetes

Spring cloud gateway with Kubernetes for incoming traffic limiting


Essentially, you can do rate limiting by fronting your application with a proxy. (nginx, haproxy, etc). More specifically you can use a Kubernetes Ingress. More specifically you can use the nginx ingress controller and the can use something like limit rate in the ConfigMap or rate limiting through annotations in the ingress.


You could look into istio service mesh's rate limiting feature which has the following concepts for rate limiting traffic in k8s: