saltstack-formulas / docker-formula

Install and set up Docker
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
136 stars 330 forks source link

Docker swarm creation #271

Closed julienpaulino closed 3 years ago

julienpaulino commented 3 years ago

Hello,

Can you explain how do you create a docker swarm cluster using this formula? Do I need to create an orchestration?

Thanks,

noelmcloughlin commented 3 years ago

Hey @julienpaulino The Swarm feature exposes Salt's Docker Swarm module, documented here. Read that document carefully, then populate required pillar data (see pillar.example also). Finally run the docker.swarm state(s) . Feature was added/merged during a recent formula refactoring but is not included in CI/CD so was "best effort" on my part, and I could not give more. https://github.com/saltstack-formulas/docker-formula/blob/648666d0590960f0f2a513c219ac7405bab62eb5/pillar.example#L170-L184

noelmcloughlin commented 3 years ago

Answered.