From 2867210d3858a9272f2d5f93f4b73e9a79c81eeb Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 22 Sep 2023 21:17:18 -0500 Subject: [PATCH] phpipam: Pin to MariaDB 10.9.3 Using the *latest* tag for MariaDB is particularly problematic, as a new version of the container may be pulled when the pod is scheduled on a different host. MariaDB will not start in this case, as it recognizes that the data on disk need to be upgraded. To prevent database outages in situations like this, we need to pin to a specific version of MariaDB, ensuring that every pod runs the same version. --- phpipam/phpipam.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpipam/phpipam.yaml b/phpipam/phpipam.yaml index 534e766..2590f3e 100644 --- a/phpipam/phpipam.yaml +++ b/phpipam/phpipam.yaml @@ -46,7 +46,7 @@ spec: app.kubernetes.io/instance: phpipam spec: containers: - - image: docker.io/mariadb + - image: docker.io/library/mariadb:10.9.3 imagePullPolicy: IfNotPresent name: phpipam-mariadb env: