IPAM provides two custom resource(Pool and IP), and auto-assign IP for Kubernetes Namespace.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd
deploy
examples
hack
images
pkg
.codecov.yml
.gitignore
.travis.yml
Dockerfile
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README.md

README.md

Build Status Docker Build Status codecov Hex.pm

IPAM Operator

A controller to assign IP for Kubernetes Namespace. This controller will provide two custom resource(Pool and IP).

Building from Source

Clone repo into your go path under $GOPATH/src:

$ git clone https://github.com/inwinstack/ipam.git $GOPATH/src/github.com/inwinstack/ipam
$ cd $GOPATH/src/github.com/inwinstack/ipam
$ make dep
$ make

Debug out of the cluster

Run the following command to debug:

$ go run cmd/main.go \
    --kubeconfig $HOME/.kube/config \
    --default-ignore-namespaces=kube-system,default,kube-public \
    --default-address=192.168.100.0/24 \
    --logtostderr -v=2

Deploy in the cluster

Run the following command to deploy the controller:

$ kubectl apply -f deploy/
$ kubectl -n kube-system get po -l ipam