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

Values

KeyTypeDefaultDescription
engine.env.SELDON_LOG_MESSAGES_EXTERNALLYboolfalse
engine.env.SELDON_LOG_MESSAGE_TYPEstring"seldon.message.pair"
engine.env.SELDON_LOG_REQUESTSboolfalse
engine.env.SELDON_LOG_RESPONSESboolfalse
engine.resources.requests.cpustring"0.1"
model.isolationforest.image.namestring"seldonio/outlier-if-model:0.1"
model.isolationforest.load_pathstring"./models/"
model.isolationforest.model_namestring"if"
model.isolationforest.thresholdint0
model.mahalanobis.image.namestring"seldonio/outlier-mahalanobis-model:0.1"
model.mahalanobis.max_nint-1
model.mahalanobis.n_componentsint3
model.mahalanobis.n_stdevint3
model.mahalanobis.start_clipint50
model.mahalanobis.thresholdint25
model.namestring"outlier-detector"
model.parameterTypes.load_pathstring"STRING"
model.parameterTypes.max_nstring"INT"
model.parameterTypes.model_namestring"STRING"
model.parameterTypes.n_componentsstring"INT"
model.parameterTypes.n_stdevstring"FLOAT"
model.parameterTypes.reservoir_sizestring"INT"
model.parameterTypes.start_clipstring"INT"
model.parameterTypes.thresholdstring"FLOAT"
model.seq2seq.image.namestring"seldonio/outlier-s2s-lstm-model:0.1"
model.seq2seq.load_pathstring"./models/"
model.seq2seq.model_namestring"seq2seq"
model.seq2seq.reservoir_sizeint50000
model.seq2seq.thresholdfloat0.003
model.typestring"vae"Type of outlier detector. Valid values are: vae, mahalanobis, seq2seq and isolationforest.
model.vae.image.namestring"seldonio/outlier-vae-model:0.1"
model.vae.load_pathstring"./models/"
model.vae.model_namestring"vae"
model.vae.reservoir_sizeint50000
model.vae.thresholdint10
namestring"seldon-od-model"
predictorLabels.fluentdstring"true"
predictorLabels.versionstring"v1"
replicasint1
sdepLabels.appstring"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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartseldon-od-model is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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