Monolith app with mysql and elastic search

5/12/2020

I am deploying a monolith app on production which comprises of mysql and elastic search as read and write store.

If I run jhipster k8s, it creates kind: Deployment for both mysql and elastic search.

Now I want to use StatefulSets instead of Deployments for mysql and elasticsearch for guaranteed data retain purpose as I want to attach AWS EBS volumes to each of these.

Is there a way Jhipster makes these two as StatefulSet instead of making it Deployment out of the box ? Or after creating the deployments, I need to manually modify them to statefulsets ?

-- Tuhin Subhra Mandal
jhipster
kubernetes

0 Answers