Open eznix86 opened 1 week ago
I wanted to try out 3 managers on a cluster of 3 nodes. I kill one node to the see the behaviour, the visualizer broke and show only one node.
After killing one node:
Using 3 VM (Ubuntu mutlpass)
This is what I get:
The configuration (taken from the docs)
version: '3.9' services: manager: environment: - VISUALIZER_TYPE=manager image: yandeu/visualizer:dev volumes: - /var/run/docker.sock:/var/run/docker.sock networks: - agent_network deploy: mode: replicated replicas: 1 placement: constraints: [node.role == manager] labels: - visualizer.manager healthcheck: test: curl -f http://localhost:3500/healthcheck || exit 1 interval: 10s timeout: 2s retries: 3 start_period: 5s ports: - '9500:3500' agent: environment: - VISUALIZER_TYPE=agent image: yandeu/visualizer:dev volumes: - /var/run/docker.sock:/var/run/docker.sock networks: - agent_network deploy: mode: global placement: constraints: [node.platform.os == linux] labels: - visualizer.agent healthcheck: test: curl -f http://localhost:9501/healthcheck || exit 1 interval: 10s timeout: 2s retries: 3 start_period: 5s networks: agent_network: driver: overlay attachable: true
Is there the same issue then using the rust version? https://github.com/yandeu/docker-swarm-visualizer-rs
i will try that !
I wanted to try out 3 managers on a cluster of 3 nodes. I kill one node to the see the behaviour, the visualizer broke and show only one node.
After killing one node:
Using 3 VM (Ubuntu mutlpass)
This is what I get:
The configuration (taken from the docs)