This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Liveness Probe

Indicates that the service is running and can handle HTTP requests.

    Method

    GET

    URL

    http://{Host Address}/live

    Used by Kubernetes as a liveness probe.

    Query Parameters

    None

    Sample Request

    curl -X GET "http://<Host_address>/live"
         
    import requests
        
        url = "http://<Host_address>/live"
        response = requests.get(url, verify=False)
        
        print("Status code:", response.status_code)
        
    URL: GET `http: //<Host_address>/live`

    Response Codes

    CodeDescription
    204Service can handle requests.