mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Merge pull request #115233 from pohly/kube-proxy-contextual-logging
kube-proxy: support the logging feature gates
This commit is contained in:
commit
aa5f462f5b
@ -57,6 +57,7 @@ import (
|
||||
componentbaseconfig "k8s.io/component-base/config"
|
||||
"k8s.io/component-base/configz"
|
||||
"k8s.io/component-base/logs"
|
||||
logsapi "k8s.io/component-base/logs/api/v1"
|
||||
metricsfeatures "k8s.io/component-base/metrics/features"
|
||||
"k8s.io/component-base/metrics/legacyregistry"
|
||||
"k8s.io/component-base/metrics/prometheus/slis"
|
||||
@ -89,6 +90,7 @@ import (
|
||||
|
||||
func init() {
|
||||
utilruntime.Must(metricsfeatures.AddFeatureGates(utilfeature.DefaultMutableFeatureGate))
|
||||
logsapi.AddFeatureGates(utilfeature.DefaultMutableFeatureGate)
|
||||
}
|
||||
|
||||
// proxyRun defines the interface to run a specified ProxyServer
|
||||
|
Loading…
Reference in New Issue
Block a user