Change cAdvisor port to 4194.

This is so it doesn't conflict with the default registry address of
5000.
pull/6/head
Victor Marmol 2014-07-31 13:14:00 -07:00
parent 28d42a79a4
commit 4de48613e7
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ containers:
ports: ports:
- name: http - name: http
containerPort: 8080 containerPort: 8080
hostPort: 5000 hostPort: 4194
volumeMounts: volumeMounts:
- name: varrun - name: varrun
mountPath: /var/run mountPath: /var/run

View File

@ -105,7 +105,7 @@ func main() {
glog.Fatal("Couldn't connect to docker.") 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 { if err != nil {
glog.Errorf("Error on creating cadvisor client: %v", err) glog.Errorf("Error on creating cadvisor client: %v", err)
} }