From 8a0f30c65538011b9e1a540763ab1651bb1c96b7 Mon Sep 17 00:00:00 2001 From: Beata Skiba Date: Tue, 7 May 2019 13:22:11 +0200 Subject: [PATCH] Initialize klog. --- vertical-pod-autoscaler/pkg/admission-controller/main.go | 1 + vertical-pod-autoscaler/pkg/recommender/main.go | 1 + vertical-pod-autoscaler/pkg/updater/main.go | 1 + 3 files changed, 3 insertions(+) diff --git a/vertical-pod-autoscaler/pkg/admission-controller/main.go b/vertical-pod-autoscaler/pkg/admission-controller/main.go index a9d1ebde030..74a2a22d7bc 100644 --- a/vertical-pod-autoscaler/pkg/admission-controller/main.go +++ b/vertical-pod-autoscaler/pkg/admission-controller/main.go @@ -57,6 +57,7 @@ var ( ) func main() { + klog.InitFlags(nil) kube_flag.InitFlags() klog.V(1).Infof("Vertical Pod Autoscaler %s Admission Controller", common.VerticalPodAutoscalerVersion) diff --git a/vertical-pod-autoscaler/pkg/recommender/main.go b/vertical-pod-autoscaler/pkg/recommender/main.go index fa1a8a05bb8..0a08cddaf53 100644 --- a/vertical-pod-autoscaler/pkg/recommender/main.go +++ b/vertical-pod-autoscaler/pkg/recommender/main.go @@ -52,6 +52,7 @@ var ( ) func main() { + klog.InitFlags(nil) kube_flag.InitFlags() klog.V(1).Infof("Vertical Pod Autoscaler %s Recommender", common.VerticalPodAutoscalerVersion) diff --git a/vertical-pod-autoscaler/pkg/updater/main.go b/vertical-pod-autoscaler/pkg/updater/main.go index 4b0e4478a18..0598dfb153c 100644 --- a/vertical-pod-autoscaler/pkg/updater/main.go +++ b/vertical-pod-autoscaler/pkg/updater/main.go @@ -52,6 +52,7 @@ const ( ) func main() { + klog.InitFlags(nil) kube_flag.InitFlags() klog.V(1).Infof("Vertical Pod Autoscaler %s Updater", common.VerticalPodAutoscalerVersion)