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 protocol: TCP
containerPort: 9311 containerPort: 9311
livenessProbe: livenessProbe:
tcpSocket: httpGet:
path: /
port: barbican port: barbican
readinessProbe: readinessProbe:
tcpSocket: httpGet:
path: /
port: barbican port: barbican
securityContext: securityContext:
runAsUser: 1001 runAsUser: 1001

View File

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

View File

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

View File

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

View File

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

View File

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