1
0
Fork 0
kubernetes/phpipam
Dustin 2867210d38 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.
2023-09-22 21:17:18 -05:00
..
README.md phpipam: Add manifest for phpipam 2022-07-31 01:31:53 -05:00
phpipam.yaml phpipam: Pin to MariaDB 10.9.3 2023-09-22 21:17:18 -05:00

README.md

kubectl exec -n phpipam phpipam-db-0 -- \
    mysql \
    --password=$(kubectl get secret -n phpipam phpipam-mysql-root -o 'jsonpath={.data.password}' | base64 -d) \
    phpipam \
    < ~/tmp/phpipam_MySQL_dump_2022-07-31.sql