https://github.com/inwinstack/ip-assigner
Auto assign IP to Kubernees Namespace. :rooster::rooster::rooster:
https://github.com/inwinstack/ip-assigner
kubernetes
Last synced: 4 months ago
JSON representation
Auto assign IP to Kubernees Namespace. :rooster::rooster::rooster:
- Host: GitHub
- URL: https://github.com/inwinstack/ip-assigner
- Owner: inwinstack
- License: apache-2.0
- Created: 2018-11-15T15:58:49.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-31T06:56:21.000Z (almost 6 years ago)
- Last Synced: 2025-01-03T09:38:22.581Z (6 months ago)
- Topics: kubernetes
- Language: Go
- Homepage:
- Size: 73.2 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
[](https://travis-ci.org/inwinstack/ip-assigner) [](https://codecov.io/gh/inwinstack/ip-assigner) [](https://hub.docker.com/r/inwinstack/ip-assigner/) 
# 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](https://github.com/inwinstack/ipam).## Building from Source
Clone repo into your go path under `$GOPATH/src`:
```sh
$ 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:
```sh
$ go run cmd/main.go \
-v=2 \
--logtostderr \
--kubeconfig $HOME/.kube/config \
```## Deploy in the cluster
Run the following command to deploy operator:
```sh
$ kubectl apply -f deploy/
$ kubectl -n kube-system get po -l app=ip-assigner
```