Health Probes

Mansi Gusain 165 Reputation points
2024-09-25T09:55:29.1233333+00:00

Hi want to set the probes for my container app and it is running on port 3080.

So accordingly I have set the probes as-

liveness_probe {

    failure_count_threshold = 3

    header {

      name = "Custom-Header"

      value = "liveness probe"

    }

    path= "/health"

    port= 3080

    transport= "HTTP"

  }

  readiness_probe {

    failure_count_threshold = 3

    port= 3080

    transport= "TCP"

  }

  startup_probe {

    failure_count_threshold = 3

    header {

      name = "Custom-Header"

      value = "startup probe"

    }

    path= "/startup"

    port= 3080

    transport= "HTTP"

  }

So what health is only running and not the readiness and startup. Please help if something is wrong.

Azure Health Data Services
Azure Health Data Services
An Azure offering that provides a suite of purpose-built technologies for protected health information in the cloud.
172 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.