Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prometheus scraping and grafana support to charmed katib-controller operator #1839

Merged
merged 14 commits into from Apr 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/test-charmed-katib.yaml
Expand Up @@ -18,13 +18,13 @@ jobs:
set -eux
sudo apt update
sudo apt install python3-setuptools
sudo pip3 install black==20.8b1 flake8
sudo pip3 install black flake8

- name: Check black
run: black --check operators
run: black --check operators/*/src

- name: Check flake8
run: cd operators && flake8
run: cd operators && flake8 ./katib*/src

build:
name: Test
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
sg microk8s -c 'juju bootstrap microk8s uk8s'
juju add-model kubeflow
juju bundle deploy --build --destructive-mode --serial
juju wait -wvt 300
juju wait -wvt 600

- name: Test Katib
run: kubectl apply -f examples/v1beta1/hp-tuning/random.yaml
Expand Down
2 changes: 1 addition & 1 deletion operators/bundle.yaml
@@ -1,7 +1,7 @@
bundle: kubernetes
applications:
katib-controller: { charm: katib-controller, scale: 1 }
katib-db: { charm: cs:~charmed-osm/mariadb-k8s, scale: 1, options: { database: katib } }
katib-db: { charm: charmed-osm-mariadb-k8s, scale: 1, options: { database: katib } }
katib-db-manager: { charm: katib-db-manager, scale: 1 }
katib-ui: { charm: katib-ui, scale: 1 }
relations:
Expand Down