Bug 1303529 - [docs] Dev guide - application health check HTTP status codes incorrect
Summary: [docs] Dev guide - application health check HTTP status codes incorrect
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Vikram Goyal
QA Contact: Vikram Goyal
Vikram Goyal
URL: https://access.redhat.com/documentati...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-01 08:20 UTC by Evgheni Dereveanchin
Modified: 2017-12-24 21:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-24 21:46:05 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Evgheni Dereveanchin 2016-02-01 08:20:41 UTC
Document URL: 
https://access.redhat.com/documentation/en/openshift-enterprise/3.1/developer-guide/chapter-24-application-health

Section Number and Name: 
24.2. CONTAINER HEALTH CHECKS USING PROBES

 HTTP Checks

Describe the issue: 

 Here's the downstream descriptions of error codes:
  The check is deemed successful if the hook returns with 200 or 399.

 Here's the upstream description however (which is linked on the same page):
   If it returns between 200 and 399, it is considered success, failure otherwise.

 So any status code in the range from 200 to 399 is deemed "success" by kubernetes.

Suggestions for improvement: 

Fix the sentence as all 2xx and 3xx codes are "success" and there seems to be a typo.

Additional information: 
 Upstream doc:
  http://kubernetes.io/v1.0/docs/user-guide/walkthrough/k8s201.html#health-checking

 HTTP Status Codes:
  https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success
  https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection


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