Add the /runningpods/ api endpoint (#611)
* Add the /runningpods/ api endpoint This adds an API endpoint from the kubelet (/runningpods/). It is an endpoint on kubelet which is considered a "debug" endpoint, so it might be worth exposing through the options, but by default it is exposed in most k8s configs AFAICT.
This commit is contained in:
committed by
Brian Goff
parent
c50f33e701
commit
63fa4e124b
@@ -86,7 +86,7 @@ func setupHTTPServer(ctx context.Context, p providers.Provider, cfg *apiServerCo
|
||||
}
|
||||
|
||||
mux := http.NewServeMux()
|
||||
vkubelet.AttachPodRoutes(p, mux)
|
||||
vkubelet.AttachPodRoutes(p, mux, true)
|
||||
|
||||
s := &http.Server{
|
||||
Handler: mux,
|
||||
|
||||
Reference in New Issue
Block a user