Skip to content

Commit

Permalink
Enhance app-frontend probes
Browse files Browse the repository at this point in the history
- Reconfigure liveness probe to use PID check of MIQ server process
- Reconfigure readiness probe to use TCP check on port 80 instead of HTTP code check
- Initial probe delays were not modified
  • Loading branch information
fbladilo committed Oct 25, 2017
1 parent f0282db commit b1cf5de
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions templates/miq-template-ext-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ objects:
- name: manageiq
image: "${APPLICATION_IMG_NAME}:${FRONTEND_APPLICATION_IMG_TAG}"
livenessProbe:
tcpSocket:
port: 80
exec:
command:
- pidof
- MIQ Server
initialDelaySeconds: 480
timeoutSeconds: 3
readinessProbe:
httpGet:
path: "/"
tcpSocket:
port: 80
scheme: HTTP
initialDelaySeconds: 200
timeoutSeconds: 3
ports:
Expand Down
10 changes: 5 additions & 5 deletions templates/miq-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -351,15 +351,15 @@ objects:
- name: manageiq
image: "${APPLICATION_IMG_NAME}:${FRONTEND_APPLICATION_IMG_TAG}"
livenessProbe:
tcpSocket:
port: 80
exec:
command:
- pidof
- MIQ Server
initialDelaySeconds: 480
timeoutSeconds: 3
readinessProbe:
httpGet:
path: "/"
tcpSocket:
port: 80
scheme: HTTP
initialDelaySeconds: 200
timeoutSeconds: 3
ports:
Expand Down

0 comments on commit b1cf5de

Please sign in to comment.