{"action":"created","issue":{"url":"https://api.github.com/repos/containous/traefik/issues/766","repository_url":"https://api.github.com/repos/containous/traefik","labels_url":"https://api.github.com/repos/containous/traefik/issues/766/labels{/name}","comments_url":"https://api.github.com/repos/containous/traefik/issues/766/comments","events_url":"https://api.github.com/repos/containous/traefik/issues/766/events","html_url":"https://github.com/containous/traefik/issues/766","id":184701191,"node_id":"MDU6SXNzdWUxODQ3MDExOTE=","number":766,"title":"Docker swarm mode, Traefik on manager node only ?","user":{"login":"tlvenn","id":3340262,"node_id":"MDQ6VXNlcjMzNDAyNjI=","avatar_url":"https://avatars1.githubusercontent.com/u/3340262?v=4","gravatar_id":"","url":"https://api.github.com/users/tlvenn","html_url":"https://github.com/tlvenn","followers_url":"https://api.github.com/users/tlvenn/followers","following_url":"https://api.github.com/users/tlvenn/following{/other_user}","gists_url":"https://api.github.com/users/tlvenn/gists{/gist_id}","starred_url":"https://api.github.com/users/tlvenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlvenn/subscriptions","organizations_url":"https://api.github.com/users/tlvenn/orgs","repos_url":"https://api.github.com/users/tlvenn/repos","events_url":"https://api.github.com/users/tlvenn/events{/privacy}","received_events_url":"https://api.github.com/users/tlvenn/received_events","type":"User","site_admin":false},"labels":[{"id":626678146,"node_id":"MDU6TGFiZWw2MjY2NzgxNDY=","url":"https://api.github.com/repos/containous/traefik/labels/area/provider/docker/swarm","name":"area/provider/docker/swarm","color":"d4c5f9","default":false},{"id":259872488,"node_id":"MDU6TGFiZWwyNTk4NzI0ODg=","url":"https://api.github.com/repos/containous/traefik/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb","default":false},{"id":602264614,"node_id":"MDU6TGFiZWw2MDIyNjQ2MTQ=","url":"https://api.github.com/repos/containous/traefik/labels/priority/P3","name":"priority/P3","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":47,"created_at":"2016-10-23T16:59:31Z","updated_at":"2018-08-14T12:08:56Z","closed_at":null,"author_association":"NONE","body":"I was reading the updated doc on how to deploy Traefik with Docker 1.12 and swarm mode when I saw that Traefik need to be deployed only on manager nodes...\n\nFor me, it's really weird to deploy a LB on manager nodes, those nodes should not deal with data plane, they should operate the control plane and they are limited to 5 in any given cluster.\n\nIs there a current limitation with worker that forces Traefik to run on a manager ? Has an issue been created at Docker to solve this because unless I am missing something, I dont really see how that can scale at all and it seems dangerous to colocate the LB with the ochestrator...\n"},"comment":{"url":"https://api.github.com/repos/containous/traefik/issues/comments/412850172","html_url":"https://github.com/containous/traefik/issues/766#issuecomment-412850172","issue_url":"https://api.github.com/repos/containous/traefik/issues/766","id":412850172,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjg1MDE3Mg==","user":{"login":"pascalandy","id":6694151,"node_id":"MDQ6VXNlcjY2OTQxNTE=","avatar_url":"https://avatars1.githubusercontent.com/u/6694151?v=4","gravatar_id":"","url":"https://api.github.com/users/pascalandy","html_url":"https://github.com/pascalandy","followers_url":"https://api.github.com/users/pascalandy/followers","following_url":"https://api.github.com/users/pascalandy/following{/other_user}","gists_url":"https://api.github.com/users/pascalandy/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalandy/subscriptions","organizations_url":"https://api.github.com/users/pascalandy/orgs","repos_url":"https://api.github.com/users/pascalandy/repos","events_url":"https://api.github.com/users/pascalandy/events{/privacy}","received_events_url":"https://api.github.com/users/pascalandy/received_events","type":"User","site_admin":false},"created_at":"2018-08-14T12:08:56Z","updated_at":"2018-08-14T12:08:56Z","author_association":"NONE","body":"@BretFisher thanks for this!\r\n\r\n> For those needing the functionality of docker run you can wrap that in a docker service create (the service task runs a docker container with control of host socket. I have an example of that here.\r\n\r\nAt the moment, I used a cron job to perform this task on the server \r\n\r\n```\r\nwhile true; do docker image prune -af; sleep 86400; done\r\n ```\r\n\r\nI understand that the benefit are:\r\n- No need to care for cron job on the server\r\n- No need to do it on each servers \r\n"}}
{"actor":{"display_login":"pascalandy"}}