Change liveprobe from tcpSocket to httpGet

Change-Id: I08af489840dd2eb7014df7b458ccecdbb024d377
This commit is contained in:
okozachenko
2020-08-20 17:57:44 +03:00
parent a61c1a284e
commit 3a9f1a2b34
6 changed files with 24 additions and 12 deletions

View File

@@ -67,10 +67,12 @@ spec:
protocol: TCP
containerPort: 9311
livenessProbe:
tcpSocket:
httpGet:
path: /
port: barbican
readinessProbe:
tcpSocket:
httpGet:
path: /
port: barbican
securityContext:
runAsUser: 1001

View File

@@ -74,10 +74,12 @@ spec:
protocol: TCP
containerPort: 9292
livenessProbe:
tcpSocket:
httpGet:
path: /
port: glance
readinessProbe:
tcpSocket:
httpGet:
path: /
port: glance
securityContext:
runAsUser: 1001

View File

@@ -59,10 +59,12 @@ spec:
protocol: TCP
containerPort: 8000
livenessProbe:
tcpSocket:
httpGet:
path: /
port: horizon
readinessProbe:
tcpSocket:
httpGet:
path: /
port: horizon
lifecycle:
preStop:

View File

@@ -56,10 +56,12 @@ spec:
protocol: TCP
containerPort: 9511
livenessProbe:
tcpSocket:
httpGet:
path: /
port: magnum-api
readinessProbe:
tcpSocket:
httpGet:
path: /
port: magnum-api
lifecycle:
preStop:

View File

@@ -76,10 +76,12 @@ spec:
protocol: TCP
containerPort: 9696
livenessProbe:
tcpSocket:
httpGet:
path: /
port: neutron
readinessProbe:
tcpSocket:
httpGet:
path: /
port: neutron
securityContext:
runAsUser: 1001

View File

@@ -59,10 +59,12 @@ spec:
protocol: TCP
containerPort: 8780
livenessProbe:
tcpSocket:
httpGet:
path: /
port: placement
readinessProbe:
tcpSocket:
httpGet:
path: /
port: placement
securityContext:
runAsUser: 1001