Skip to content

Commit

Permalink
Add back incorrectly removed health check route
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfred-s committed Nov 11, 2024
1 parent 446f850 commit f73e8a6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pkg/webservice/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var webRoutes = routes{
validateConf,
},

// endpoints to retrieve
// endpoints to retrieve general scheduler info
route{
"Scheduler",
"GET",
Expand Down Expand Up @@ -174,6 +174,12 @@ var webRoutes = routes{
"/ws/v1/events/stream",
getStream,
},
route{
"Scheduler",
"GET",
"/ws/v1/scheduler/healthcheck",
checkHealthStatus,
},
route{
"Scheduler",
"GET",
Expand Down Expand Up @@ -268,8 +274,8 @@ var webRoutes = routes{

// Deprecated REST calls
//
// Replaced with /ws/v1/scheduler/node-utilizations
// Remove as part of YuniKorn 1.10
// Replaced with /ws/v1/scheduler/node-utilizations as part of YuniKorn 1.5
// Remove as part of YuniKorn 1.8
route{
Name: "Scheduler",
Method: "GET",
Expand Down

0 comments on commit f73e8a6

Please sign in to comment.