Skip to content

Commit

Permalink
Merge pull request #5945 from chaosi-zju/rt-metrics-provider
Browse files Browse the repository at this point in the history
remove workaround code for resolving workqueue metrics loss by modifying import order
  • Loading branch information
karmada-bot authored Jan 2, 2025
2 parents b3b1aa6 + eb9f295 commit a891673
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion cmd/agent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
_ "k8s.io/component-base/logs/json/register" // for JSON log format registration
"k8s.io/klog/v2"
controllerruntime "sigs.k8s.io/controller-runtime"
_ "sigs.k8s.io/controller-runtime/pkg/metrics"

"github.com/karmada-io/karmada/cmd/agent/app"
)
Expand Down
1 change: 0 additions & 1 deletion cmd/controller-manager/controller-manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
_ "k8s.io/component-base/logs/json/register" // for JSON log format registration
"k8s.io/klog/v2"
controllerruntime "sigs.k8s.io/controller-runtime"
_ "sigs.k8s.io/controller-runtime/pkg/metrics"

"github.com/karmada-io/karmada/cmd/controller-manager/app"
)
Expand Down
1 change: 0 additions & 1 deletion cmd/descheduler/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"k8s.io/component-base/cli"
_ "k8s.io/component-base/logs/json/register" // for JSON log format registration
controllerruntime "sigs.k8s.io/controller-runtime"
_ "sigs.k8s.io/controller-runtime/pkg/metrics"

"github.com/karmada-io/karmada/cmd/descheduler/app"
)
Expand Down
1 change: 0 additions & 1 deletion cmd/scheduler-estimator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"k8s.io/component-base/cli"
_ "k8s.io/component-base/logs/json/register" // for JSON log format registration
controllerruntime "sigs.k8s.io/controller-runtime"
_ "sigs.k8s.io/controller-runtime/pkg/metrics"

"github.com/karmada-io/karmada/cmd/scheduler-estimator/app"
)
Expand Down
1 change: 0 additions & 1 deletion cmd/scheduler/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"k8s.io/component-base/cli"
_ "k8s.io/component-base/logs/json/register" // for JSON log format registration
controllerruntime "sigs.k8s.io/controller-runtime"
_ "sigs.k8s.io/controller-runtime/pkg/metrics"

"github.com/karmada-io/karmada/cmd/scheduler/app"
)
Expand Down
1 change: 0 additions & 1 deletion operator/cmd/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
_ "k8s.io/component-base/logs/json/register" // for JSON log format registration
"k8s.io/klog/v2"
controllerruntime "sigs.k8s.io/controller-runtime"
_ "sigs.k8s.io/controller-runtime/pkg/metrics"

"github.com/karmada-io/karmada/operator/cmd/operator/app"
)
Expand Down

0 comments on commit a891673

Please sign in to comment.