Back

Need help with Deploying with Kubernetes

  • 0
  • Self Hosted
  • Web
ORIZON
8 Mar, 2023, 06:07

Hello. I'm new to the server and Actually new to Appwrite as Well. I'm using Kubernetes to Orchestrate a Website but Everytime I run a Container normally and restart it . I need to setup Everything from Start. How can I have replicas in Appwrite. I'm currently using Auth & Database in Appwrite. If there is a guide or Website or Can you explain me. Thanks πŸ™‚

TL;DR
User is asking for help with deploying Appwrite on Kubernetes. No official resources for running Appwrite on Kubernetes. Link to a community attempt at deploying Appwrite on Kubernetes: https://github.com/k3env/appwrite-helm User wants to know if it's possible to use Kubernetes. Response suggests that changes and a helm chart may be needed for Kubernetes deployment. User shares a command they are using for a native Docker installation. Response states that there is no native support for Kubernetes yet, and suggests checking if a volume is being set up for the database. User is new to Appwrite and using Kubernetes and wants to know how to have
Christy Jacob
8 Mar, 2023, 06:48

Hey we don't have native support for k8s yet. But it looks like in your case there's no volume being setup. Can you check if youre using a volume for the database

ORIZON
8 Mar, 2023, 07:21

I just use this Command. Is this ok ? Mr. Jacob

Christy Jacob
8 Mar, 2023, 07:22

Yes that command is for a native docker installation. To be used with k8s there will definitely need to be some changes and you probably need to create a helm chart

ORIZON
8 Mar, 2023, 07:23

Can you point me to somewhere? Website or Guide? Mr. Jacob

ORIZON
8 Mar, 2023, 07:42

Is it possible to use K8s?

Christy Jacob
8 Mar, 2023, 11:56

Unfortunately no, we don't have any resources for it. However some attempts were made by the community to get it working.

https://github.com/k3env/appwrite-helm

Drake
8 Mar, 2023, 17:24

Related issues:

https://github.com/appwrite/appwrite/issues/24 https://github.com/appwrite/appwrite/issues/364

The biggest challenge with running Appwrite on K8s is getting functions to work because Appwrite relies on the docker socket to spin up containers at runtime.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more