.deploy/kubernetes directory of Firefly III (also available on GitHub) you will find three YAML files that denote a pretty standard service offering for both Firefly III and an accompanying MySQL database.
It's only Firefly III version 4.8.2 and up that will work with the instructions below. If you're running an earlier version of Firefly III you may run into database access issues.
Download all three files from GitHub (if necessary). Open
kustomization.yaml and make sure to change both the
db_password and the
app_key. It's important to know that the
app_key must be 32 characters in length exactly.
If you have no special configuration things to keep in mind it's enough to launch with a simple:
cd firefly-iii/.deploy/kuberneteskubectl apply -k ./
The output should be something like this:
secret/firefly-iii-secrets-g4c4tkm4tt createdservice/firefly-iii-mysql createdservice/firefly-iii createddeployment.apps/firefly-iii-mysql createddeployment.apps/firefly-iii createdpersistentvolumeclaim/firefly-iii-export-claim createdpersistentvolumeclaim/firefly-iii-upload-claim createdpersistentvolumeclaim/mysql-pv-claim created
It doesn't get more advanced than this. You can change any aspect of the Service, the number of pods or anything else as you see fit.