Search code examples
grafanakubeflowmlops

Grafana with kubeflow


I am trying to integrate Grafana with my kubeflow in order to monitor my model.

I have no clue from where to start as I am not able to find anything in the documentation.

Can someone help?


Solution

  • To run Grafana with kubeflow, follow the steps:

    1. create namespace

    kubectl create namespace knative-monitoring

    1. setup monitoring components

    kubectl apply --filename https://github.com/knative/serving/releases/download/v0.13.0/monitoring-metrics-prometheus.yaml

    1. Launch grafana board via port forwarding

    kubectl port-forward --namespace knative-monitoring $(kubectl get pod --namespace knative-monitoring --selector="app=grafana" --output jsonpath='{.items[0].metadata.name}') 8080:3000

    Access the grafana dashboard on http://localhost:8080.