Forkmohit
Forkmohit

Reputation: 753

Rate limiting in Istio using Redis Handler

I am trying to apply ISTIO rate limiting using Redis Handler using Redis Handler ISTIO

But mixer is not able to find the redis handler. Below from mixer log:

2019-05-27T11:59:23.910183Z warn Unable to find a handler for action. rule[action]='quota.rule.istio-system[0]', handler='redishandler.istio-system'

  • redisquota: could not create a connection to redis server: NOAUTH Authentication required.''. Also, how to provide Redis credential for the template?

Upvotes: 1

Views: 284

Answers (1)

codelover
codelover

Reputation: 44

redis quota does not support Authentication

    // test redis connection
    option := redis.Options{
        Addr: b.adapterConfig.RedisServerUrl,
    }

    if b.adapterConfig.ConnectionPoolSize > 0 {
        option.PoolSize = int(b.adapterConfig.ConnectionPoolSize)
    }

https://github.com/istio/istio/redisquota.go

Upvotes: 2

Related Questions