Hi!, I have been using Nomad for some time now and so far so good. Still, I have some questions regarding to Nomad GC.
Currently, I have long running jobs in my cluster with applications that get deployed by changing its docker image tag. After the change, Nomad schedules a rollout deployment, finishes it, and I have the new image running.
My issue comes while garbage collecting. I have been reading the documentation and if I am not wrong, Nomad will only GC dead/stopped jobs, and given that my jobs are always running, old images wont get cleaned up. Is there a way to fix this? I would like to delete old deployed images, as they are using too much space in my disks. I also wanted to avoid adding a cron in servers.
Best regards, Jose Fernandez.