Merge "Add preStop hook for UWSGI"
This commit is contained in:
commit
18e0dae6bd
@ -78,6 +78,10 @@ spec:
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: heat-{{ component }}
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sleep", "5"]
|
||||
{% endif %}
|
||||
resources:
|
||||
limits:
|
||||
|
@ -56,6 +56,10 @@ spec:
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: horizon
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sleep", "5"]
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2000m
|
||||
|
@ -116,6 +116,10 @@ spec:
|
||||
httpGet:
|
||||
path: /v3
|
||||
port: keystone
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sleep", "5"]
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2000m
|
||||
|
@ -71,6 +71,10 @@ spec:
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: magnum-{{ component }}
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
command: ["/bin/sleep", "5"]
|
||||
{% endif %}
|
||||
resources:
|
||||
limits:
|
||||
|
Loading…
x
Reference in New Issue
Block a user