Some tuning of probes and workers

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-04-17 16:48:30 +02:00
parent dae249e679
commit 464590e528
2 changed files with 5 additions and 5 deletions

View file

@ -55,16 +55,16 @@ items:
mountPath: /etc/pki/fedmsg/crt
readOnly: true
readinessProbe:
timeoutSeconds: 1
timeoutSeconds: 10
initialDelaySeconds: 5
httpGet:
path: /
path: /composes/
port: 8080
livenessProbe:
timeoutSeconds: 1
timeoutSeconds: 10
initialDelaySeconds: 30
httpGet:
path: /
path: /composes/
port: 8080
volumes:
- name: config-volume

View file

@ -35,7 +35,7 @@ items:
RUN ln -sf /etc/keytabs/koji-keytab /etc/krb5.bodhi_bodhi{{ env_suffix }}.fedoraproject.org.keytab
EXPOSE 8080
ENV USER=openshift
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- bodhiwsgi
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- --workers=10 --max-requests=10000 bodhiwsgi
type: Dockerfile
strategy:
type: Docker