You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2021. It is now read-only.
I have simple 3 nodes swarm cluster where each node is master and worker:
"oxmqs5lze5dk5m6ni0me4msnu * dock1 Ready Active Leader 19.03.1",
"cwyprb7cxtepai541h58no4as dock2 Ready Active Reachable 19.03.1",
"o3b2ttd0wxbyfh1e1yovj8rxw dock3 Ready Active Reachable 19.03.1"
So because in current docker-compose.yml file placement for Grafana, Prometheus, Caddy and AlertManager is setup to be deployed on master, I changed it to be deployed only to dock1 using placement
placement:
constraints:
- node.hostname == dock1
Unfortunately it didn't work and most of these services went to dock3.
Next try I applied label "Monitoring=true" to dock1 and used placement :
I have simple 3 nodes swarm cluster where each node is master and worker:
So because in current docker-compose.yml file placement for Grafana, Prometheus, Caddy and AlertManager is setup to be deployed on master, I changed it to be deployed only to dock1 using placement
Unfortunately it didn't work and most of these services went to dock3.
Next try I applied label "Monitoring=true" to dock1 and used placement :
but this same situation :(
When I did this same on Swarm node with 1 master only, all placement constraints works correctly.
Does anyone have this same situation like I have ?
The text was updated successfully, but these errors were encountered: