k8s-helpers/get_pod_ip

Paddy 2015-07-18

0:278dc70f8696 Go to Latest

k8s-helpers/get_pod_ip/build-docker.sh

First commit. Let's try and get this working. Basically, just a small container that will find the IP of the current pod in kubernetes.

History
paddy@0 1 cd $GOPATH/src/code.secondbit.org/k8s-helpers/get_pod_ip && go get -u . && docker run -it -e "CGO_ENABLED=0" -e "GOOS=linux" -v $GOPATH:/gopath google/golang go build -v -a -installsuffix cgo -o /gopath/src/code.secondbit.org/k8s-helpers/get_pod_ip/docker-get_pod_ip code.secondbit.org/k8s-helpers/get_pod_ip