Winson-030 / dify-kubernetes

Deploy Dify on Kubernetes
GNU General Public License v3.0
61 stars 14 forks source link

is mutiple postregsql and redis pods supported? #6

Closed TheZhuangPark closed 2 months ago

TheZhuangPark commented 2 months ago

with mutiple postregsql and redis pods, which can enhance the stability of Dify

Winson-030 commented 2 months ago

Currently not. This is an very good idea to setup HA components, I will consider this in the future. Now You can deploy HA db by yourself and deploy other components separately. Deployment yaml files are in folder 'dify/'. Very welcome to raise PR, big thanks! ❤️

Winson-030 commented 2 months ago

Kubeblock maybe a good choice

TheZhuangPark commented 2 months ago

i am currently working on it, cause most people deploy dify on k8s normall will need mutiple instances of components. i hope to commit some yaml file, mostly focus on expansion of postregsql and redis(HA DB),i currently working on my 10+ ubuntu mechines. 1 use Patroni as control layer of multiple postregsql. 2 native clustering feature as redis cluster how is that?

Winson-030 commented 2 months ago

Sure! Welcome raise PRs! Please add files under folder dify/ first. I think it is good to have a new deployment yaml file for HA setup. I will work with you on this case.