multitenant-controller

command module
v0.0.0-...-4a7a52c Latest Latest
Warning

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

Go to latest
Published: May 5, 2019 License: MIT Imports: 20 Imported by: 0

README

Multitenant controller

This controller emulates the behaviour of the ovs-multitenant pod network plugin.

Cluster users label their namespaces as follows:

metadata:
  labels:
    multitenant-pod-network/group: mygroup

Namespaces with the same group label can communicate with one another. Namespaces with group label global can access and are reachable from all namespaces.

Isolation occurs only at the namespace level. The generated NetworkPolicy objects use only a small subset of the capabilities of the NetworkPolicy specification. Avoiding the complexity of pod-level isolation and whitelisting is the main purpose of this controller.

Run within cluster

Install the controller using the helm chart (update the namespace and other values as appropriate):

$ cd chart
$ make install

Run out of cluster

$ go build
$ ./multitenant-controller -kubeconfig=${HOME}/.kube/config

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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