seldon-od-model
by Helm
Helm chartv0.2.0
Chart to deploy an outlier detector as a single model with Seldon Core v1.
About this chart
seldon-od-model
Chart to deploy an outlier detector as a single model with Seldon Core v1.
Usage
To use this chart, you will first need to add the seldonio Helm repo:
helm repo add seldonio https://storage.googleapis.com/seldon-charts
helm repo update
Once that's done, you should then be able to use the inference graph template as:
helm template $MY_MODEL_NAME seldonio/seldon-od-model --namespace $MODELS_NAMESPACE
Note that you can also deploy the inference graph directly to your cluster using:
helm install $MY_MODEL_NAME seldonio/seldon-od-model --namespace $MODELS_NAMESPACE
Homepage: https://github.com/SeldonIO/seldon-core
Source Code
- https://github.com/SeldonIO/seldon-core
- https://github.com/SeldonIO/seldon-core/tree/master/helm-charts/seldon-od-model
Values
| Key | Type | Default | Description |
|---|---|---|---|
| engine.env.SELDON_LOG_MESSAGES_EXTERNALLY | bool | false | |
| engine.env.SELDON_LOG_MESSAGE_TYPE | string | "seldon.message.pair" | |
| engine.env.SELDON_LOG_REQUESTS | bool | false | |
| engine.env.SELDON_LOG_RESPONSES | bool | false | |
| engine.resources.requests.cpu | string | "0.1" | |
| model.isolationforest.image.name | string | "seldonio/outlier-if-model:0.1" | |
| model.isolationforest.load_path | string | "./models/" | |
| model.isolationforest.model_name | string | "if" | |
| model.isolationforest.threshold | int | 0 | |
| model.mahalanobis.image.name | string | "seldonio/outlier-mahalanobis-model:0.1" | |
| model.mahalanobis.max_n | int | -1 | |
| model.mahalanobis.n_components | int | 3 | |
| model.mahalanobis.n_stdev | int | 3 | |
| model.mahalanobis.start_clip | int | 50 | |
| model.mahalanobis.threshold | int | 25 | |
| model.name | string | "outlier-detector" | |
| model.parameterTypes.load_path | string | "STRING" | |
| model.parameterTypes.max_n | string | "INT" | |
| model.parameterTypes.model_name | string | "STRING" | |
| model.parameterTypes.n_components | string | "INT" | |
| model.parameterTypes.n_stdev | string | "FLOAT" | |
| model.parameterTypes.reservoir_size | string | "INT" | |
| model.parameterTypes.start_clip | string | "INT" | |
| model.parameterTypes.threshold | string | "FLOAT" | |
| model.seq2seq.image.name | string | "seldonio/outlier-s2s-lstm-model:0.1" | |
| model.seq2seq.load_path | string | "./models/" | |
| model.seq2seq.model_name | string | "seq2seq" | |
| model.seq2seq.reservoir_size | int | 50000 | |
| model.seq2seq.threshold | float | 0.003 | |
| model.type | string | "vae" | Type of outlier detector. Valid values are: vae, mahalanobis, seq2seq and isolationforest. |
| model.vae.image.name | string | "seldonio/outlier-vae-model:0.1" | |
| model.vae.load_path | string | "./models/" | |
| model.vae.model_name | string | "vae" | |
| model.vae.reservoir_size | int | 50000 | |
| model.vae.threshold | int | 10 | |
| name | string | "seldon-od-model" | |
| predictorLabels.fluentd | string | "true" | |
| predictorLabels.version | string | "v1" | |
| replicas | int | 1 | |
| sdepLabels.app | string | "seldon" |
Deploy seldon-od-model with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has seldon-od-model on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartseldon-od-model is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply