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

Rancher RKE2 给每个 worker node 都装一个 Ingress Controller 是为什么呢?

  •  
  •   ALXG · Nov 22, 2022 · 2101 views
    This topic created in 1264 days ago, the information mentioned may be changed or developed.

    比如我要暴露服务的时候, 和这个有什么关系么? 或是主要就是内部使用的?

    3 replies    2023-01-31 23:01:05 +08:00
    txwdcom
        1
    txwdcom  
       Nov 22, 2022
    RKE1 开始就是每个节点启动一个 Ingress 了,你可以在外部加一个 LB 做负载均衡。Ingress 适合暴露 http 类服务,不需要每个服务创建 nodeport
    ALXG
        2
    ALXG  
    OP
       Nov 22, 2022
    @txwdcom 我现在是划一些固定 IP 的节点专门用来承载集群的 Ingress, 这个 Ingress 好处是能知道集群内部的网络. 不过, 这个 Ingress 能跑 nginx 的 stream 么, 还是光就是七层代理?
    runzhliu
        3
    runzhliu  
       Jan 31, 2023
    @ALXG 可以四层的,通过配置 tcp 相关的配置,这个就跟 nginx 可以拿来做四层代理的原理是一样的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4780 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 09:54 · PVG 17:54 · LAX 02:54 · JFK 05:54
    ♥ Do have faith in what you're doing.