Table of Contents
Tips for contributing to or hacking on the Korrel8r project.
Tip
|
make help will list make targets with brief explanation.
|
Build and install korrel8r using
go install
.make install
Build and publish a korrel8r image using your public image repository.
make image REGISTRY_BASE=quay.io/myaccount
Tip
|
Set REGISTRY_BASE or IMG to the repository where you want to push images.
|
Important
|
you need a public image repository for your cluster to pull images. Some registry services create private repositories by default, make sure your repository is public. |
For korrel8r to work, you need some observability data to look at.
-
https://github.com/korrel8r/config/ has scripts to set up observability on an OpenShift cluster.
-
hack/kind has some scripts for testing on Kind clusters.
Log into your cluster as kubeadmin
or other admin user.
You can run korrel8r on your local host, it can observe your cluster from the outside.
You need to be logged-in as kubeadmin
to your cluster:
Run korrel8r service outside the cluster.
korrel8r web -c etc/korrel8r/openshift-route.yaml -http :8080
Browse the interactive API page: xdg-open http://localhost:8080/api
Use korrel8r --help
for more commands and options.