49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
kind: Deployment
|
|
apiVersion: apps/v1
|
|
metadata:
|
|
name: hermione
|
|
namespace: olympus
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: hermione
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: hermione
|
|
spec:
|
|
volumes:
|
|
- name: apollo-pv-storage
|
|
persistentVolumeClaim:
|
|
claimName: private-azurefile-pvc
|
|
containers:
|
|
- name: hermione
|
|
image: olympusreg.azurecr.io/hermione:a843dee4
|
|
env:
|
|
- name: DEFAULT_CONNECTION_IDLE_TIMEOUT
|
|
value: '300'
|
|
|
|
- name: AZURE_REQUEST_CONNECT_TIMEOUT
|
|
value: '300000'
|
|
- name: AZURE_REQUEST_WRITE_TIMEOUT
|
|
value: '300000'
|
|
- name: AZURE_REQUEST_RESPONSE_TIMEOUT
|
|
value: '300000'
|
|
- name: AZURE_REQUEST_READ_TIMEOUT
|
|
value: '300000'
|
|
- name: FILE_UPLOAD_DIR
|
|
value: /mnt/hermione_storage/hermione/file_input_scenarios/
|
|
volumeMounts:
|
|
- name: apollo-pv-storage
|
|
mountPath: /mnt/hermione_storage/hermione
|
|
subPath: hermione
|
|
envFrom:
|
|
- configMapRef:
|
|
name: olympus-db-shared-cfg
|
|
- configMapRef:
|
|
name: olympus-common-shared-cfg
|
|
- configMapRef:
|
|
name: olympus-ai-shared-cfg
|
|
resources: {}
|
|
imagePullPolicy: Always |