readiness: test apache APIs provide http response to request

This PS updates the readiness probes to test for an http response
to requests.

Change-Id: If102b4f247cc8524ceb02e6b2d22cd854a8fb9d2
This commit is contained in:
portdirect 2017-12-01 12:50:14 -05:00 committed by Pete Birley
parent dc2038de97
commit f73200e4d1
3 changed files with 13 additions and 2 deletions

View File

@ -66,8 +66,12 @@ spec:
ports:
- containerPort: {{ .Values.network.port }}
readinessProbe:
tcpSocket:
httpGet:
scheme: HTTP
path: /
port: {{ .Values.network.port }}
initialDelaySeconds: 15
periodSeconds: 10
volumeMounts:
- name: static-horizon
mountPath: /var/www/html/

View File

@ -67,8 +67,12 @@ spec:
- name: api-admin
containerPort: {{ .Values.network.admin.port }}
readinessProbe:
tcpSocket:
httpGet:
scheme: HTTP
path: /
port: {{ .Values.network.api.port }}
initialDelaySeconds: 15
periodSeconds: 10
volumeMounts:
- name: etckeystone
mountPath: /etc/keystone

View File

@ -64,8 +64,11 @@ spec:
ports:
- containerPort: {{ .Values.network.placement.port }}
readinessProbe:
#NOTE(portdirect): use tcpSocket check as HTTP will return 401
tcpSocket:
port: {{ .Values.network.placement.port }}
initialDelaySeconds: 15
periodSeconds: 10
volumeMounts:
- name: wsgi-nova
mountPath: /var/www/cgi-bin/nova