chore: update image tags #10

Merged
ammaratef45 merged 4 commits from upgrade-recipe into main 2026-04-09 04:36:05 +00:00
Owner

Needs some testding

Needs some testding
ammaratef45 added 1 commit 2026-03-03 05:34:14 +00:00
Owner

did you test the upgrade or did you deploy a new app? I'm a little scared if this breaks any existing deployment

did you test the upgrade or did you deploy a new app? I'm a little scared if this breaks any existing deployment
Author
Owner

@p4u1 I'm testing this and some things need to change (for example the loki config template will be updated because config values have changed)

But without upgrading, the recipe as is works only for older docker version

Example error:

�2026-03-03T05:27:21.190753654Z level=error ts=2026-03-03T05:27:21.097480418Z caller=refresh.go:99 component=docker_discovery discovery=docker config=docker/unix:///var/run/docker.sock:80 msg="Unable to refresh target groups" err="error while listing containers: Error response from daemon: client version 1.42 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version"
@p4u1 I'm testing this and some things need to change (for example the loki config template will be updated because config values have changed) But without upgrading, the recipe as is works only for older docker version Example error: ``` �2026-03-03T05:27:21.190753654Z level=error ts=2026-03-03T05:27:21.097480418Z caller=refresh.go:99 component=docker_discovery discovery=docker config=docker/unix:///var/run/docker.sock:80 msg="Unable to refresh target groups" err="error while listing containers: Error response from daemon: client version 1.42 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version" ```
Owner

Ah damn, yeah the upgrade is long overdue. If you need help testing, I have some time next friday

Ah damn, yeah the upgrade is long overdue. If you need help testing, I have some time next friday
Author
Owner

Yeah testing the upgrade would be great as I'm focused on testing making the recipe deployment work for new apps (I have no current stacks with this recipe deployed)

Yeah testing the upgrade would be great as I'm focused on testing making the recipe deployment work for new apps (I have no current stacks with this recipe deployed)
Author
Owner

I can spin a new vm and test the deploying with an older docker so I can do the upgrade as well, given how big this recipe is it might be a heavy lift so I'll take all the help I can get haha

I can spin a new vm and test the deploying with an older docker so I can do the upgrade as well, given how big this recipe is it might be a heavy lift so I'll take all the help I can get haha
Owner

I just check and we did not deploy loki yet. I wonder if anyone is actually using it if it is not even working with a recent docker version. Will test the other updates later

I just check and we did not deploy loki yet. I wonder if anyone is actually using it if it is not even working with a recent docker version. Will test the other updates later
p4u1 reviewed 2026-03-20 10:46:21 +00:00
@ -3,3 +3,3 @@
services:
prometheus:
image: prom/prometheus:v2.55.1
image: prom/prometheus:v3.10.0
Owner
Breaking changes look okay to me: https://prometheus.io/docs/prometheus/latest/migration/
ammaratef45 marked this conversation as resolved
p4u1 reviewed 2026-03-20 10:47:34 +00:00
@ -3,3 +3,3 @@
services:
matrix-alertmanager-receiver:
image: metio/matrix-alertmanager-receiver:2025.2.9
image: metio/matrix-alertmanager-receiver:2026.2.25
Owner

Looks good to me

Looks good to me
ammaratef45 marked this conversation as resolved
p4u1 reviewed 2026-03-20 10:47:57 +00:00
@ -3,3 +3,3 @@
services:
pushgateway:
image: prom/pushgateway:v1.10.0
image: prom/pushgateway:v1.11.2
Owner

looks good

looks good
ammaratef45 marked this conversation as resolved
p4u1 reviewed 2026-03-20 10:48:07 +00:00
@ -4,3 +4,3 @@
services:
app:
image: prom/node-exporter:v1.8.1
image: prom/node-exporter:v1.10.2
Owner

looks good

