sujin190

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

  •  
  •   sujin190 · Mar 16, 2022 · 2704 views
    This topic created in 1558 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   ·   972 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:16 · PVG 07:16 · LAX 16:16 · JFK 19:16
    ♥ Do have faith in what you're doing.