Running a Query in Kubecost-Bundled Prometheus
Step 1: Connect to Prometheus
Here is an example command to connect if you've installed Kubecost in the kubecost namespace:
kubectl port-forward -n kubecost service/kubecost-prometheus-server 9003:80
Step 2: Visit Prometheus UI
View http://localhost:9003/
in your web browser.
You should be presented with a UI that looks like the
following:
If you're unable to connect, confirm that the Prometheus server
pod is in a Running
state.