Deploying our App
A quick recap
Let's take a moment to recap the things we have covered so far.
- Created a base manifest using
kubekutr. - Applied patches to the base for configuring the volume mount.
- Created overlays for
localenvironment withkustomize. - Used
configMapGeneratorandsecretGeneratorto create these native objects from raw resources.
We are pretty close to a full-fledged deployment of Listmonk. A few more things that we need to cover:
- Creating a Job:
Jobobject helps us to run one-off tasks like DB Migrations, pulling assets from S3, etc. - Adding Persistent storage:
Persistent Volumehelps us back the storage to a Pod which is necessary for stateful workloads like Databases etc. - Running on microK8s: We will aggregate all the resources and apply the changes to the cluster.