Skip to content

Commit

Permalink
add notice of routesrv proxy enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Troy Kohler <troy.kohler@zalando.de>
  • Loading branch information
Troy Kohler committed Nov 27, 2023
1 parent bac0c1f commit ab31bb6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/tutorials/ratelimit.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ Redis based Cluster Ratelimits](../kubernetes/ingress-controller.md#redis-based)

#### Redis Swarm Configuration

When working with redis swarm, use kubernetes service selector. Configure it with `-kubernetes-redis-service-namespace` and `-kubernetes-redis-service-name` flags. Skipper auto-discovers new redis instances each 10 seconds using background routine.
When working with redis swarm, use kubernetes service selector. Configure it with `-kubernetes-redis-service-namespace` and `-kubernetes-redis-service-name` flags.

Auto-discovery routine for new redis endpoints will be triggered every 10 seconds.

If you have [routesrv proxy](https://opensource.zalando.com/skipper/kubernetes/ingress-controller/#routesrv) enabled, you need to configure skipper with the flag `-swarm-redis-remote` where remote value will be the service address for `routesrv` service. `Routesrv` will be responsible for collecting redis endpoints and skipper will poll them from the proxy.

#### Implementation

Expand Down

0 comments on commit ab31bb6

Please sign in to comment.