Welcome to the Linux Foundation Forum!

Confusion in Quiz 3.1

This looks contradicting with docs or I have understood this incorrectly.

https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-readiness-probes

Can someone please help me to solve this confusion? Thanks.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 2,453

    Hi @pubudu_sitinamaluwa,

    The question, the answer, and the note from the documentation are correct, but once you put them side-by-side things become a bit confusing.
    The missing piece of information is that although the readiness probe runs on the container during its entire lifecycle (per the note above), kubelet checks the probe until it passes, and stops checking after that. However, if the probe failure threshold is reached, then kubelet restarts the container and the readiness probing starts all over again.

    Regards,
    -Chris

  • Posts: 1,000

    We will update the question to better reflect how the probes work.

    Thanks for bringing it up.

  • Posts: 2,303

    The question has been updated. Thank you.

  • Thank you all. It's more clear now. :)

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training