dong706

K8s Service 配置 externalTrafficPolicy=Local 时无法通过 K8s Master Vip 访问

  •  
  •   dong706 · May 29, 2024 · 1535 views
    This topic created in 915 days ago, the information mentioned may be changed or developed.
    求助坛友,K8s 的 Service 配置 externalTrafficPolicy=Local 时无法通过 K8s Master Vip ( K8s 高可用部署)访问,若设置为默认的 Cluster 则可以通过 K8sVip 访问,这个问题有什么解决方案么?

    ps:设置 externalTrafficPolicy: Local 是为了获取客户端请求源 Ip.
    1 replies
    dong706
    dong706
    OP
    May 29, 2024
    1
    是的通过 keepalived 将 Master VIP 公布出去的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   892 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 20:57 · PVG 04:57 · LAX 12:57 · JFK 15:57
    ♥ Do have faith in what you're doing.