looks good
ammaratef45 marked this conversation as resolved
p4u1 reviewed 2026-03-20 10:50:41 +00:00
@ -44,3 +44,3 @@
cadvisor:
image: gcr.io/cadvisor/cadvisor:v0.49.2
image: gcr.io/cadvisor/cadvisor:v0.55.1
Owner

This was the only upgrade not I could find in the release notes, so looks good to me:

v0.55: docker versions older than 25.0 are no longer supported

This was the only upgrade not I could find in the release notes, so looks good to me: v0.55: docker versions older than 25.0 are no longer supported
ammaratef45 marked this conversation as resolved
p4u1 reviewed 2026-03-20 11:59:16 +00:00
@ -3,3 +3,3 @@
services:
grafana:
image: grafana/grafana:10.4.14
image: grafana/grafana:12.4.0
Owner

Needed to migrate how we import alerts: #16

Needed to migrate how we import alerts: https://git.coopcloud.tech/coop-cloud/monitoring-ng/pulls/16
ammaratef45 marked this conversation as resolved
ammaratef45 added 1 commit 2026-03-27 21:10:38 +00:00

Deployed the previous recipe two weeks ago, then updated cadvisor after a day to support reading labels on my Docker version, the image tags in this PR fixed that. Upgrade worked, but this was without Loki and only with one day of data.

This week I got Loki running. Wasn't really sure yet of any side effects of what I had to change in the config, I now see it's nearly identical to the last commit of @ammaratef45 . Except I kept schema v11 initially. I've now upgraded to cdc0133c31, so upgrading to scheme v13 in Loki also works without losing log history.

Deployed the previous recipe two weeks ago, then updated cadvisor after a day to support reading labels on my Docker version, the image tags in this PR fixed that. Upgrade worked, but this was without Loki and only with one day of data. This week I got Loki running. Wasn't really sure yet of any side effects of what I had to change in the config, I now see it's nearly identical to the last commit of @ammaratef45 . Except I kept schema v11 initially. I've now upgraded to cdc0133c31, so upgrading to scheme v13 in Loki also works without losing log history.
dannygroenewegen reviewed 2026-03-29 12:37:58 +00:00
loki.yml.tmpl Outdated
@ -108,3 +104,4 @@
retention_enabled: true
retention_delete_delay: 2h
retention_delete_worker_count: 150
delete_request_store: filesystem

Changing this line to

{{ if eq (env "LOKI_STORAGE_FILESYSTEM") "1" }}
  delete_request_store: filesystem
{{ end }}
{{ if eq (env "LOKI_STORAGE_S3") "1" }}
  delete_request_store: aws
{{ end }}

to support the optional S3 storage in the config.

Changing this line to ``` {{ if eq (env "LOKI_STORAGE_FILESYSTEM") "1" }} delete_request_store: filesystem {{ end }} {{ if eq (env "LOKI_STORAGE_S3") "1" }} delete_request_store: aws {{ end }} ``` to support the optional S3 storage in the config.
ammaratef45 added 1 commit 2026-04-07 02:03:47 +00:00
ammaratef45 added 1 commit 2026-04-07 02:14:26 +00:00
ammaratef45 changed title from WIP: chore: update image tags to chore: update image tags 2026-04-07 03:58:16 +00:00
ammaratef45 requested review from dannygroenewegen 2026-04-07 03:58:37 +00:00
ammaratef45 requested review from p4u1 2026-04-07 03:58:52 +00:00
Author
Owner

Okay I'm happy with this so far, @dannygroenewegen @p4u1 wdyt?

Okay I'm happy with this so far, @dannygroenewegen @p4u1 wdyt?
dannygroenewegen approved these changes 2026-04-07 10:06:14 +00:00
ammaratef45 merged commit 9cb997b25a into main 2026-04-09 04:36:04 +00:00
ammaratef45 deleted branch upgrade-recipe 2026-04-09 04:36:05 +00:00
Sign in to join this conversation.
No description provided.