ICP Dashboard Weave Scope Plugin

A weave scope plugin that links kubernetes objects to their dashboard view in the ICP dashboard

Getting started

  1. Configure kubectl
  2. Install Weave Scope
  3. set $DOCKER_USER in your environment
  4. Change the image name deploy the configmap needed in deploy.yml
  5. Run
$ ./build.sh

Faster Dev Builds

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

  1. Run go get k8s.io/client-go/...
  2. Run .local_build/build.sh

Viewing the report

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