Sign inSign up

inwinstack/ip-assigner

By inwinstack

•Updated about 7 years ago

A controller to auto-assign the IP to Kubernetes Namespace.

Image
0

1.3K

inwinstack/ip-assigner repository overview

Build Status codecov Docker Pulls Hex.pm

⁠IP Assigner

A controller that assigns IP addresses to Kubernetes Namespace(Private) and Services(Public).

⁠Requirements

IP Assigner depend on IPAM, you can see more details from IPAM GitHub⁠.

⁠Building from Source

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

$ git clone https://github.com/inwinstack/ip-assigner $GOPATH/src/github.com/inwinstack/ip-assigner
$ cd $GOPATH/src/github.com/inwinstack/ip-assigner
$ make dep
$ make

⁠Debug out of the cluster

Run the following command to debug:

$ go run cmd/main.go \
    -v=2 \
    --logtostderr \
    --kubeconfig $HOME/.kube/config \

⁠Deploy in the cluster

Run the following command to deploy operator:

$ kubectl apply -f deploy/
$ kubectl -n kube-system get po -l app=ip-assigner

Tag summary

Content type

Image

Digest

Size

10.5 MB

Last updated

about 7 years ago

docker pull inwinstack/ip-assigner