seldon-single-model¶
Chart to deploy a machine learning model in Seldon Core.
Usage¶
使用本chart,首先要添加 seldonio Helm 仓库:
helm repo add seldonio https://storage.googleapis.com/seldon-charts
helm repo update
一旦完成,你可以按照如下使用预估图模板:
helm template $MY_MODEL_NAME seldonio/seldon-single-model --namespace $MODELS_NAMESPACE
注意你也可以直接部署预估图到集群中: 使用:
helm install $MY_MODEL_NAME seldonio/seldon-single-model --namespace $MODELS_NAMESPACE
Homepage: https://github.com/SeldonIO/seldon-core
源码¶
设置值¶
键 |
类型 |
默认值 |
描述 |
|---|---|---|---|
annotations |
object |
|
Annotations applied to the deployment |
apiVersion |
string |
|
Version of the SeldonDeployment CRD |
hpa.enabled |
bool |
|
Whether to add an HPA spec to the deployment |
hpa.maxReplicas |
int |
|
Maximum number of replicas for HPA |
hpa.metrics |
list |
|
Metrics that autoscaler should check |
hpa.minReplicas |
int |
|
Minimum number of replicas for HPA |
labels |
object |
|
Labels applied to the deployment |
model.env |
object |
|
Environment variables injected into the model’s container |
model.envSecretRefName |
string |
|
The model secret name for enviroment variables |
model.image |
string |
|
Docker image used by the model |
model.implementation |
string |
|
Implementation of Prepackaged Model Server |
model.logger.enabled |
bool |
|
|
model.logger.url |
string |
|
|
model.mlflow.xtype |
string |
|
|
model.resources |
object |
|
Resource requests and limits for the model’s container |
model.uri |
string |
|
Model’s URI for prepackaged model server |
protocol |
string |
|
|
replicas |
int |
|
Number of replicas for the predictor |