BrandonXcc
V2EX  ›  问与答

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

  •  
  •   BrandonXcc · Aug 4, 2024 · 1239 views
    This topic created in 679 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   ·   830 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 21:46 · PVG 05:46 · LAX 14:46 · JFK 17:46
    ♥ Do have faith in what you're doing.