Documentation: v4.9.0- kuvasz-uptime.dev
docker pull kuvaszmonitoring/kuvasz:4.9.0
Important
Make your voice heard!
There is a short questionnaire about Kuvasz in general, which you can fill out anonymously. It takes only a few minutes, and your feedback is highly appreciated as it helps me to focus on the most important features and improvements in the future. You can find it here.
Thanks, Adam
Warning
Only for the Helm chart with its bundled database
The change of the PostgreSQL version below only affects you if you use the Helm chart with the database it deploys (postgresql.enabled: true, the default). In that case, upgrading the chart upgrades your database from PostgreSQL 18 to 19 on its own, so make a backup (e.g. a snapshot of its volume) before you do it. Check the Helm deployment guide for the details.
If you use Docker Compose, or your own PostgreSQL (with Docker Compose or with the Helm chart), nothing changes for you, and you don't have to do anything. If you use the bundled database of Docker Compose, you can still get the same upgrade for free, see below.
Improvements
- PostgreSQL 19 in the Helm chart (only with its bundled database): the bundled database of the chart uses the
pgautoupgrade/pgautoupgrade:19-trixieimage now, instead of18-alpine. When you upgrade the chart, the database upgrades your existing data to the new version on its own. You don't have to do anything else, and the database keeps running as a non-root user. The image is now based on Debian, instead of Alpine, because thepostgresuser of this image has the same ID (999) as the user the chart runs the database with. The automatic upgrades only work with this user, so this way, the later major versions of PostgreSQL will only need a new image tag too. Since the two image types sort text differently, the upgrade rebuilds the indexes of the database, and the monitors are sorted a little bit differently on the database level (e.g. lowercase and uppercase names are mixed now). The Web UI already sorted them this way, so you won't see a difference there. If you've setpostgresql.image.tagyourself, or you runhelm upgradewith--reuse-values, the old image is kept, so change the tag to19-trixieto get the new version. Only change it together with the upgrade to a new major version (from 18 to 19), and never switch betweenalpineandtrixieon the same major version. If you've set your own user inpostgresql.securityContext, the upgrade won't work with it, check the Helm deployment guide for the fix. With an external database (postgresql.enabled: false), the chart doesn't deploy any database, so nothing changes. - Safer database upgrades in the Helm chart (only with its bundled database): the bundled database has a startup probe now, which gives the upgrade to a new major version of PostgreSQL up to 30 minutes. Before, Kubernetes could restart the database in the middle of a long upgrade, and an interrupted upgrade doesn't let the database start until its half-finished data is removed by hand.
- PostgreSQL 19 in the Docker Compose example (only for new installations): the Docker Compose file and the install script use the
pgautoupgrade/pgautoupgrade:19-trixieimage now, the same one as the Helm chart. Your existing installation isn't affected at all, as your own copy of the file doesn't change, and you don't have to do anything. However, you can get the same automatic upgrade for free: change the image of thekuvasz-dbservice in yourdocker-compose.ymlfrompgautoupgrade/pgautoupgrade:18-alpinetopgautoupgrade/pgautoupgrade:19-trixie, and rundocker compose up -d. Your data is upgraded to PostgreSQL 19 when the database starts, and its indexes are rebuilt. Make a backup first, and if you've added auser:to the service, don't change it in the same step. Check the related guide for the details. The file also comes with the settings to run the database as a non-root user, and with the official PostgreSQL image as an alternative, both commented out. Check the comparison of the two images to see which one fits you better (it applies to the Helm chart too). - A non-root database with the install script: if you choose to run Kuvasz as a non-root user in the install script, the bundled database runs as a non-root user too (
999:999, thepostgresuser of its image, which its automatic upgrades need), without any capabilities.
Fixes
- The bundled database of the Helm chart didn't start without persistence: if you set
postgresql.persistence.enabledtofalse, Kubernetes couldn't create the pod of the database, because the volume of its data was missing. The chart uses a temporary (emptyDir) volume for it now, so the database starts, but it loses its data every time its pod is deleted. Check the Helm deployment guide for the details.
Full changelog: 4.8.1...4.9.0