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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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