Skip to content

Commit

Permalink
fix: odiglet bind address already in use (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
edeNFed authored Sep 19, 2023
1 parent 40685a9 commit 7ea83ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions odiglet/pkg/kube/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package kube
import (
"context"

metricsserver "sigs.k8s.io/controller-runtime/pkg/metrics/server"

odigosv1 "github.com/keyval-dev/odigos/api/odigos/v1alpha1"
"github.com/keyval-dev/odigos/common/consts"
"github.com/keyval-dev/odigos/odiglet/pkg/ebpf"
Expand Down Expand Up @@ -35,6 +37,9 @@ func StartReconciling(ebpfDirector ebpf.Director) (context.Context, error) {
ctrl.SetLogger(log.Logger)
mgr, err := manager.New(config.GetConfigOrDie(), manager.Options{
Scheme: scheme,
Metrics: metricsserver.Options{
BindAddress: "0",
},
})
if err != nil {
return nil, err
Expand Down

0 comments on commit 7ea83ee

Please sign in to comment.