Help us shape the future of Go! Take the 2026 Go Developer Survey

harmonystack

command module
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

README

harmonystack

middle layer between harmonycloud and opendaylight

OpenDaylight Network Provider for Kubernetes

HarmonyStack is an sdn network provider for kubernetes. HarmonyStack is devided into two functions:

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

How to run it

Notes: You need a working OpenDaylight and Kubernetes before deploying HarmonyStack.

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

Configure OpenDaylight authorization properties in /etc/harmonystack.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 harmonystack on each machine
harmonystack -logtostderr=true -v=4 -port=:4237

Configure kubernetes controller-manager and kubelet using opendaylight 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