Commit 6bf3a9ea authored by Kamal Dodiya's avatar Kamal Dodiya

Review app manifest for ensembl-server

parent 46cfdcab
Pipeline #83437 failed with stage
in 9 seconds
......@@ -12,22 +12,31 @@ spec:
spec:
imagePullSecrets:
- name: ensembl-server-pull-secret
securityContext:
runAsUser: 3383
runAsGroup: 1135
containers:
- name: ensembl-server-<DEPLOYMENT_ENV>
image: <DOCKER_IMAGE>
image: dockerhub.ebi.ac.uk/ensembl-web/ensembl-2020-server:<VERSION>
resources:
requests:
memory: "250Mi"
limits:
memory: "500Mi"
command: ["gunicorn"]
args: ["--bind=0.0.0.0:4000", "--preload", "-t 120", "server:app"]
ports:
- containerPort: 4000
imagePullPolicy: Always
env:
- name: ett_data_path
value: "/usr/data/e2020-data"
envFrom:
- configMapRef:
name: ensembl-server-<DEPLOYMENT_ENV>-configmap
volumeMounts:
- mountPath: /usr/data
name: ett-server-data-vol
name: ensembl-server-data-vol
volumes:
- name: ett-server-data-vol
persistentVolumeClaim:
claimName: ett-data-pvc
\ No newline at end of file
- name: ensembl-server-data-vol
nfs:
path: <NFS_PATH>
server: <NFS_SERVER>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment