niallthomson / kpack-viz

Application to view whats going on with kpack
2 stars 0 forks source link

kpack-viz

CI

kpack-viz is an application for viewing the state of kpack running in your Kubernetes cluster.

High-level features include:

screenshot

The current limitations are:

Usage

The tool can be run either locally or in the Kubernetes cluster where kpack is installed.

Pre-requisites:

Kubernetes

Currently the code makes the assumption that kpack-viz is installed in the same namespace as kpack.

The example manifests provided use ytt, kbld and kapp to build the full manifests and deploy the application. You must install these utilities first. If you do not wish to use these tools you will need to manually build the YAML files from the examples provided in ./deploy.

To deploy using the existing images hosted on Docker Hub:

./deploy.sh -v ingress.domain="<your domain>"

Where <your domain> is a fully qualified domain that will be used for the Ingress resource.

To build a new image locally and deploy (requires Docker locally):

./deploy.sh -v ingress.domain="<your domain>" -v image.destination="<your image>" -f deploy/optional/image.yml

Where <your image> is the full path to a repository and image. For example:

Local

Running locally is relatively straightforward. It has particular requirements above what was previously specified:

Build the application:

./build.sh

Then run it:

./kpack-viz

This will start the server on port 8080, so access the following URL in your browser:

http://localhost:8080