Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit a137088

Browse files
kmuldoonkillianmuldoon
kmuldoon
authored andcommitted
changed default ip for cache to deal with intermittent networking issues / dns problems
1 parent 0da14b0 commit a137088

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/tas-scheduler-extender/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package main
22

33
import (
44
"flag"
5+
56
"github.com/intel/telemetry-aware-scheduling/pkg/cache"
67
"github.com/intel/telemetry-aware-scheduling/pkg/scheduler"
78
)
@@ -13,7 +14,7 @@ func main() {
1314
flag.StringVar(&port, "port", "9001", "port on which the scheduler extender will listen")
1415
flag.StringVar(&certFile, "cert", "/etc/kubernetes/pki/ca.crt", "cert file extender will use for authentication")
1516
flag.StringVar(&keyFile, "key", "/etc/kubernetes/pki/ca.key", "key file extender will use for authentication")
16-
flag.StringVar(&cacheEndpoint, "cacheEndpoint", "http://localhost:8111/cache/", "root at which the cache can be reached for reading")
17+
flag.StringVar(&cacheEndpoint, "cacheEndpoint", "http://127.0.0.1:8111/cache/", "root at which the cache can be reached for reading")
1718
flag.BoolVar(&unsafe, "unsafe", false, "unsafe instances of telemetry aware scheduler will be served over simple http.")
1819
flag.Parse()
1920
cacheReader := cache.RemoteClient{}

0 commit comments

Comments
 (0)