Skip to content

Automatic local Swarm cluster provisioning and configuration on CoreOS using Ansible and Vagrant

Notifications You must be signed in to change notification settings

sebiwi/docker-coreos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-coreos

TL;DR

I hacked something together in order to create a Swarm cluster on CoreOS (or Container Linux) using Vagrant and Ansible.

If you keep reading, I’m going to talk to you about Swarm, CNM, runc, containerd, Infrastructure as Code and Ansible testing strategies. It’s gonna be super fun.

If you want to try it:

git clone https://github.com/sebiwi/docker-coreos
cd docker-coreos
make up

This will spin up 6 VMs: Three Swarm Manager nodes (one Leader), and three Swarm Worker nodes. You can modify the size of the cluster by hacking on the Vagrantfile and the Ansible inventory.

You will need Ansible 2.2, Vagrant and Virtualbox. You will also need molecule and docker-py, if you want to run the tests.

You can find the articles related to this repository below:

About

Automatic local Swarm cluster provisioning and configuration on CoreOS using Ansible and Vagrant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published