32 lines
698 B
YAML
32 lines
698 B
YAML
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: watcher
|
||
|
|
namespace: audio-pipeline
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app: watcher
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
app: watcher
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: watcher
|
||
|
|
image: audio-pipeline/watcher:latest
|
||
|
|
imagePullPolicy: IfNotPresent
|
||
|
|
envFrom:
|
||
|
|
- configMapRef:
|
||
|
|
name: app-config
|
||
|
|
- secretRef:
|
||
|
|
name: app-secrets
|
||
|
|
volumeMounts:
|
||
|
|
- name: storage
|
||
|
|
mountPath: /data/storage
|
||
|
|
volumes:
|
||
|
|
- name: storage
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: audio-storage
|