kubestack

command module
v0.0.0-...-cab0ad9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

README

Build Status

OpenStack Network Provider for Kubernetes

KubeStack is an OpenStack network provider for kubernetes. KubeStack is devided into two functions:

  • kubestack running on the same host with kube-controller-manager, which provides network management by openstack
  • kubestack running on each minion host, which setups container's network interfaces

How to run it

Notes: You need a working OpenStack and Kubernetes before deploying kubestack.

mkdir -p $GOPATH/src/github.com/hyperhq/
cd $GOPATH/src/github.com/hyperhq/
git clone https://github.com/hyperhq/kubestack.git
cd kubestack
make && make install

Configure openstack authorization properties in /etc/kubestack.conf:

[Global]
auth-url = http://192.168.33.33:5000/v2.0
username = admin
password = admin
tenant-name = admin
region = RegionOne
ext-net-id = <Your-external-network-id>

[LoadBalancer]
create-monitor = yes
monitor-delay = 1m
monitor-timeout = 30s
monitor-max-retries = 3

[Plugin]
plugin-name = ovs

Start:

# Start kubestack on each machine
kubestack -logtostderr=true -v=4 -port=:4237

Configure kubernetes controller-manager and kubelet using openstack network provider:

kube-controller-manager --network-provider=127.0.0.1:4237 --...
kubelet --network-provider=127.0.0.1:4237 --....

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmds
protoc-gen-gogo command
protoc-gen-go is a plugin for the Google protocol buffer compiler to generate Go code.
protoc-gen-go is a plugin for the Google protocol buffer compiler to generate Go code.
pkg
types
Package types is a generated protocol buffer package.
Package types is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL