Giter Club home page Giter Club logo

boot2k8s's Introduction

boot2k8s

boot2k8s is a boot2docker variant for Kubernetes. It is distributed as an ISO image that you can use to create a virtual machine in VirtualBox. That VM will run Kubernetes in a single node (a.k.a Kubernetes solo). boot2k8s is used to get started with Kubernetes, learn the basic concepts and start developing your cloud native application.

Download

The ISO for boot2k8s is available on the release page.

Build

To build it yourself, you will need to have a Docker host, clone this repo and run make:

$ docker version
...
$ git clone https://github.com/skippbox/boot2k8s.git
$ cd boot2k8s
$ make

You will then have a boot2k8s.iso file that you can use to start a VirtualBox machine that will run Kubernetes solo.

Run

If you did not clone the repo and just downloaded the ISO image from the release page, create a VirtualBox VM manually through the VirtualBox UI. Setup portforwarding on the default NAT interface to expose port 8080 of the host to port 8080 of the guest.

If you have cloned the repository you can automatically create the VirtualBox VM based on boot2k8s:

$ make run

If you do not have the kubectl Kubernetes client, get it now and make it executable chmod +x kubectl.

Darwin: $ wget https://storage.googleapis.com/kubernetes-release/release/v1.0.3/bin/darwin/amd64/kubectl

Linux: $ wget https://storage.googleapis.com/kubernetes-release/release/v1.0.3/bin/linux/amd64/kubectl

Then, once the Kubernetes API server starts running you can use kubectl to start using Kubernetes:

$ kubectl get pods
NAME                          READY     STATUS    RESTARTS   AGE
kube-controller-boot2docker   5/5       Running   0          1s
$ kubectl get pods
NAME                          READY     STATUS    RESTARTS   AGE
kube-controller-boot2docker   5/5       Running   0          3s

Support

If you experience problems with boot2k8s or want to suggest improvements please file an issue.

boot2k8s's People

Contributors

cab105 avatar sebgoa avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.