Open mathieu-benoit opened 1 year ago
This is a great idea, and a good point of collaboration for myself and the GKE DPEs.
My initial thoughts:
Redis
be used here or should we use another database (e.g., MySQL or PostgreSQL) that's more commonly tied to StatefulSets? More specifically, how common is it to tie a StatefulSet to Redis?Linking the analogue for Bank of Anthos: https://github.com/GoogleCloudPlatform/bank-of-anthos/issues/1068
Commenting since this is near out-of-SLO:
p3
.Can I take this up?
Today, the in-cluster
redis
database is aDeployment
, as a best practice for such in-cluster scenario it would be great to have it asStatefulSet
with aPersistentVolume
. Maybe with Filestore like illustrated here? Or maybe another storage? That will also illustrate yet another great story with multiple Google Cloud services while showing best practices. This will allow Online Boutique's users (Googlers, etc.) to have a ready to use solution for such stateful workloads scenarios.We maybe don't want to have this as default, and we may want to keep this as
Deployment
by default (?), but maybe to start with a new Online Boutique variation (i.e. Kustomize overlay) would be a great candidate?Tagging @bourgeoisor @ahrarmonsur @charlieyu1996 as I'm sure they could provide more insights around this and maybe planning this for 2023?