diff --git a/vertical-pod-autoscaler/go.mod b/vertical-pod-autoscaler/go.mod index ded1626bcb3e..0a9d4efe757d 100644 --- a/vertical-pod-autoscaler/go.mod +++ b/vertical-pod-autoscaler/go.mod @@ -15,7 +15,6 @@ require ( k8s.io/apimachinery v0.18.3 k8s.io/client-go v0.18.3 k8s.io/component-base v0.18.3 - k8s.io/klog v1.0.0 k8s.io/klog/v2 v2.9.0 k8s.io/metrics v0.18.3 k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89 diff --git a/vertical-pod-autoscaler/pkg/recommender/main.go b/vertical-pod-autoscaler/pkg/recommender/main.go index d01824f3b34b..cb2e2ddb7e1d 100644 --- a/vertical-pod-autoscaler/pkg/recommender/main.go +++ b/vertical-pod-autoscaler/pkg/recommender/main.go @@ -29,7 +29,7 @@ import ( metrics_quality "k8s.io/autoscaler/vertical-pod-autoscaler/pkg/utils/metrics/quality" metrics_recommender "k8s.io/autoscaler/vertical-pod-autoscaler/pkg/utils/metrics/recommender" kube_flag "k8s.io/component-base/cli/flag" - "k8s.io/klog" + "k8s.io/klog/v2" ) // DefaultRecommenderName denotes the current recommender name as the "default" one. diff --git a/vertical-pod-autoscaler/pkg/recommender/model/cluster_test.go b/vertical-pod-autoscaler/pkg/recommender/model/cluster_test.go index 5ae08158bbee..ebf40aed310f 100644 --- a/vertical-pod-autoscaler/pkg/recommender/model/cluster_test.go +++ b/vertical-pod-autoscaler/pkg/recommender/model/cluster_test.go @@ -27,7 +27,7 @@ import ( labels "k8s.io/apimachinery/pkg/labels" vpa_types "k8s.io/autoscaler/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1" "k8s.io/autoscaler/vertical-pod-autoscaler/pkg/utils/test" - "k8s.io/klog" + "k8s.io/klog/v2" ) var ( diff --git a/vertical-pod-autoscaler/pkg/updater/main.go b/vertical-pod-autoscaler/pkg/updater/main.go index 14da2d70e82b..ea2342d6757e 100644 --- a/vertical-pod-autoscaler/pkg/updater/main.go +++ b/vertical-pod-autoscaler/pkg/updater/main.go @@ -36,7 +36,7 @@ import ( "k8s.io/client-go/informers" kube_client "k8s.io/client-go/kubernetes" kube_flag "k8s.io/component-base/cli/flag" - "k8s.io/klog" + "k8s.io/klog/v2" ) var ( diff --git a/vertical-pod-autoscaler/vendor/modules.txt b/vertical-pod-autoscaler/vendor/modules.txt index f8f56dc3db45..58dbddcccbd2 100644 --- a/vertical-pod-autoscaler/vendor/modules.txt +++ b/vertical-pod-autoscaler/vendor/modules.txt @@ -428,7 +428,6 @@ k8s.io/component-base/metrics/legacyregistry k8s.io/component-base/metrics/prometheus/restclient k8s.io/component-base/version # k8s.io/klog v1.0.0 -## explicit k8s.io/klog # k8s.io/klog/v2 v2.9.0 ## explicit