A controller that assigns IP addresses to Kubernetes Namespace(Private) and Services(Public).
IP Assigner depend on IPAM, you can see more details from IPAM GitHub.
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
Run the following command to debug:
$ go run cmd/main.go \
-v=2 \
--logtostderr \
--kubeconfig $HOME/.kube/config \
Run the following command to deploy operator:
$ kubectl apply -f deploy/
$ kubectl -n kube-system get po -l app=ip-assigner