VaalaCat / vorker

🔥🔥Vorker is a simple self host cloudflare worker alternative which built with cloudflare's workerd🔥🔥
https://vaala.cat/2023/06/03/Vorker%E5%BC%80%E5%8F%91%E7%AC%94%E8%AE%B0-%E8%87%AA%E5%BB%BA%E7%9A%84%E4%BA%91%E5%87%BD%E6%95%B0%E5%B9%B3%E5%8F%B0/
109 stars 4 forks source link

Documentation on multi-node system #17

Closed kashalls closed 8 months ago

kashalls commented 8 months ago

Currently vorker seems to have Multi Node support as mentioned on the README. Is there any documentation to how you would set this up?

VaalaCat commented 8 months ago

You can navigate to docker-compose.yaml file, this file is a minimalism multi node configuration example.

Vorker have one master and multi agent, for production deployment, assume there are three nodes, one master and two agents, their dockercompose file should be as follows

More detailed documentation is still under construction, the configuration given below should work fine, if there are any issues please let me know and I'll be happy to fix them

services: vorker-master: image: vaalacat/vorker privileged: true volumes:

services: vorker-agent: privileged: true image: vaalacat/vorker volumes:

services: vorker-agent: privileged: true image: vaalacat/vorker volumes:

kashalls commented 8 months ago

Vorker have one master and multi agent, for production deployment, assume there are three nodes, one master and two agents, their dockercompose file should be as follows

Interesting, thanks for this. I'm going to try and push this to my kubernetes cluster for testing. I'm not too good with Chinese so I hope a internationalization can be implemented into the frontend as well.

Does the agent require individual volumes or can the agent's share the same volume? I brought up #15 as an seperate issue because I have already existing infrastructure that is made highly available. Ceph is on all k8s nodes, minio is located elsewhere in my network, postgres/mysql is also made HA.

VaalaCat commented 8 months ago

Vorker's goal is to build a self-consistent system that does not need to rely on external components to achieve distribution.

Each agent uses an independent volume, and Vorker will implement all the functions of distributed HA internally.

No need to rely on external infrastructure.

internationalization has already implemented, Internationalization documentation is here: i18n, the front end should automatically detect the locale. If i18n does not work, you can open a new issue and let me fix it.

15 I have explained Vorker's goals in detail under this question

kashalls commented 8 months ago

Thank you for your information!