Skip to content

Commit

Permalink
chore: remove v1alpha5 metrics and counter (kubernetes-sigs#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
njtran authored Oct 31, 2023
1 parent 462e58e commit a08781f
Show file tree
Hide file tree
Showing 7 changed files with 136 additions and 706 deletions.
3 changes: 0 additions & 3 deletions pkg/controllers/controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import (
metricsnode "github.com/aws/karpenter-core/pkg/controllers/metrics/node"
metricsnodepool "github.com/aws/karpenter-core/pkg/controllers/metrics/nodepool"
metricspod "github.com/aws/karpenter-core/pkg/controllers/metrics/pod"
metricsprovisioner "github.com/aws/karpenter-core/pkg/controllers/metrics/provisioner"
"github.com/aws/karpenter-core/pkg/controllers/node/termination"
"github.com/aws/karpenter-core/pkg/controllers/node/termination/terminator"
nodeclaimconsistency "github.com/aws/karpenter-core/pkg/controllers/nodeclaim/consistency"
Expand Down Expand Up @@ -69,10 +68,8 @@ func NewControllers(
informer.NewNodeClaimController(kubeClient, cluster),
termination.NewController(kubeClient, cloudProvider, terminator.NewTerminator(clock, kubeClient, evictionQueue), recorder),
metricspod.NewController(kubeClient),
metricsprovisioner.NewController(kubeClient),
metricsnodepool.NewController(kubeClient),
metricsnode.NewController(cluster),
nodepoolcounter.NewProvisionerController(kubeClient, cluster),
nodepoolcounter.NewNodePoolController(kubeClient, cluster),
nodeclaimconsistency.NewMachineController(clock, kubeClient, recorder, cloudProvider),
nodeclaimconsistency.NewNodeClaimController(clock, kubeClient, recorder, cloudProvider),
Expand Down
169 changes: 0 additions & 169 deletions pkg/controllers/metrics/provisioner/controller.go

This file was deleted.

169 changes: 0 additions & 169 deletions pkg/controllers/metrics/provisioner/suite_test.go

This file was deleted.

Loading

0 comments on commit a08781f

Please sign in to comment.