From f7c11e8c77159370d0cc8a5515a80d5c931b7aac Mon Sep 17 00:00:00 2001 From: caoyingjunz Date: Sat, 16 Nov 2024 13:57:54 +0800 Subject: [PATCH] Bump log level for hpa spec --- pkg/controller/autoscaler/autoscaler_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/autoscaler/autoscaler_controller.go b/pkg/controller/autoscaler/autoscaler_controller.go index 9e57679..8804610 100644 --- a/pkg/controller/autoscaler/autoscaler_controller.go +++ b/pkg/controller/autoscaler/autoscaler_controller.go @@ -238,7 +238,7 @@ func (ac *AutoscalerController) sync(d *appsv1.Deployment, hpaList []*autoscalin } if reflect.DeepEqual(oldHPA.Spec, newHPA.Spec) { - klog.V(0).Infof("HPA: %s/%s is not changed", newHPA.Namespace, newHPA.Name) + klog.V(2).Infof("HPA: %s/%s is not changed", newHPA.Namespace, newHPA.Name) return nil } if _, err = ac.client.AutoscalingV2().HorizontalPodAutoscalers(newHPA.Namespace).Update(context.TODO(), newHPA, metav1.UpdateOptions{}); err != nil {