-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathasrmaster-controller-https.yaml
More file actions
33 lines (33 loc) · 1.05 KB
/
asrmaster-controller-https.yaml
File metadata and controls
33 lines (33 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
apiVersion: v1
kind: ReplicationController
metadata:
labels:
name: asrmaster
name: asrmaster-controller
spec:
replicas: 1
selector:
name: asrmaster
template:
metadata:
labels:
name: asrmaster
spec:
containers:
- image: claritylab/lucida:v2.2
command: ['/bin/sh', '-c']
args: ['cd $LUCIDAROOT/speechrecognition/kaldi_gstreamer_asr/ && export WSS=True && source $LUCIDAROOT/../tools/python_2_7_9/bin/activate && python kaldigstserver/master_server.py --port=8081']
name: asrmaster
ports:
- containerPort: 8081
name: http-server
volumeMounts:
- mountPath: /etc/letsencrypt/live/host
name: asrmaster-ssl
readOnly: false
volumes:
- hostPath:
# Modify it to be the path to your SSL certificates generated by letsencrypt.
# Make sure the following files exist in that path: cert1.pem and privkey1.pem.
path: /etc/letsencrypt/archive/clarity13.eecs.umich.edu
name: asrmaster-ssl