flannel-server

command
v0.0.0-...-0f7fb66 Latest Latest
Warning

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

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

README

Flannel Server Helper

This pod contains the following components:

  • Flannel
  • Etcd
  • A helper that bridges the 2

Usage

Mount your network configuration into the pod. Example configuration:

{
    "Network": "192.168.0.0/16",
    "SubnetLen": 24,
    "Backend": {
        "Type": "vxlan",
        "VNI": 1
     }
}

Pass the appropriate command line arguments to the flannel-server-helper, for example the rc in this directory has:

      - image: gcr.io/google_containers/flannel-server-helper:0.1
        args:
        - --network-config /network.json
        - --etcd-prefix /kubernetes.io/network
        - --etcd-server http://127.0.0.1:4001

This will startup flannel in server mode, and point it at etcd running on port 4001. It will also start the flannel-server-helper, which reads network configuration from /network.json and writes it to etcd. The flannel server will poll etcd till this network configuration is available. Note that the provided rc configures flannel to listen for remote connections on 10253, so the flannel daemon needs to run on each node that's a part of the overlay, with -remote pointing at the server.

Wishlist

  • Flannel server helper health checks etcd and flannel

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/spf13/pflag
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
_workspace/src/github.com/ugorji/go/codec
High Performance, Feature-Rich Idiomatic Go codec/encoding library for binc, msgpack, cbor, json.
High Performance, Feature-Rich Idiomatic Go codec/encoding library for binc, msgpack, cbor, json.
_workspace/src/github.com/ugorji/go/codec/codecgen
codecgen generates codec.Selfer implementations for a set of types.
codecgen generates codec.Selfer implementations for a set of types.

Jump to

Keyboard shortcuts

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