Created
September 9, 2019 06:08
-
-
Save naxty/59d5bc22cfbbc3ad0ce71d9f82d52e40 to your computer and use it in GitHub Desktop.
K8 template seldon core
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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