diff --git a/linkerd/app/core/src/admin/mod.rs b/linkerd/app/core/src/admin/mod.rs index 41568716d..bee9e1fb5 100644 --- a/linkerd/app/core/src/admin/mod.rs +++ b/linkerd/app/core/src/admin/mod.rs @@ -59,6 +59,13 @@ impl Admin { .expect("builder with known status code must not fail") } } + + fn live_rsp(&self) -> Response { + Response::builder() + .status(StatusCode::OK) + .body("live\n".into()) + .expect("builder with known status code must not fail") + } } impl Service for Admin { @@ -72,6 +79,7 @@ impl Service for Admin { "/metrics" => Box::new(self.metrics.call(req)), "/proxy-log-level" => self.trace_level.call(req), "/ready" => Box::new(future::ok(self.ready_rsp())), + "/live" => Box::new(future::ok(self.live_rsp())), _ => Box::new(future::ok(rsp(StatusCode::NOT_FOUND, Body::empty()))), } }