Skip to content

Commit

Permalink
Change cAdvisor port to 4194.
Browse files Browse the repository at this point in the history
This is so it doesn't conflict with the default registry address of
5000.
  • Loading branch information
vmarmol committed Jul 31, 2014
1 parent 28d42a7 commit 4de4861
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cluster/saltbase/salt/cadvisor/cadvisor.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ containers:
ports:
- name: http
containerPort: 8080
hostPort: 5000
hostPort: 4194
volumeMounts:
- name: varrun
mountPath: /var/run
Expand Down
2 changes: 1 addition & 1 deletion cmd/kubelet/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func main() {
glog.Fatal("Couldn't connect to docker.")
}

cadvisorClient, err := cadvisor.NewClient("http://127.0.0.1:5000")
cadvisorClient, err := cadvisor.NewClient("http://127.0.0.1:4194")
if err != nil {
glog.Errorf("Error on creating cadvisor client: %v", err)
}
Expand Down

0 comments on commit 4de4861

Please sign in to comment.