Commit e521b3f1 authored by Vishnu Kannan's avatar Vishnu Kannan

Updated kube2sky to use the controller framework.

Refactored the code a bit to make it easy for future enhancements and unit testing. Tested the change manually on a kube node with and without kubeConfig based tokens.
parent 6ab51f3b
all: kube2sky
kube2sky: kube2sky.go
CGO_ENABLED=0 go build -a -installsuffix cgo --ldflags '-w' ./kube2sky.go
CGO_ENABLED=0 godep go build -a -installsuffix cgo --ldflags '-w' ./kube2sky.go
container: kube2sky
sudo docker build -t gcr.io/google_containers/kube2sky .
docker build -t gcr.io/google_containers/kube2sky .
push:
gcloud preview docker push gcr.io/google_containers/kube2sky
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment