We report our experience in applying runtime monitoring to a FluxCD-based continuous deployment (CD) process. Our target system consists of GitHub Actions, GitHub Container Registry (GHCR), FluxCD, and an application running on Kubernetes. We monitored its logs using SyMon. In our setting, we regard a deployment update as detected when FluxCD's polling log resolves the latest image tag. Through the case study, we found that FluxCD did not always detect a new image within five minutes after it was pushed to GHCR, whereas it always did so within ten minutes in the collected logs. Moreover, our results show that SyMon is fast enough for near-real-time monitoring in our setting.
翻译:本文报告了将运行时监控应用于基于FluxCD的持续部署过程的实践经验。目标系统由GitHub Actions、GitHub容器注册表、FluxCD及运行在Kubernetes上的应用程序构成。我们使用SyMon工具对其日志进行监控。在本研究设定中,当FluxCD的轮询日志解析出最新镜像标签时,即视为检测到部署更新。通过案例研究发现:镜像推送至GitHub容器注册表后,FluxCD并非总能在五分钟内检测到新镜像,但在采集的日志中始终能在十分钟内完成检测。此外,实验结果表明SyMon在本场景中具备足够快的响应速度,能够实现近实时监控。