TheNewNormal/kube-cluster-osx

Name: kube-cluster-osx

Owner: The New Normal

Description: Local development multi node Kubernetes Cluster for macOS made very simple

Created: 2015-11-06 13:37:36.0

Updated: 2018-01-16 18:07:32.0

Pushed: 2017-10-05 14:46:54.0

Homepage:

Size: 1176905

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Easy Kubernetes Cluster for macOS

This project is not maintained anymore, please use minikube instead

Kube-Cluster for macOS is a status bar app which allows in an easy way to bootstrap and control multi-node (master+ two nodes) Kubernetes cluster on three CoreOS VMs.

k8s-multinode

It leverages macOS native Hypervisor virtualisation framework of using corectl command line tool, so there are no needs to use VirtualBox or any other virtualisation software anymore.

Includes: Helm Classic / Helm v2 - The Kubernetes Package Manager and an option from shell to install Deis Workflow on top of Kubernetes: $ install_deis

Kube-Cluster App can be used together with CoreOS VM App which allows to build Docker containers and both apps have access to the same local Docker registry hosted by Corectl App.

App's menu looks as per image below:

Kube-Cluster

Download

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

How to install Kube-Cluster

Requirements


Install:

TL;DR

The install will do the following:

a/var/lib/docker -> /var/lib/docker
a/var/lib/rkt -> /var/lib/rkt
/lib/kubelet sym linked to /data/kubelet
a/opt/bin
a/var/lib/etcd2
a/kubernetes
How it works

Just start Kube-Cluster application and you will find a small icon with the Kubernetes logo in the Status Bar.

Example ouput of succesfull CoreOS + Kubernetes cluster install:

tctl list-units:
                            MACHINE                     ACTIVE      SUB
t-ui.service                78ea6428.../192.168.64.5    active      running
-apiserver.service          78ea6428.../192.168.64.5    active      running
-controller-manager.service 78ea6428.../192.168.64.5    active      running
-scheduler.service          78ea6428.../192.168.64.5    active      running
-kubelet.service            1d00e269.../192.168.64.6    active      running
-kubelet.service            de9127a5.../192.168.64.7    active      running
-proxy.service              1d00e269.../192.168.64.6    active      running
-proxy.service              de9127a5.../192.168.64.7    active      running

ing for Kubernetes cluster to be ready. This can take a few minutes...


ing for Kubernetes nodes to be ready. This can take a bit...


 "k8snode-01" labeled
 "k8snode-02" labeled

ting kube-system namespace ...

alling SkyDNS ...
icationcontroller "kube-dns-v17" created
ice "kube-dns" created

alling Kubernetes Dashboard ...
oyment "kubernetes-dashboard-v1.4.0" created
ice "kubernetes-dashboard" created

ctl get nodes:
         STATUS    AGE
ode-01   Ready     6s
ode-02   Ready     6s
Usage

You're now ready to use Kubernetes cluster.

Some examples to start with Kubernetes examples.

Other CoreOS VM based Apps for macOS
Contributing

Kube-Cluster for macOS is an open source project release under the Apache License, Version 2.0, hence contributions and suggestions are gladly welcomed!


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.