update metrics to true like it is for kube-apiserver

Kubernetes-commit: 456fd386dc6db8ba5ced338a5935de8229c14047
This commit is contained in:
David Eads 2018-03-09 14:36:04 -05:00 committed by Kubernetes Publisher
parent 4a8377c547
commit 416f1ae672
2 changed files with 2 additions and 0 deletions

View File

@ -262,6 +262,7 @@ func NewConfig(codecs serializer.CodecFactory) *Config {
EnableIndex: true,
EnableDiscovery: true,
EnableProfiling: true,
EnableMetrics: true,
MaxRequestsInFlight: 400,
MaxMutatingRequestsInFlight: 200,
RequestTimeout: time.Duration(60) * time.Second,

View File

@ -109,6 +109,7 @@ func TestNewWithDelegate(t *testing.T) {
"/healthz/poststarthook/generic-apiserver-start-informers",
"/healthz/poststarthook/wrapping-post-start-hook",
"/healthz/wrapping-health",
"/metrics",
"/swaggerapi"
]
}`, t)