zhoudaiyu

请教一下大家在监控 K8s 的 worker 节点的连接情况的问题

  •  
  •   zhoudaiyu · Oct 12, 2022 via iPhone · 2691 views
    This topic created in 1502 days ago, the information mentioned may be changed or developed.
    直接在 worker 节点上执行 netstat 或者 ss 这种命令无法看到 pod 连接外部 IP 的情况,只能用 conntrack 去监控吗?这是因为因为网络命名空间的隔离?使用 conntrack 监控靠谱吗?
    3 replies  •  2022-10-12 18:53:48 +08:00
    BugCry
    BugCry
    Oct 12, 2022 via Android
    1
    去 lb 的 pod 上看
    julyclyde
    julyclyde
    Oct 12, 2022
    2
    建议直接用 host network 运行容器
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1125 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 23:49 · PVG 07:49 · LAX 15:49 · JFK 18:49
    ♥ Do have faith in what you're doing.