• 请不要在回答技术问题时复制粘贴 AI 生成的内容
NUT
V2EX  ›  程序员

请教大佬们,怎么在本地开发的时候访问 k8s 中所依赖的服务(pod 都有对应的 SVR)。

  •  
  •   NUT · Dec 25, 2018 · 2089 views
    This topic created in 2783 days ago, the information mentioned may be changed or developed.
    我想的是,通过 NodePort 把 CoreDns 的 53 端口导出来,然后设置成本地的 DNS 之一。 不知道还有其他方法吗? 我使用的网络插件是 calico。

    先谢过大佬们。
    2 replies    2018-12-25 10:50:05 +08:00
    AnyISalIn
        1
    AnyISalIn  
       Dec 25, 2018   ❤️ 1
    可以试试 Telepresence
    NUT
        2
    NUT  
    OP
       Dec 25, 2018
    @AnyISalIn #1 谢谢大佬。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   860 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 21:35 · PVG 05:35 · LAX 14:35 · JFK 17:35
    ♥ Do have faith in what you're doing.