Skip to content
Snippets Groups Projects
Commit e76139d6 authored by Tom Wilkie's avatar Tom Wilkie Committed by Goutham Veeramachaneni
Browse files

Fallback to lo0 if we can't find a interface to advertise. (#33)


* Fallback to lo0 if we can't find a interface to advertise.

Signed-off-by: default avatarTom Wilkie <tom.wilkie@gmail.com>

* s/lo0/lo/

Signed-off-by: default avatarTom Wilkie <tom.wilkie@gmail.com>
parent 600b2410
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@
[[projects]]
branch = "yaml"
digest = "1:9ce73fdeb90debf12ed0791e6c10e4022e7d090157246f59a621fa1a600b6fcc"
digest = "1:35215932e8abb9ee56fb7936cb90cbe298766a21e86015544429988f66bf5ecd"
name = "github.com/cortexproject/cortex"
packages = [
"pkg/ingester/client",
......@@ -137,7 +137,7 @@
"pkg/util/wire",
]
pruneopts = "UT"
revision = "5215e8e67823d4827105b78bf0354612ea7cd184"
revision = "6c6d089138917b241e09bc7063a257f71bcb6185"
source = "github.com/grafana/cortex"
[[projects]]
......
......@@ -2,6 +2,10 @@ auth_enabled: false
ingester:
lifecycler:
interface_names:
- eth0
- en0
- lo
ring:
store: inmemory
replication_factor: 1
......@@ -47,11 +47,11 @@ type LifecyclerConfig struct {
JoinAfter time.Duration `yaml:"join_after,omitempty"`
ClaimOnRollout bool `yaml:"claim_on_rollout,omitempty"`
NormaliseTokens bool `yaml:"normalise_tokens,omitempty"`
InfNames []string `yaml:"interface_names"`
// For testing, you can override the address and ID of this ingester
Addr string
Port int
InfNames []string
ID string
SkipUnregister bool
}
......
......@@ -4,6 +4,7 @@ import (
"fmt"
)
// Strings is a list of strings.
type Strings []string
// String implements flag.Value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment