GET
/livez
const url = 'http://localhost:8000/livez';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8000/livezLiveness under its Kubernetes name: the same answer as /healthz.
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Livez Livez Get
object
Example generated
{}