Skip to content

Commit

Permalink
changed default ip for cache to deal with intermittent networking iss…
Browse files Browse the repository at this point in the history
…ues / dns problems
  • Loading branch information
kmuldoon authored and killianmuldoon committed Apr 9, 2020
1 parent 0da14b0 commit a137088
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/tas-scheduler-extender/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package main

import (
"flag"

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

0 comments on commit a137088

Please sign in to comment.