README.md
A fork of https://github.com/cncf/devstats-example
-
This directory contains the config files for Kubeflow
-
It is based on https://github.com/cncf/devstats-example and then modified
- There are probably still references that need to be udpated
-
Key files
- projects.yaml - Defines the project
- grafana/dashboards - Dashboards and grafana config
Here's how we created this
-
We follow Setup other project
-
We copied it to this directory
-
Copy over dashaboards
-
I used the
knativedashboards in cncf/devstats at commit 3c419a61ad130c80c7f1b7a5058eb0fd792b4201 (current devstats master) rather than the homebrew ones in devstats-example- The latter seemed outdated see https://github.com/cncf/devstats-example/issues/7
- I picked knative because I think it was added fairly recently and probably isn't doing special things like kubernetes
-
Run the following script to update the dashboards
${GIT_KUBEFLOW_COMMUNITY}/devstats/modify_dashboards.sh ${GIT_DEVSTATS_EXAMPLE_FORK}/grafana/dashboards/kubeflow
-
-
Run `the following script to add the -E command to sudo commands
./scripts/modify_devstats_scripts.sh ./config/devel/ -
Copy over metrics from cncf/devstats
-
We don't use cncf/devstats-examples because it has fewer metrics
-
Copy
cncf/devstats/metrics/sharedtometrics/shared -
Copy
cncf/devstats/metrics/knativetometrics/kubeflow- Modify metrics/kubeflow to replace references to
knativewithkubeflow
- Modify metrics/kubeflow to replace references to
-
-
Copy scripts/homebrew to scripts/kubeflow
- Update repo_groups.sql
-
Copy the K8s dashboards https://github.com/cncf/devstats/tree/master/grafana/dashboards/kubernetes to
ks-app/components/grafana/dashboards/ -
Run
modify_dashboards.shto update all references to knative to kubeflow -
Modified projects.yaml to define a Kubeflow project