Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

rimusz/coreos-cluster-osx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoreOS-Vagrant Cluster for OS X

CoreOS-Vagrant Cluster GUI for Mac OS X is a Mac Status bar App which works like a wrapper around the coreos-vagrant command line tool and bootstraps CoreOS cluster with one control (etcd) and two worker machines. Flannel network is set too.

CoreOS is a Linux distribution made specifically to run Docker containers. CoreOS-Vagrant is made to run on VirtualBox and VMWare VMs.

CoreOS-Vagrant-Cluster-GUI

Download

Head over to the Releases Page to grab the latest release.

How to install

Required software

  • VirtualBox, Vagrant and iTerm 2

  • Download CoreOS Cluster GUI latest.zip from the Releases Page and unzip it.

  • Start the CoreOS Cluster GUI and from menu Setup choose Initial setup of CoreOS-Vagrant Cluster

  • The install will do the following:

1) All dependent files/folders will be put under 'coreos-osx-cluster' folder in the user's 
 home folder e.g '/Users/someuser/coreos-osx-cluster'
2) Will clone latest coreos-vagrant from git
3) user-data file will have fleet, etcd and 'reboot off' set
4) control (etcd) machine will be set with IP `172.17.9.101` and two cluster nodes with IPs: `172.17.9.102 and 172.17.9.103`
5) Will download and install fleetctl and etcdctl clients to ~/coreos-osx-cluster/bin/
6) Will download latest vagrant VBox and run vagrant up to initialise VM

How it works

Just start CoreOS Cluster GUI application and you will find a small icon with the CoreOS logo with the (C) which means for cluster in the Status Bar.

  • There you can Up, Suspend, Halt, Reload CoreOS vagrant VMs
  • Under Up' and 'OS shell OS Shell will have such environment set:
1) Path to ~/coreos-osx-cluster/bin where etcdclt and fleetctl binaries are stored
2) etcd endpoint - export ETCDCTL_PEERS=http://172.17.9.101:4001
3) fleetctl endpoint - export FLEETCTL_ENDPOINT=http://172.17.9.101:4001
  • SSH to control-01 and node-01/02 menu options will open VM shells.
  • Updates/Update OS X fleetctl and etcdclt will update fleetctl, etcdclt clients to the same versions as CoreOS VMs run.
  • Updates/Force CoreOS update will be run sudo update_engine_client -update on each CoreOS VM.
  • Updates/Check updates for CoreOS vbox will update CoreOS VM vagrant box.
  • Fleet-UI dashboard will show running fleet units and etc

Other Apps