41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
kind: Deployment
|
|
apiVersion: apps/v1
|
|
metadata:
|
|
name: apollo
|
|
namespace: olympus
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: apollo
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: apollo
|
|
spec:
|
|
volumes:
|
|
- name: apollo-pv-storage
|
|
persistentVolumeClaim:
|
|
claimName: private-azurefile-pvc
|
|
containers:
|
|
- name: apollo
|
|
image: olympusreg.azurecr.io/apollo:2ac8bc10
|
|
envFrom:
|
|
- configMapRef:
|
|
name: olympus-db-shared-cfg
|
|
- configMapRef:
|
|
name: olympus-ai-shared-cfg
|
|
- configMapRef:
|
|
name: olympus-common-shared-cfg
|
|
resources: {}
|
|
volumeMounts:
|
|
- name: apollo-pv-storage
|
|
mountPath: /mnt/apollo_storage/documents
|
|
subPath: documents
|
|
- name: apollo-pv-storage
|
|
mountPath: /mnt/apollo_storage/videos
|
|
subPath: videos
|
|
- name: apollo-pv-storage
|
|
mountPath: /mnt/apollo_storage/repository
|
|
subPath: repository
|
|
imagePullPolicy: Always |