Skip to content

Commit

Permalink
Merge branch 'master' into 1675_k8s_1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
ukclivecox committed Aug 28, 2020
2 parents 5bc2b9a + 043cf86 commit af843c0
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/source/reference/apis/external-prediction.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The Seldon Core exposes a generic external API to connect your ML runtime predic

### Metadata - Graph Level

- endpoint : GET /api/v1.0/metadata/
- endpoint : GET /api/v1.0/metadata
- example response :

```json
Expand Down
3 changes: 3 additions & 0 deletions doc/source/workflow/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
* Installer method
* Helm version equal or higher than 3.0
* Kustomize version equal or higher than 0.1.0
* Ingress
* Istio ( sample installation using Istio 1.5 can be found at https://github.com/SeldonIO/seldon-core/tree/master/examples/auth )
* Ambassador

#### Running older versions of Seldon Core?

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.grafana.enabled }}
apiVersion: v1
data:
{{ (.Files.Glob "files/grafana/configs/grafana-net-2115-dashboard.json").AsConfig | indent 2 }}
Expand All @@ -8,3 +9,4 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
seldon_dashboard: "1"
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.grafana.enabled }}
apiVersion: v1
data:
{{ (.Files.Glob "files/grafana/configs/metrics-test-dashboard.json").AsConfig | indent 2 }}
Expand All @@ -8,3 +9,4 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
seldon_dashboard: "1"
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.grafana.enabled }}
apiVersion: v1
data:
{{ (.Files.Glob "files/grafana/configs/newdb.json").AsConfig | indent 2 }}
Expand All @@ -8,3 +9,4 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
seldon_dashboard: "1"
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.grafana.enabled }}
apiVersion: v1
data:
{{ (.Files.Glob "files/grafana/configs/predictions-analytics-dashboard.json").AsConfig | indent 2 }}
Expand All @@ -8,3 +9,4 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
seldon_dashboard: "1"
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.prometheus.enabled }}
apiVersion: v1
data:
{{- if .Values.alertmanager.config.enabled }}
Expand All @@ -19,3 +20,4 @@ metadata:
creationTimestamp: null
name: alertmanager-server-conf
namespace: {{ .Release.Namespace }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.prometheus.enabled }}
apiVersion: v1
data:
{{ (.Files.Glob "files/prometheus/rules/*.rules").AsConfig | indent 2 }}
Expand All @@ -6,3 +7,4 @@ metadata:
creationTimestamp: null
name: prometheus-rules
namespace: {{ .Release.Namespace }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.prometheus.enabled }}
apiVersion: v1
data:
{{ (.Files.Glob "files/prometheus/prometheus-config.yaml").AsConfig | indent 2 }}
Expand All @@ -6,3 +7,4 @@ metadata:
creationTimestamp: null
name: prometheus-server-conf
namespace: {{ .Release.Namespace }}
{{- end }}
2 changes: 2 additions & 0 deletions helm-charts/seldon-core-analytics/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
grafana:
enabled: true
adminUser: admin
adminPassword: password
sidecar:
Expand All @@ -19,6 +20,7 @@ alertmanager:
rbac:
enabled: true
prometheus:
enabled: true
service_type: ClusterIP
server:
name: seldon
Expand Down
3 changes: 2 additions & 1 deletion python/tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,6 @@ def _get_return_code(self):

def __exit__(self, exc_type, exc_val, exc_tb):
if self.p:
group_id = os.getpgid(self.p.pid)
# Kill the entire process groups (including subprocesses of self.p)
os.killpg(os.getpgid(self.p.pid), signal.SIGTERM)
os.killpg(group_id, signal.SIGKILL)

0 comments on commit af843c0

Please sign in to comment.