Merge "Add preStop hook for UWSGI"

This commit is contained in:
Zuul 2020-07-07 03:28:38 +00:00 committed by Gerrit Code Review
commit 18e0dae6bd
4 changed files with 16 additions and 0 deletions

View File

@ -78,6 +78,10 @@ spec:
readinessProbe:
tcpSocket:
port: heat-{{ component }}
lifecycle:
preStop:
exec:
command: ["/bin/sleep", "5"]
{% endif %}
resources:
limits:

View File

@ -56,6 +56,10 @@ spec:
readinessProbe:
tcpSocket:
port: horizon
lifecycle:
preStop:
exec:
command: ["/bin/sleep", "5"]
resources:
limits:
cpu: 2000m

View File

@ -116,6 +116,10 @@ spec:
httpGet:
path: /v3
port: keystone
lifecycle:
preStop:
exec:
command: ["/bin/sleep", "5"]
resources:
limits:
cpu: 2000m

View File

@ -71,6 +71,10 @@ spec:
readinessProbe:
tcpSocket:
port: magnum-{{ component }}
lifecycle:
preStop:
exec:
command: ["/bin/sleep", "5"]
{% endif %}
resources:
limits: