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:
|
ports:
|
||||||
- containerPort: {{ .Values.network.port }}
|
- containerPort: {{ .Values.network.port }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
tcpSocket:
|
httpGet:
|
||||||
|
scheme: HTTP
|
||||||
|
path: /
|
||||||
port: {{ .Values.network.port }}
|
port: {{ .Values.network.port }}
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 10
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: static-horizon
|
- name: static-horizon
|
||||||
mountPath: /var/www/html/
|
mountPath: /var/www/html/
|
||||||
|
@ -67,8 +67,12 @@ spec:
|
|||||||
- name: api-admin
|
- name: api-admin
|
||||||
containerPort: {{ .Values.network.admin.port }}
|
containerPort: {{ .Values.network.admin.port }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
tcpSocket:
|
httpGet:
|
||||||
|
scheme: HTTP
|
||||||
|
path: /
|
||||||
port: {{ .Values.network.api.port }}
|
port: {{ .Values.network.api.port }}
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 10
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: etckeystone
|
- name: etckeystone
|
||||||
mountPath: /etc/keystone
|
mountPath: /etc/keystone
|
||||||
|
@ -64,8 +64,11 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.network.placement.port }}
|
- containerPort: {{ .Values.network.placement.port }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
#NOTE(portdirect): use tcpSocket check as HTTP will return 401
|
||||||
tcpSocket:
|
tcpSocket:
|
||||||
port: {{ .Values.network.placement.port }}
|
port: {{ .Values.network.placement.port }}
|
||||||
|
initialDelaySeconds: 15
|
||||||
|
periodSeconds: 10
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: wsgi-nova
|
- name: wsgi-nova
|
||||||
mountPath: /var/www/cgi-bin/nova
|
mountPath: /var/www/cgi-bin/nova
|
||||||
|
Loading…
x
Reference in New Issue
Block a user