-
Notifications
You must be signed in to change notification settings - Fork 834
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* 1297 WIP Update Analytics Helm Chart Signed-off-by: glindsell <gl@seldon.io> * Update README.md ns: seldon -> seldon-system * first try * add preprocessor and structure notebook * pack outlier detection into seldon deployment * add endpoint that combines the classification and outlier detection * polish example and return outliers score via tags * cleanup model wrapper * push alternative layout of the example * add combiner to the example * add comments in new notebook * use jsonData instead of strData for return values * add logging * introduce base image to optimize s2i builds * remove redundant version of the example * adjust image names * add images and remove output from requirement installation cells * Bump pillow from 6.2.0 to 7.0.0 in /python Bumps [pillow](https://github.com/python-pillow/Pillow) from 6.2.0 to 7.0.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst) - [Commits](python-pillow/Pillow@6.2.0...7.0.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Bump okhttp from 4.2.2 to 4.3.0 in /engine Bumps [okhttp](https://github.com/square/okhttp) from 4.2.2 to 4.3.0. - [Release notes](https://github.com/square/okhttp/releases) - [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md) - [Commits](square/okhttp@parent-4.2.2...parent-4.3.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Automatically find deployment names in e2e tests, closes #820 New approach is based on getting deyployment names directly from SeldonDeployment objects. This allow to avoid hard-coded hashes in test scripts. * set deployment replicas * Use https for training set * Remove log4j from pom * Update link * apply fix to other tests and iterate over deployments in wait_for_rollout * adjust to tests being run with Python 3.6 * remove note about missing graph, add nblink * modify local operator tests to use proper namespace and run helm uninstall at the end * update to new kind * request ephemeral storage * exception should be logged * Bump okhttp from 4.3.0 to 4.3.1 in /engine Bumps [okhttp](https://github.com/square/okhttp) from 4.3.0 to 4.3.1. - [Release notes](https://github.com/square/okhttp/releases) - [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md) - [Commits](square/okhttp@parent-4.3.0...parent-4.3.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * operator build test * 1297 WIP Update Analytics Helm Chart Signed-off-by: glindsell <gl@seldon.io> * typo fix: missing api in io.seldon.wrapper.api.SeldonPredictionService * Create and use seldonio/core-builder:0.10 * fix operator build - controller-gen install for go modules * make gpu image Python 3 exclusive, closes #1324 * version 1.0.1 * version 1.0.2-SNAPSHOT * seldon-core python version 1.0.1 * python wrapper version usage updated * update images reference doc Co-authored-by: RafalSkolasinski <r.j.skolasinski@gmail.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Adrian Gonzalez <adrian.gonz.mar@gmail.com> Co-authored-by: Ryan Dawson <ryandawson@cantab.net> Co-authored-by: Gurminder Sunner <gsunner2000@gmail.com>
- Loading branch information
1 parent
e2c0eb4
commit 95951e9
Showing
31 changed files
with
140 additions
and
695 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dependencies: | ||
- name: grafana | ||
repository: https://kubernetes-charts.storage.googleapis.com | ||
version: 4.2.3 | ||
- name: prometheus | ||
repository: https://kubernetes-charts.storage.googleapis.com | ||
version: 9.7.4 | ||
digest: sha256:c313809a039950dbef7a16b0e1cd27ea3611ffd6780d123da68a3a3f9400d8f8 | ||
generated: "2020-01-08T14:10:53.298192702Z" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
43 changes: 0 additions & 43 deletions
43
helm-charts/seldon-core-analytics/files/alertmanager/config.yaml.example
This file was deleted.
Oops, something went wrong.
32 changes: 19 additions & 13 deletions
32
helm-charts/seldon-core-analytics/files/grafana/configs/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
|
||
## For development if updating the Seldon Example Dashboard. | ||
## For development if creating a new dashboard. | ||
|
||
* Save the dashboard to JSON by exporting it. | ||
* Overwrite the prediction-analytics-dashboard.json with the exported JSON | ||
* Run ```./convert-exported-graph.sh``` | ||
* Then import the new dashboard | ||
* Port forward the grafana port | ||
``` | ||
kubectl port-forward $(kubectl get pods -n seldon -l app=grafana-prom-server -o jsonpath='{.items[0].metadata.name}') -n seldon 3000:3000 | ||
``` | ||
* export the password used when starting the analytics, e.g. | ||
This helm chart deploys Grafana Dashboards using a sidecar | ||
(https://github.com/helm/charts/tree/master/stable/grafana#sidecar-for-dashboards) | ||
|
||
To modify or add a dashboard please follow the steps below. | ||
|
||
* Save the dashboard to JSON by exporting it and copy it to the `files/grafana/config` directory. | ||
* Save a new configmap in the `templates/grafana` directory for the dashboard using the template below, replacing <new-dashboard> with the name of your dashboard: | ||
* <new-dashboard>-configmap.yaml | ||
``` | ||
export GF_SECURITY_ADMIN_PASSWORD=password | ||
apiVersion: v1 | ||
data: | ||
{{ (.Files.Glob "files/grafana/configs/<new-dashboard>.json").AsConfig | indent 2 }} | ||
kind: ConfigMap | ||
metadata: | ||
creationTimestamp: null | ||
name: <new-dashboard> | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
seldon_dashboard: "1" | ||
``` | ||
* run ```import-dashboards-job.sh``` | ||
14 changes: 0 additions & 14 deletions
14
helm-charts/seldon-core-analytics/files/grafana/configs/convert-exported-graph.sh
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.