nginxinc / kic-reference-architectures

MARA: Modern Application Reference Architecture
Apache License 2.0
634 stars 100 forks source link

feat: better manage orphaned volumes #113

Open qdzlug opened 2 years ago

qdzlug commented 2 years ago

Is your feature request related to a problem? Please describe. Currently, a number of the MARA components use persistent volumes (PV) to store data. This includes prometheus, grafana, and the elastic tooling. When MARA is destroyed, these PV's can be orphaned and left behind where they consume resources and (potentially) cost money.

Describe the solution you'd like Since MARA is a POC we should probably remove the PV's when the application is removed. We could potentially allow the user to set a flag to either remove or keep the volumes on destruction of MARA

Describe alternatives you've considered None.

Additional context n/a

qdzlug commented 2 years ago

Bumping, since we are running into this with Linode currently in testing....