Welcome to the Linux Foundation Forum!

Probable type-o in lab 3.1

Hello

In lab 3.1 in the configure probes paragraph. It currently states:

There are three types of liveness probes: a command returns a zero exit value, meaning success, an HTTP request returns a response
code in the 200 to 500 range, and the third probe uses a TCP socket.

I don't believe that an error 500 response would indicate that an application is working. Can you confirm this?

Also, on slide 3.16 it indicates that the response range is 200-399, which seems more appropriate.

Can someone please report what the correct content should be and make the appropriate changes in the coursework?

Thanks

Comments

  • serewiczserewicz Posts: 592

    Hello,

    You are correct, this is a typo. From kubernetes.io "Any code greater than or equal to 200 and less than 400 indicates success. Any other code indicates failure."

    I will update the material.

    Regards,

Sign In or Register to comment.