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

请问 OpenShift 这个 PaaS 平台,能让因新版本上线而自动消亡的 pod,在 pod 即将销毁前,将日志发到指定邮箱吗?

  •  
  •   BraveXaiver · Oct 3, 2022 · 1484 views
    This topic created in 1302 days ago, the information mentioned may be changed or developed.
    RT ,在公司现在每次上新版本都得 TM 地登上 OpenShift 控制台,手动把旧版本的 pod 的日志下载下来,不然以后就再也找不到了,这可真是太麻烦了。。
    3 replies    2022-10-04 09:03:07 +08:00
    liuhan907
        1
    liuhan907  
       Oct 3, 2022
    你们难道都不上一个日志系统的么
    irockytan
        2
    irockytan  
       Oct 3, 2022 via iPhone
    很多方案可以解决
    楼上说的日志系统
    pod 挂 oss/nfs 存储
    挂 shutdown 钩子
    zhoudaiyu
        3
    zhoudaiyu  
    PRO
       Oct 4, 2022 via iPhone
    preStop
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5630 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 07:09 · PVG 15:09 · LAX 00:09 · JFK 03:09
    ♥ Do have faith in what you're doing.