V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
dunhanson
V2EX  ›  Kubernetes

k8s deployment 副本中某个节点的 pod 负载过高流量又访问的问题

  •  
  •   dunhanson · 2021-12-29 17:11:09 +08:00 · 1586 次点击
    这是一个创建于 820 天前的主题,其中的信息可能已经有所发展或是发生改变。

    怎么避免流量访问到那个负载过高的 pod ?

    5 条回复    2021-12-30 09:05:51 +08:00
    Fitz
        1
    Fitz  
       2021-12-29 17:32:41 +08:00
    rpc 不均衡吧 istio
    dunhanson
        2
    dunhanson  
    OP
       2021-12-29 20:55:39 +08:00
    @Fitz 有其他的方案吗
    labulaka521
        3
    labulaka521  
       2021-12-29 22:57:22 +08:00 via iPhone
    怎么访问的,直接用服务名吗?
    nocrush
        4
    nocrush  
       2021-12-29 23:03:24 +08:00
    grpc loadbalancer
    dunhanson
        5
    dunhanson  
    OP
       2021-12-30 09:05:51 +08:00
    @labulaka521 外部 nginx 转发到 ingress
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5138 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 05:41 · PVG 13:41 · LAX 22:41 · JFK 01:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.