Created
November 2, 2016 23:25
-
-
Save kozikow/e80e298656099b0b058d08adf992ebe3 to your computer and use it in GitHub Desktop.
Deployment config
This file contains hidden or 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: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: caffe | |
namespace: echoserver | |
spec: | |
replicas: 3 | |
template: | |
metadata: | |
labels: | |
app: caffe | |
spec: | |
containers: | |
- args: | |
- python | |
- /workspace/app.py | |
env: | |
- name: SERVER_STAGE | |
value: prod | |
- name: OPENBLAS_NUM_THREADS | |
value: "4" | |
- name: GLOG_minloglevel | |
value: "2" | |
image: gcr.io/tensorflight/caffe-cpu:2.0.0 | |
imagePullPolicy: IfNotPresent | |
name: caffe | |
restartPolicy: Always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment