Keptn's Bridge

The Keptn’s Bridge lets you browse the Keptn’s log. It is automatically installed with your Keptn installation.

Usage

The Keptn’s Bridge is not publicly accessible, but can be retrieved by enabling port-forwarding from your local machine to the Keptn’s Bridge:

kubectl port-forward svc/bridge -n keptn 9000:8080

It is then available on: http://localhost:9000.

The Keptn’s Bridge provides an easy way to browse all events that are sent within Keptn and to filter on a specific Keptn context. When you access the Keptn’s Bridge, all Keptn entry points will be listed in the left column. Please note that this list only represents the start of a deployment of a new artifact and, thus, more information on the executed steps can be revealed when you click on one event.

Keptn's Bridge start page

When selecting an event, the Keptn’s Bridge displays all other events that are in the same Keptn context and, thus, belong to the selected entry point. As can be seen in the screenshot below, the entry point around 4:22 pm has been selected and all events belonging to this entry point are shown. The detail section lists the timestamp as well as payload of the event. Additionally, the service that sent this event is also shown.

Keptn's Bridge detailed view

Please note: Keptn’s Bridge exposes sensitive information. We do not recommend exposing it publicly via LoadBalancer, NodePort, VirtualServices or alike.

Early Access Version of Keptn’s Bridge

There is an early access version of Keptn’s Bridge available (compatible with Keptn 0.6.0):

Keptn's Bridge EAP

To install it, you have to update the Docker images of Keptn’s Bridge and the mongodb-datastore deployment by executing the following commands:

kubectl -n keptn set image deployment/bridge bridge=keptn/bridge2:0.6.1.EAP.20200203.0924 --record
kubectl -n keptn-datastore set image deployment/mongodb-datastore mongodb-datastore=keptn/mongodb-datastore:0.6.1.EAP.20200131.1010 --record

Note: You can check for an updated EAP version for Keptn’s Bridge on DockerHub.

If you want to access the new Keptn’s Bridge you have to use port-forward again:

kubectl port-forward svc/bridge -n keptn 9000:8080

If you want to restore the old version of bridge and mongodb-datastore (as delivered with Keptn 0.6.0), you can use the following commands:

kubectl -n keptn set image deployment/bridge bridge=keptn/bridge:0.6.0 --record
kubectl -n keptn-datastore set image deployment/mongodb-datastore mongodb-datastore=keptn/mongodb-datastore:0.6.0 --record

If you have any questions or feedback regarding the EAP of Keptn’s Bridge, please contact us through our Keptn Community Channels!