kpack-viz
is an application for viewing the state of kpack
running in your Kubernetes cluster.
High-level features include:
The current limitations are:
The tool can be run either locally or in the Kubernetes cluster where kpack
is installed.
Pre-requisites:
kpack
installedCurrently 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:
<your username>/<some image name>
. I use nthomsonpivotal/kpackviz
.<harbor domain>/<project>/<image>
.Running locally is relatively straightforward. It has particular requirements above what was previously specified:
kubectl
logged in to the cluster where kpack
is installed, as it currently inherits that endpoint/credential informationstatik
>= 0.1.17node
>= 12.XBuild 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