BrandonXcc
V2EX  ›  问与答

为什么 apisix 的 chash 会根据相同的 key, hash 到不同的 ip 上呀

  •  
  •   BrandonXcc · Aug 4, 2024 · 1185 views
    This topic created in 646 days ago, the information mentioned may be changed or developed.

    项目中配置了类似的配置

    
     - upstream:
         type: chash 
         hash_on: vars
         key: arg_routeKey
         scheme: http
         
    

    按照预期应该是 通过 routeKey hash 路由到下游固定 IP 但是现在出现了,相同的 routeKey ,hash 路由到了下游不同的 IP 。这个是什么原因呢

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   942 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:25 · PVG 05:25 · LAX 14:25 · JFK 17:25
    ♥ Do have faith in what you're doing.