WhatsApp / WhatsApp-Business-API-Setup-Scripts

The scripts related to setting up WhatsApp business API
MIT License
410 stars 433 forks source link

Documentation does not mention kubernetes setup #7

Closed nesl247 closed 5 years ago

nesl247 commented 5 years ago

The documentation available at developers.facebook.com does not mention the kubernetes setup. This should be documented as well. I would imagine more people will be running this setup than the docker-compose setup.

thiagocmoraes commented 5 years ago

This is available at https://developers.facebook.com/docs/whatsapp/installation/dev-multiconnect-minikube/

nesl247 commented 5 years ago

Shouldn't it also be made available for production? I did not even think to look at the dev documentation.

mengyiyuan commented 5 years ago

@nesl247 What Kubernetes framework you use in production? There're many options like EKS, GKE, or on-premise, so it makes it hard for us to decide which "production" setup to work on. Your input will be valuable. Meanwhile, I hope you can still refer to the dev k8s docs for all the necessary configs.

nesl247 commented 5 years ago

My suggestion would be to provide a helm chart. This would work with any setup.

Radiergummi commented 4 years ago

@mengyiyuan maybe it would be good to do an actual survey among WhatsApp Business customers which environment they run their containers in. We use GKE, but I'm sure there are others with different requirements. It would be really awesome to have official guidelines on cluster setup and configuration for HA - especially when running large deployments (we have ~430 numbers up at this moment).

SinghDivneet commented 4 years ago

is there an update on this ?

sshishov commented 4 years ago

Hey guys, it is very easy to create HelmChart and give it to users to use and override values. Then it will not matter where will you use this chart. Do you need any help here?

Update: I even can find already one https://github.com/Goodsmileduck/kubernetes-whatsapp

Goodsmileduck commented 4 years ago

yeah, I just want to comment with my git repo. I have a few updates if anyone interested I can update it tomorrow. I also need to decouple the database from that helm repo probably. Also if you have suggestions don't hesitate to create issues in that repo

sshishov commented 4 years ago

@Goodsmileduck thank you for git repo. If you would host the chart somewhere or move it to helm.sh it would be great. Currently, to use your repo, I should clone it. It eliminates the possibility to easily update the version. Maybe we can cooperate with WhatsApp people and create one fancy chart for everyone.

Goodsmileduck commented 4 years ago

@sshishov I can't imagine helm will approve to add my chart to their curated repo. I can try to create repo using GitHub pages to store chart versions. But from the other side, I would not trust to my repo for 100% since there no other contributors plus I added there custom post-hook job which updates admin password using prebuilt docker images with python libs. So better if you can control what is happening in the repo if you want to deploy it for many customers.

amila-fc commented 1 year ago

@sshishov I can't imagine helm will approve to add my chart to their curated repo. I can try to create repo using GitHub pages to store chart versions. But from the other side, I would not trust to my repo for 100% since there no other contributors plus I added there custom post-hook job which updates admin password using prebuilt docker images with python libs. So better if you can control what is happening in the repo if you want to deploy it for many customers.

@Goodsmileduck : could you please share the latest version of this helm chart without database.

Goodsmileduck commented 1 year ago

@amila-fc I pushed last changes to my repo, you can try, also made helm repo using gh-pages so you can pull packages from public repo. Didn't test with external mysql well, but at least it could successfully install helm release. Also it's available in artifacthub too