Skip to content
CoreOS cluster demo for vagrant with NFS, DRBD, central journald logging, HAProxy loadbalancer, NGINX + PHP-FPM
Branch: master
Clone or download
Pull request Compare This branch is even with johan-adriaans:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker
inventory
presentatie
roles
.gitignore
.gitmodules
Makefile
README.md
Vagrantfile
playbook_bootstrap.yml
playbook_cluster.yml

README.md

Clusterf.ck demo cluster

Requirements

Recent versions of:

Start

git clone --recursive https://github.com/johan-adriaans/clusterf.ck
cd clusterf.ck
make start
make bootstrap-cluster
make log # And wait for everything to load

Status

Check cluster for problems with:

vagrant status
--
vagrant ssh cluster-member-1
etcdctl cluster-health
fleetctl list-machines
fleetctl list-units

Tail centralized log:

make log

HAProxy dasboard:

Create subdomains

Create folders in /mnt/data/user_data with httpdocs subfolders for [foldername].clusterf.ck.driaans.nl subdomains. (currently forces index.php as index)

mkdir -p /mnt/data/user_data/example/httpdocs
echo '<?php phpinfo();' > /mnt/data/user_data/example/httpdocs/index.php

Cleanup

make clean
You can’t perform that action at this time.