Hi @Lovedeep Singh,
Thank you for reaching out to Microsoft Q&A forum!
To set up readiness and liveness probes for containerized applications in Azure AI Foundry, you need to define these probes in the container configuration. The readiness probe ensures the container is only accessed when it's ready to handle traffic, while the liveness probe checks if the container is running and restarts it if unhealthy. In the container file, you can configure these probes with commands that verify the container's state, such as checking for the existence of a file or responding to an HTTP request.
For example, a readiness probe can check for a file that signals the container is ready, and a liveness probe can verify the container’s health by checking for a different file or endpoint. Once configured, the container won't receive traffic until the readiness probe passes, ensuring that only fully initialized containers handle requests. This approach helps manage container health and availability effectively in Azure AI Foundry.
For more info, please refer to: Configure liveness probes and Configure readiness probes.
Thank you.