我正在尝试使用 Redis Handler ISTIO 使用 Redis 处理程序应用 ISTIO 速率限制
但是混合器无法找到 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 配额不支持 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


评论关闭
IT序号网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!