V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
dong706

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

  •  
  •   dong706 · May 29, 2024 · 1104 views
    This topic created in 710 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
        1
    dong706  
    OP
       May 29, 2024
    是的通过 keepalived 将 Master VIP 公布出去的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3093 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 248ms · UTC 13:46 · PVG 21:46 · LAX 06:46 · JFK 09:46
    ♥ Do have faith in what you're doing.