mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Add Vagrantfile, external YAML data file, and README.md for a learning environment leveraging CentOS Atomic Host to build a Docker cluster using swarm mode. Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
46 lines
912 B
YAML
46 lines
912 B
YAML
---
|
|
- box:
|
|
vmw: "centos/atomic-host"
|
|
vb: "centos/atomic-host"
|
|
name: "manager"
|
|
nics:
|
|
- type: "private_network"
|
|
ip_addr: "192.168.100.100"
|
|
ram: "512"
|
|
vcpu: "1"
|
|
- box:
|
|
vmw: "centos/atomic-host"
|
|
vb: "centos/atomic-host"
|
|
name: "worker-01"
|
|
nics:
|
|
- type: "private_network"
|
|
ip_addr: "192.168.100.101"
|
|
ram: "512"
|
|
vcpu: "1"
|
|
- box:
|
|
vmw: "centos/atomic-host"
|
|
vb: "centos/atomic-host"
|
|
name: "worker-02"
|
|
nics:
|
|
- type: "private_network"
|
|
ip_addr: "192.168.100.102"
|
|
ram: "512"
|
|
vcpu: "1"
|
|
- box:
|
|
vmw: "centos/atomic-host"
|
|
vb: "centos/atomic-host"
|
|
name: "worker-03"
|
|
nics:
|
|
- type: "private_network"
|
|
ip_addr: "192.168.100.103"
|
|
ram: "512"
|
|
vcpu: "1"
|
|
- box:
|
|
vmw: "centos/atomic-host"
|
|
vb: "centos/atomic-host"
|
|
name: "worker-04"
|
|
nics:
|
|
- type: "private_network"
|
|
ip_addr: "192.168.100.104"
|
|
ram: "512"
|
|
vcpu: "1"
|