fmeringdal / do-hashicorp-cluster

MIT License
204 stars 23 forks source link

Use Stateful Volumes #3

Open LouisIV opened 2 years ago

LouisIV commented 2 years ago

Some jobs (like databases) have data that should be persisted. Nomad has an answer for this Stateful Workloads.

Diving a bit deeper while on a cloud it makes the most sense to use CSI volumes. Hashicorp has a tutorial on these here.

Digital Ocean actually maintains and publishes a CSI driver so this should be extremely well supported.

Looking at this demo repo the PostgreSQL DB would be an excellent candidate for showing this off