add real time cpu/memory monitor api for container level

This commit is contained in:
Calvin Yu
2018-05-28 11:36:47 +08:00
parent f5cb88afc2
commit c7307e4d7a
3 changed files with 14 additions and 9 deletions

View File

@@ -19,15 +19,16 @@ package client
import (
"net/http"
"github.com/golang/glog"
"io/ioutil"
"os"
"github.com/golang/glog"
)
const (
DefaultHeapsterScheme = "http"
DefaultHeapsterService = "heapster" //"heapster"
DefaultHeapsterPort = "80" // use the first exposed port on the service
DefaultHeapsterPort = "80" // use the first exposed port on the service
)
var (