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:
parent
dc2038de97
commit
f73200e4d1
@ -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/
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user