GithubHelp home page GithubHelp logo

fedora-atomic-kubernetes-flannel's Introduction

Running Kubernetes Example on Fedora Atomic with flannel

It works same as Running Kubernetes Example on CoreOS, Part 2 with flannel (formerly Rudder).

Ref.) https://github.com/GoogleCloudPlatform/kubernetes/tree/master/docs/getting-started-guides/coreos
Ref.) https://github.com/GoogleCloudPlatform/kubernetes/tree/master/examples/guestbook

Step Zero: Build up a Kubernetes cluster

$ git clone https://github.com/YungSang/fedora-atomic-kubernetes-flannel.git
$ vagrant up

It will boot up one for etcd discovery, one master and two minion servers (minion-x).

Setup an SSH tunnel

Setup an SSH tunnel to the Kubernetes API Server in order to use kubecfg on your local machine.

$ curl -OL https://github.com/GoogleCloudPlatform/kubernetes/releases/download/v0.5.3/kubernetes.tar.gz
$ tar zxvf kubernetes.tar.gz kubernetes/platforms/darwin/amd64/kubecfg
x ./kubernetes/platforms/darwin/amd64/kubecfg
$ cp ./kubernetes/platforms/darwin/amd64/kubecfg /usr/local/bin
$ kubecfg -version
Kubernetes v0.5.3
$ vagrant ssh-config master > ssh.config
$ ssh -f -nNT -L 8080:127.0.0.1:8080 -F ssh.config master
$ kubecfg list pods
ID                  Image(s)            Host                Labels              Status
----------          ----------          ----------          ----------          ----------

Step One to Five: same as CoreOS

Running Kubernetes Example on CoreOS, Part 2 with flannel (formerly Rudder)

$ open http://192.168.12.11:8000
$ open http://192.168.12.12:8000

fedora-atomic-kubernetes-flannel's People

Contributors

yungsang avatar

Stargazers

 avatar  avatar  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.