mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
promote component SLIs to GA; remove feature gates for component slis
This commit is contained in:
@@ -805,9 +805,8 @@ func serveMetrics(bindAddress string, proxyMode kubeproxyconfig.ProxyMode, enabl
|
||||
|
||||
proxyMux := mux.NewPathRecorderMux("kube-proxy")
|
||||
healthz.InstallHandler(proxyMux)
|
||||
if utilfeature.DefaultFeatureGate.Enabled(metricsfeatures.ComponentSLIs) {
|
||||
slis.SLIMetricsWithReset{}.Install(proxyMux)
|
||||
}
|
||||
slis.SLIMetricsWithReset{}.Install(proxyMux)
|
||||
|
||||
proxyMux.HandleFunc("/proxyMode", func(w http.ResponseWriter, r *http.Request) {
|
||||
w.Header().Set("Content-Type", "text/plain; charset=utf-8")
|
||||
w.Header().Set("X-Content-Type-Options", "nosniff")
|
||||
|
||||
Reference in New Issue
Block a user