A weave scope plugin that links kubernetes objects to their dashboard view in the ICP dashboard
- Configure kubectl
- Install Weave Scope
- set $DOCKER_USER in your environment
- Change the image name deploy the configmap needed in
deploy.yml
- Run
$ ./build.sh
The Dockerfile will always go get
the kubernetes dependency. This makes the
build take much longer than need be. For this reason I've included the
.local_build/
folder with a separate Dockerfile. The script
.local_build/build.sh
is the same as the top level version except it complies
the go binary outside of the container and therefore can reuse the dependencies.
To use
- Run
go get k8s.io/client-go/...
- Run
.local_build/build.sh
I've added a test case that logs the weave report so that you may verify it's contents. This is a quick solution that I have found helpful in development.
Run go test -v *.go