docker-swarm-cluster | general tooling for creating a good Docker Swarm Cluster | Dashboard library
kandi X-RAY | docker-swarm-cluster Summary
kandi X-RAY | docker-swarm-cluster Summary
Combines some general tooling for creating a good Docker Swarm Cluster (Swarm Dashboard, Traefik, Portainer, Prometheus, Grafana)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-swarm-cluster
docker-swarm-cluster Key Features
docker-swarm-cluster Examples and Code Snippets
Community Discussions
Trending Discussions on docker-swarm-cluster
QUESTION
I'm searching for some monitor & alert solutions for my services. I found following nice related works.
Both works use dns service discovery to monitor multiple replicas of services.
I've tried to replay these work, but I found I can only get single backend container ip.
...ANSWER
Answered 2018-Jan-29 at 09:11For Prometheus
DNS Service Discovery, you don't want to use docker swarm
internal load balancing using Virtual IP (VIP)
.
What you're looking for is a per task service DNS. To get IP adresses of every service in your swarm, just prefix the DNS of your docker swarm service name with tasks.
.
For instance, in a swarm with 3 nodes, I get:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-swarm-cluster
Install Ubuntu on all VMs you're mean't to use in your Swarm Cluster See #Cloud provider tips section for details
Install the latest Docker package on all VMs (https://docs.docker.com/engine/install/ubuntu/)
The best practise is to have 3 VMs as Swarm Managers (may be small VMs) any number of VMs as Swarm workers (larger VMs) Place only essential services to run on managers By doing this, in case your services exhaust the cluster resources, you will still have access to portainer and grafana to react to a crisis Avoid your services to run on those machines by using placement constraints: Verify that firewall is either disabled for those internal hosts, or have the correct open ports for mesh service and internal docker overlay network requirements (https://docs.docker.com/network/overlay/#publish-ports-on-an-overlay-network). Those problems are hard to identify, mainly when only ONE VM is with this kind of problem
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page