Comments (7)
Hey @mitchellvanrijkom totally sorry, missed your issue here somehow. My apologies.
Let's see. What would native Docker Swarm support mean? is there anything specific we'd need to enable or script?
from docker-vernemq.
Hey @ioolkos No problem! Thanks for the reply.
Docker Swarm is a clustering and orchestration tool for running Docker containers in Services.
https://docs.docker.com/engine/swarm/
To make use of scaling applications and enable load-balancing in the swarm we use Docker Services. This is one level up in the hierarchy of a distributed application of docker. See, https://docs.docker.com/get-started/part3/.
What we would like is when we have deployed VerneMQ broker as a Service. We want to make use of the scaling functionality in docker swarm to scale the numbers of running containers to autojoin a VerneMQ cluster by a simple command instead of defining own containers with the docker run command. See Docker documentation about scaling a service: https://docs.docker.com/engine/swarm/swarm-tutorial/scale-service/. When you want to use Autojoining you are required to set a IP-address of the first VerneMQ container. In a Docker swarm we can make use of Service discovery. Swarm manager nodes assign each service in the swarm a unique DNS name and load balances running containers. You can query every container running in the swarm through a DNS server embedded in the swarm. Thereby no need to set an IP-address.
Let me know if i am unclear in my explanation.
Thanks in advance!
from docker-vernemq.
@mitchellvanrijkom I guess this issue might be solved as part of our work in https://github.com/vernemq/vmq-discovery cc: @ioolkos, @codeadict
from docker-vernemq.
from docker-vernemq.
Any update for this? I've looked at vmq-discovery but the repo is so bare.
from docker-vernemq.
from docker-vernemq.
@codeadict sadly I don't know Erlang yet. Thanks anyway, keep up the good work!
from docker-vernemq.
Related Issues (20)
- Upgrade to alpine 3.17 and change openssl to openssl1.1-compat
- Uncaught target signal 11 (Segmentation fault) - core dumped HOT 5
- Can't reconfigure mqtts listener HOT 57
- VerneMQ cluster not working in Ipv6 only environment on Kubernetes HOT 11
- Container Crashes on DOCKER_VERNEMQ_ALLOW_MULTIPLE_SESSIONS HOT 2
- latest values.yaml mentions 1.13.0-alpine but that doesn't exist in dockerhub HOT 5
- Harcoded spec.type in template api-service.yaml
- some regular questions... HOT 5
- Configuring VerneMQ via Docker Image in Azure container app
- Restart of single node vernemq cluster triggers a cluster-leave scenario HOT 2
- wss and mqtts ports are not properly configured in helm chart
- Error in Kubernetes when not use helm-chart or operator HOT 2
- join_cluster missing in alpine image? HOT 4
- Hard to understand k8s secret name in Helm chart for TLS certificates HOT 4
- Docker swarm deployment with multiple networks not possible HOT 3
- List of CVE Vulnerabilities found in the Alpine Docker image HOT 3
- Helm chart: Configurable securityContext on container level
- Support custom ports on the headless service HOT 2
- Use of imagePullSecrets in the helm chart
- Kubernetes healthcheck gives access denied HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-vernemq.