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

TeamCity 能部署镜像到 k8s 上吗?

  •  
  •   HarveyZh · Mar 3, 2021 · 1232 views
    This topic created in 1887 days ago, the information mentioned may be changed or developed.

    昨天刚接触 teamcity,从编译发布镜像一切都是正常的,到最后一步在 Build Steps 里面也没有找到部署镜像到 k8s 到选项。

    2 replies    2021-03-03 13:01:24 +08:00
    lff0305
        1
    lff0305  
       Mar 3, 2021
    完全可以
    我司现在就是用 TC 来发布到 k8s, 用的是 helm
    大概流程是:
    程序员提交 PR -> build -> 生成 new image -> clone & update helm chart 中的 image tag -> commit & push helm chart
    TC 发现 helm chart 被更改了 -> update helm chart -> login to k8s -> helm upgrade,直接更新到 k8s
    HarveyZh
        2
    HarveyZh  
    OP
       Mar 3, 2021
    @lff0305 没太明白,能麻烦远程指导下吗,只要把镜像部署到 k8s 即可。 wx : emhhbmdodV8yMDEy
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2363 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 10:32 · PVG 18:32 · LAX 03:32 · JFK 06:32
    ♥ Do have faith in what you're doing.