Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
K8 template seldon core
{
"apiVersion": "machinelearning.seldon.io/v1alpha2",
"kind": "SeldonDeployment",
"metadata": {
"labels": {
"app": "seldon"
},
"name": "seldon-emotion"
},
"spec": {
"name": "emotion-service-deployment",
"oauth_key": "oauth-key",
"oauth_secret": "oauth-secret",
"predictors": [
{
"componentSpecs": [{
"spec": {
"containers": [
{
"image": "emotion-service:0.1",
"imagePullPolicy": "IfNotPresent",
"name": "emotion-classifier",
"resources": {
"requests": {
"memory": "1Mi"
}
}
}
],
"terminationGracePeriodSeconds": 20
}
}],
"graph": {
"children": [],
"name": "emotion-classifier",
"endpoint": {
"type" : "REST"
},
"type": "MODEL"
},
"name": "emotion-predictor",
"replicas": 1
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.