sujin190

k8s 集群的 ingress 为啥识别不到另一个节点部署的 pod

  •  
  •   sujin190 · Mar 16, 2022 · 2706 views
    This topic created in 1560 days ago, the information mentioned may be changed or developed.

    两个节点 nginx ingress 部署之后只有部署在自己节点的 pod 能正常访问,另外一台部署的 pod 就访问不到,有大神知道这是咋回事么? ingress 不能跨机?

    2 replies    2022-03-16 21:36:12 +08:00
    Wien
        1
    Wien  
       Mar 16, 2022   ❤️ 1
    闹呢,是不是 service 写错了
    sujin190
        2
    sujin190  
    OP
       Mar 16, 2022 via Android
    @Wien 进容器看了下生成的 nginx 配置文件,发现 upstream 是正常的,原来是网不通,新加的节点被加了 firewall 不知道,但是普通流量能通,pod 虚拟网卡通不了也是坑死,也是不知道容器间组网过程,第一次用,感谢!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2637 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 15:49 · PVG 23:49 · LAX 08:49 · JFK 11:49
    ♥ Do have faith in what you're doing.