使用 Redis 处理程序在 Istio 中进行速率限制
Rate limiting in Istio using Redis Handler
我正在尝试使用 Redis Handler ISTIO
使用 Redis 处理程序应用 ISTIO 速率限制
但是 mixer 无法找到 redis 处理程序。以下来自混音器日志:
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?
redis配额不支持鉴权
// test redis connection
option := redis.Options{
Addr: b.adapterConfig.RedisServerUrl,
}
if b.adapterConfig.ConnectionPoolSize > 0 {
option.PoolSize = int(b.adapterConfig.ConnectionPoolSize)
}
我正在尝试使用 Redis Handler ISTIO
使用 Redis 处理程序应用 ISTIO 速率限制但是 mixer 无法找到 redis 处理程序。以下来自混音器日志:
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?
redis配额不支持鉴权
// test redis connection
option := redis.Options{
Addr: b.adapterConfig.RedisServerUrl,
}
if b.adapterConfig.ConnectionPoolSize > 0 {
option.PoolSize = int(b.adapterConfig.ConnectionPoolSize)
}