Bug 1274136 - [DOCS] High-level application health checks section needs more info
[DOCS] High-level application health checks section needs more info
Status: NEW
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation (Show other bugs)
Unspecified Unspecified
low Severity low
: ---
: ---
Assigned To: brice
Vikram Goyal
Vikram Goyal
Depends On:
Blocks: 1267216
  Show dependency treegraph
Reported: 2015-10-21 23:40 EDT by brice
Modified: 2016-07-01 10:41 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description brice 2015-10-21 23:40:08 EDT
The section on high-level application health checks can do with more details:

- needs an example
- which components would need to be tested?
- what actions would need to be taken if it fails?
- how does OpenShift facilitate these high-level checks?
- how do you specify the check and response?

This BZ comes out of this PR:

Comment 2 Eric Rich 2016-07-01 10:41:09 EDT
Today we have a few options to complete this. 

   1: Implement a pod level script that while checking the health of a pod also checks the health of the 
       application as a whole. 

       - Note, this is not what we want to recommend but it is currently he most viable solution, and is
          the simplest one to implement. It should be noted that this could be implemented as a "monitor" 
          pod, completely outside of the application as well. 

   2: Implement a maintenance or health check Job [0]. This container or image can be used, to preform 
       the checks that an entire application is up and working as you would expect. 

      - Note, while one job is great an will meet the need, it really only becomes helpful if the job can 
         be scheduled [1], or kicked off regularly. So until this is worked into the product (Kubernetes) 
         this solution is limited. 

[0] https://docs.openshift.com/enterprise/3.2/dev_guide/jobs.html
[1] https://github.com/kubernetes/kubernetes/issues/2156

Note You need to log in before you can comment on or make changes to this bug.