Home / Docs / Release 0.6.2 / Reference / Keptn Bridge
The Keptn Bridge is the user interface of Keptn and presents all projects and services managed by Keptn. It is automatically installed with your Keptn deployment.
The Keptn Bridge is not publicly accessible by default.
https://bridge.keptn.YOUR.DOMAIN/
keptn configure bridge --action=expose
Note: This command shows the warning Warning: Make sure to enable basic authentication as described here: ...
. Please follow the warning and enable basic authentication explained below.
keptn configure bridge --action=lockdown
The Keptn Bridge has a basic authentication feature, which can be controlled by setting the following two environment variables:
BASIC_AUTH_USERNAME
- usernameBASIC_AUTH_PASSWORD
- passwordTo enable this feature, a secret has to be created that holds the two variables. This secret has to be applied within the Kubernetes deployment for the Keptn Bridge.
Create the secret using:
kubectl -n keptn create secret generic bridge-credentials --from-literal="BASIC_AUTH_USERNAME=<USERNAME>" --from-literal="BASIC_AUTH_PASSWORD=<PASSWORD>"
Note: Replace <USERNAME>
and <PASSWORD>
with the desired credentials.
If you are using Keptn 0.6.1 or older, please click here.
kubectl -n keptn edit deployment bridge
bridge
container, as shown below:...
spec:
containers:
- name: bridge
image: keptn/bridge2:0.6.1
imagePullPolicy: Always
# EDIT STARTS HERE
envFrom:
- secretRef:
name: bridge-credentials
optional: true
# EDIT ENDS HERE
ports:
- containerPort: 3000
...
Restart the pod of the Keptn Bridge by executing:
kubectl -n keptn delete pods --selector=run=bridge
To disable the basic authentication, delete the secret by executing:
kubectl -n keptn delete secret bridge-credentials
Restart the respective pod of the Keptn Bridge by executing:
kubectl -n keptn delete pods --selector=run=bridge
The Keptn Bridge provides an easy way to browse all events that are sent within Keptn. When you access the Keptn Bridge, all projects will be shown on the start screen. When clicking on a project, the stages of this project and all onboarded services are shown on the next view.
When selecting one service, all events that belong to this service are listed on the right side. Please note that this list only represents the start of a deployment (or problem) of a new artifact. More information on the executed steps can be revealed when you click on one event.
When selecting an event, the Keptn Bridge displays all other events that are in the same Keptn context and belong to the selected entry point. As can be seen in the screenshot below, the entry point around 4:03 pm has been selected and all events belonging to this entry point are displayed on the right side.
For integration of the Keptn Bridge into DevOps tools, a list of following deep links is provided:
project/:projectName
projectName
.project/:projectName/:serviceName
projectName
and expands the service specified by serviceName
.project/:projectName/:serviceName/:contextId
projectName
, expands the service specified by serviceName
, and selects root event of keptn context specified by contextId
.project/:projectName/:serviceName/:contextId/:eventId
:
projectName
, expands the service specified by serviceName
, and selects root event of keptn context specified by contextId
.eventId
.trace/:shkeptncontext
project/:projectName/:serviceName/:contextId
trace/:shkeptncontext/:stage
project/:projectName/:serviceName/:contextId/:eventId
where eventId is the id of the first event of the specific stage.trace/:shkeptncontext/:eventtype
project/:projectName/:serviceName/:contextId/:eventId
where eventId is the id of the last event with the specific event type.There is an early access version of Keptn Bridge available (compatible with Keptn 0.6.2):
kubectl -n keptn set image deployment/bridge bridge=keptn/bridge2:0.7.0-eap20200617 --record
kubectl -n keptn set image deployment/bridge bridge=keptn/bridge2:0.6.2 --record
If you have any questions or feedback regarding Keptn Bridge, please contact us through our Keptn Community Channels!