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

routesrv: discover redis shards without fetching full cluster state #2956

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 23, 2024

  1. routesrv: discover redis shards without fetching full cluster state

    Routesrv supports dynamic discovery of Redis instances using Kubernetes Service,
    see https://github.com/zalando/skipper/blob/master/docs/tutorials/ratelimit.md#redis-based-cluster-ratelimits
    
    Dynamic discovery relies on Kubernetes Dataclient that also fetches
    Ingresses and RouteGroups and creates routes from them.
    
    This change enables dynamic discovery of Redis instances using
    Kubernetes without fetching Ingresses and RouteGroups.
    
    When -kubernetes flag is not set but
    -kubernetes-redis-service-namespace, -kubernetes-redis-service-name and
    -kubernetes-redis-service-port are provided then `routesrv` creates
    Kubernetes dataclient to discover Redis instances
    but does not use this dataclient to load routes.
    
    See previous #2934
    
    Signed-off-by: Alexander Yastrebov <[email protected]>
    AlexanderYastrebov committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    e8382bf View commit details
    Browse the repository at this point in the history