bedrock
tenant layer

Reach the dashboards

Every dashboard in a tenant is a ClusterIP service and none is exposed outside the cluster. You reach them with kubectl port-forward, which opens a tunnel through the API server for as long as the command runs.

Before you begin

kubectl pointed at the tenant from the controller:

export KUBECONFIG=~/.bedrock/kubeconfig

Forward a port

Run the command for the dashboard you want and open the address in a browser. Stop the forward with Ctrl+C.

DashboardCommandAddress
Grafanakubectl -n application port-forward svc/grafana 3000:3000http://localhost:3000
Prometheuskubectl -n application port-forward svc/prometheus-operated 9090:9090http://localhost:9090
Alertmanagerkubectl -n application port-forward svc/alertmanager-operated 9093:9093http://localhost:9093
OpenCostkubectl -n application port-forward svc/opencost-ui 9091:9090http://localhost:9091
Hubblekubectl -n kube-system port-forward svc/hubble-ui 12000:80http://localhost:12000
Longhornkubectl -n longhorn-system port-forward svc/longhorn-frontend 8080:80http://localhost:8080

Grafana’s login is in secrets/grafana-admin.yaml. Change it before the cluster holds anything real.

Warning
The Longhorn and Hubble interfaces have no login of their own, and the Longhorn interface can delete volumes. Only open them when you need them, and close the forward afterwards.

Run several at once

Each forward holds the terminal. To run them in the background and stop them together:

kubectl -n application port-forward svc/grafana 3000:3000 &
kubectl -n application port-forward svc/prometheus-operated 9090:9090 &
wait

Ctrl+C stops both.