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:
Sargun Dhillon
2019-05-13 15:10:31 -07:00
committed by Brian Goff
parent c50f33e701
commit 63fa4e124b
4 changed files with 63 additions and 4 deletions

1
Gopkg.lock generated
View File

@@ -1372,6 +1372,7 @@
"k8s.io/apimachinery/pkg/fields",
"k8s.io/apimachinery/pkg/labels",
"k8s.io/apimachinery/pkg/runtime",
"k8s.io/apimachinery/pkg/runtime/serializer",
"k8s.io/apimachinery/pkg/types",
"k8s.io/apimachinery/pkg/util/intstr",
"k8s.io/apimachinery/pkg/util/net",