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

Update seldon-single-model #2435

Merged
merged 3 commits into from
Sep 17, 2020
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion helm-charts/seldon-single-model/templates/seldondeployment.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
}
},
"spec": {
"name": "{{ .Release.Name }}",
"name": "{{ .Release.Name }}",
"protocol": "{{ .Values.protocol }}",
"transport": "{{ .Values.transport }}",
"annotations": {
{{- range $name, $val := .Values.annotations }}
"{{ $name }}": "{{ $val }}",
Expand All @@ -25,9 +27,21 @@
{{- if .Values.model.implementation }}
"implementation": "{{ .Values.model.implementation }}",
{{- end}}
{{- if .Values.model.envSecretRefName }}
"envSecretRefName": "{{ .Values.model.envSecretRefName }}",
{{- end}}
{{- if .Values.model.uri }}
"modelUri": "{{ .Values.model.uri }}",
{{- end}}
{{- if .Values.model.mlflow.xtype }}
"parameters": [
{
"name": "xtype",
"type": "STRING",
"value": "{{ .Values.model.mlflow.xtype }}"
}
],
{{- end}}
"type": "MODEL",
{{- if .Values.model.logger.enabled }}
"logger": {
Expand Down
7 changes: 7 additions & 0 deletions helm-charts/seldon-single-model/values.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# apiVersion -- Version of the SeldonDeployment CRD
apiVersion: machinelearning.seldon.io/v1

protocol: seldon
transport: rest

model:
# model.implementation -- Implementation of Prepackaged Model Server
implementation: ""
# model.uri -- Model's URI for prepackaged model server
uri: ""
# model.envSecretRefName -- The model secret name for enviroment variables
envSecretRefName: ""
# model.image -- Docker image used by the model
image: ""
# model.env -- Environment variables injected into the model's container
Expand All @@ -20,6 +25,8 @@ model:
enabled: false
# logger.url -- Remote URL for logger
url: ""
mlflow:
xtype: ""

# replicas -- Number of replicas for the predictor
replicas: 1
Expand Down