update metrics to true like it is for kube-apiserver
Kubernetes-commit: 456fd386dc6db8ba5ced338a5935de8229c14047
This commit is contained in:
parent
4a8377c547
commit
416f1ae672
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue