mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-17 17:26:06 +01:00
healthz check to avoid drain pod with last replicas
This commit is contained in:
1 parent
b394380a36
commit
9ea09cc41c
3 files changed
+23
-3
No files matched your search
@@ -98,6 +98,7 @@ func NewVolumeServer(adminMux, publicMux *http.ServeMux, ip string,
|
||||
|
||||
handleStaticResources(adminMux)
|
||||
adminMux.HandleFunc("/status", vs.statusHandler)
|
||||
adminMux.HandleFunc("/healthz", vs.healthzHandler)
|
||||
if signingKey == "" || enableUiAccess {
|
||||
// only expose the volume server details for safe environments
|
||||
adminMux.HandleFunc("/ui/index.html", vs.uiStatusHandler)
|
||||
|
||||
Reference in new issue
Block a user