Merge pull request #724 from vmarmol/change-port

Change cAdvisor port to 4194.
This commit is contained in:
Dawn Chen 2014-07-31 13:48:00 -07:00
commit b88c2a2109
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)
} }