Red Hat Bugzilla – Bug 1303529
[docs] Dev guide - application health check HTTP status codes incorrect
Last modified: 2017-12-24 16:46:05 EST
Section Number and Name:
24.2. CONTAINER HEALTH CHECKS USING PROBES
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.
HTTP Status Codes: