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

Commit e5cb5b7

Browse files
committed
Merge branch 'dev'
* dev: v0.3.3 Conflicts: README.md
2 parents a378b2c + 96e99cd commit e5cb5b7

File tree

5 files changed

+82
-8
lines changed

5 files changed

+82
-8
lines changed

README.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
CoreOS-Vagrant Cluster GUI for OS X
2+
============================
3+
4+
CoreOS-Vagrant Cluster GUI for Mac OS X is a Mac Status bar App which works like a wrapper around the [coreos-vagrant](https://github.com/coreos/coreos-vagrant) command line tool and bootstraps CoreOS cluster with one control (etcd) and two worker machines. Flannel network is set too.
5+
6+
Supports etcd2 in all CoreOS release channels.
7+
8+
####Note: OS X El Capitan:
9+
10+
* If you do a fresh install OS X El Capitan support will be enabled
11+
12+
* Otherwise run: `ln -s /opt/vagrant/bin/vagrant /usr/local/bin/vagrant >/dev/null 2>&1`
13+
14+
15+
16+
[CoreOS](https://coreos.com) is a Linux distribution made specifically to run [Docker](https://www.docker.io/) containers.
17+
[CoreOS-Vagrant](https://github.com/coreos/coreos-vagrant) is made to run on VirtualBox and VMWare VMs.
18+
19+
![CoreOS-Vagrant-Cluster-GUI](coreos-vagrant-cluster-gui.png "CoreOS-Vagrant-Cluster-GUI")
20+
21+
Download
22+
--------
23+
Head over to the [Releases Page](https://github.com/rimusz/coreos-osx-gui-cluster/releases) to grab the latest release.
24+
25+
26+
How to install
27+
----------
28+
29+
Required software
30+
* [VirtualBox](https://www.virtualbox.org/wiki/Downloads), [Vagrant](http://www.vagrantup.com/downloads.html) and [iTerm 2](http://www.iterm2.com/#/section/downloads)
31+
32+
* Download `CoreOS Cluster GUI latest.zip` from the [Releases Page](https://github.com/rimusz/coreos-osx-gui-cluster/releases) and unzip it.
33+
* Start the `CoreOS Cluster GUI` and from menu `Setup` choose `Initial setup of CoreOS-Vagrant Cluster`
34+
* The install will do the following:
35+
````
36+
1) All dependent files/folders will be put under 'coreos-osx-cluster' folder in the user's
37+
home folder e.g '/Users/someuser/coreos-osx-cluster'
38+
2) Will clone latest coreos-vagrant from git
39+
3) user-data file will have fleet, etcd and 'reboot off' set
40+
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`
41+
5) Will download and install fleetctl and etcdctl clients to ~/coreos-osx-cluster/bin/
42+
6) Will download latest vagrant VBox and run vagrant up to initialise VM
43+
````
44+
45+
How it works
46+
------------
47+
48+
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.
49+
50+
* There you can `Up`, `Suspend`, `Halt`, `Reload` CoreOS vagrant VMs
51+
* Under `Up' and 'OS shell` OS Shell will have such environment set:
52+
````
53+
1) Path to ~/coreos-osx-cluster/bin where etcdclt and fleetctl binaries are stored
54+
2) etcd endpoint - export ETCDCTL_PEERS=http://172.17.9.101:4001
55+
3) fleetctl endpoint - export FLEETCTL_ENDPOINT=http://172.17.9.101:4001
56+
````
57+
58+
* `SSH to control-01 and node-01/02` menu options will open VM shells.
59+
* Updates/Update OS X fleetctl and etcdclt will update fleetctl, etcdclt clients to the same versions as CoreOS VMs run.
60+
* Updates/Force CoreOS update will be run sudo update_engine_client -update on each CoreOS VM.
61+
* Updates/Check updates for CoreOS vbox will update CoreOS VM vagrant box.
62+
* [Fleet-UI](http://fleetui.com) dashboard will show running fleet units and etc
63+
64+
65+
Other links
66+
-----------
67+
* A standalone CoreOS VM version of OS X App can be found here [CoreOS-Vagrant GUI](https://github.com/rimusz/coreos-osx-gui).
68+
69+
* Kubernetes Cluster one CoreOS VM of OS X App can be found here [CoreOS-Vagrant Kubernetes Cluster GUI ](https://github.com/rimusz/coreos-osx-gui-kubernetes-cluster).

src/CoreOS Cluster GUI.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 47;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -239,7 +239,7 @@
239239
};
240240
};
241241
buildConfigurationList = 01E2853518A6C4E300BC630D /* Build configuration list for PBXProject "CoreOS Cluster GUI" */;
242-
compatibilityVersion = "Xcode 3.2";
242+
compatibilityVersion = "Xcode 6.3";
243243
developmentRegion = English;
244244
hasScannedForEncodings = 0;
245245
knownRegions = (
@@ -410,7 +410,7 @@
410410
GCC_PRECOMPILE_PREFIX_HEADER = YES;
411411
GCC_PREFIX_HEADER = "CoreOS Cluster GUI/CoreOS Cluster GUI-Prefix.pch";
412412
INFOPLIST_FILE = "CoreOS Cluster GUI/CoreOS Cluster GUI-Info.plist";
413-
MACOSX_DEPLOYMENT_TARGET = 10.8;
413+
MACOSX_DEPLOYMENT_TARGET = 10.9;
414414
PRODUCT_NAME = "CoreOS Cluster GUI";
415415
PROVISIONING_PROFILE = "";
416416
WRAPPER_EXTENSION = app;
@@ -427,7 +427,7 @@
427427
GCC_PRECOMPILE_PREFIX_HEADER = YES;
428428
GCC_PREFIX_HEADER = "CoreOS Cluster GUI/CoreOS Cluster GUI-Prefix.pch";
429429
INFOPLIST_FILE = "CoreOS Cluster GUI/CoreOS Cluster GUI-Info.plist";
430-
MACOSX_DEPLOYMENT_TARGET = 10.8;
430+
MACOSX_DEPLOYMENT_TARGET = 10.9;
431431
PRODUCT_NAME = "CoreOS Cluster GUI";
432432
PROVISIONING_PROFILE = "";
433433
WRAPPER_EXTENSION = app;

src/CoreOS Cluster GUI/CoreOS Cluster GUI-Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
<key>CFBundlePackageType</key>
2020
<string>APPL</string>
2121
<key>CFBundleShortVersionString</key>
22-
<string>0.3.2</string>
22+
<string>0.3.3</string>
2323
<key>CFBundleSignature</key>
2424
<string>????</string>
2525
<key>CFBundleVersion</key>
26-
<string>111</string>
26+
<string>115</string>
2727
<key>LSApplicationCategoryType</key>
2828
<string>public.app-category.utilities</string>
2929
<key>LSMinimumSystemVersion</key>

src/coreos-vagrant-install.command

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
# Created by Rimantas on 01/04/2014.
77
# Copyright (c) 2014 Rimantas Mocevicius. All rights reserved.
88

9+
# create symbolic link for vagrant to work on OS X 10.11
10+
ln -s /opt/vagrant/bin/vagrant /usr/local/bin/vagrant >/dev/null 2>&1
11+
912
# create "coreos-osx-cluster" and other required folders and files at user's home folder where all the data will be stored
1013
mkdir ~/coreos-osx-cluster
1114
mkdir ~/coreos-osx-cluster/tmp

src/coreos-vagrant.command

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
# Created by Rimantas on 01/04/2014.
77
# Copyright (c) 2014 Rimantas Mocevicius. All rights reserved.
88

9+
# overwrite for OS X 10.11
10+
vagrant=/usr/local/bin/vagrant
911

1012
# pass first argument - up, halt ...
1113
cd ~/coreos-osx-cluster/control
12-
vagrant $1
14+
$vagrant $1
1315

1416
cd ~/coreos-osx-cluster/workers
15-
vagrant $1
17+
$vagrant $1

0 commit comments

Comments
 (0)