单独在一台机器上安装heapster 出现问题 大神 帮忙看一下


Step 1: Clone the heapster github repo

git clone https://github.com/kubernetes/heapster.git
Step 2: Build the source code

cd k8s.io/heapster
make

上面是官方的安装步骤

- 这是报错:
# make
rm -f heapster
rm -f deploy/docker/heapster
go get -u github.com/tools/godep
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 godep go build ./...
handlers.go:24:2: cannot find package "k8s.io/heapster/api/v1" in any of:
/usr/local/go/src/k8s.io/heapster/api/v1 (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/api/v1 (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/api/v1
/usr/local/bin/src/k8s.io/heapster/api/v1
/sbin/src/k8s.io/heapster/api/v1
/bin/src/k8s.io/heapster/api/v1
/usr/sbin/src/k8s.io/heapster/api/v1
/usr/bin/src/k8s.io/heapster/api/v1
/root/bin/src/k8s.io/heapster/api/v1
/usr/local/go/bin/src/k8s.io/heapster/api/v1
handlers.go:25:2: cannot find package "k8s.io/heapster/expapi/v2" in any of:
/usr/local/go/src/k8s.io/heapster/expapi/v2 (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/expapi/v2 (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/expapi/v2
/usr/local/bin/src/k8s.io/heapster/expapi/v2
/sbin/src/k8s.io/heapster/expapi/v2
/bin/src/k8s.io/heapster/expapi/v2
/usr/sbin/src/k8s.io/heapster/expapi/v2
/usr/bin/src/k8s.io/heapster/expapi/v2
/root/bin/src/k8s.io/heapster/expapi/v2
/usr/local/go/bin/src/k8s.io/heapster/expapi/v2
sources.go:21:2: cannot find package "k8s.io/heapster/extpoints" in any of:
/usr/local/go/src/k8s.io/heapster/extpoints (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/extpoints (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/extpoints
/usr/local/bin/src/k8s.io/heapster/extpoints
/sbin/src/k8s.io/heapster/extpoints
/bin/src/k8s.io/heapster/extpoints
/usr/sbin/src/k8s.io/heapster/extpoints
/usr/bin/src/k8s.io/heapster/extpoints
/root/bin/src/k8s.io/heapster/extpoints
/usr/local/go/bin/src/k8s.io/heapster/extpoints
handlers.go:26:2: cannot find package "k8s.io/heapster/manager" in any of:
/usr/local/go/src/k8s.io/heapster/manager (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/manager (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/manager
/usr/local/bin/src/k8s.io/heapster/manager
/sbin/src/k8s.io/heapster/manager
/bin/src/k8s.io/heapster/manager
/usr/sbin/src/k8s.io/heapster/manager
/usr/bin/src/k8s.io/heapster/manager
/root/bin/src/k8s.io/heapster/manager
/usr/local/go/bin/src/k8s.io/heapster/manager
handlers.go:27:2: cannot find package "k8s.io/heapster/sinks" in any of:
/usr/local/go/src/k8s.io/heapster/sinks (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sinks (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sinks
/usr/local/bin/src/k8s.io/heapster/sinks
/sbin/src/k8s.io/heapster/sinks
/bin/src/k8s.io/heapster/sinks
/usr/sbin/src/k8s.io/heapster/sinks
/usr/bin/src/k8s.io/heapster/sinks
/root/bin/src/k8s.io/heapster/sinks
/usr/local/go/bin/src/k8s.io/heapster/sinks
heapster.go:32:2: cannot find package "k8s.io/heapster/sinks/cache" in any of:
/usr/local/go/src/k8s.io/heapster/sinks/cache (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sinks/cache (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sinks/cache
/usr/local/bin/src/k8s.io/heapster/sinks/cache
/sbin/src/k8s.io/heapster/sinks/cache
/bin/src/k8s.io/heapster/sinks/cache
/usr/sbin/src/k8s.io/heapster/sinks/cache
/usr/bin/src/k8s.io/heapster/sinks/cache
/root/bin/src/k8s.io/heapster/sinks/cache
/usr/local/go/bin/src/k8s.io/heapster/sinks/cache
handlers.go:28:2: cannot find package "k8s.io/heapster/sources" in any of:
/usr/local/go/src/k8s.io/heapster/sources (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sources (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sources
/usr/local/bin/src/k8s.io/heapster/sources
/sbin/src/k8s.io/heapster/sources
/bin/src/k8s.io/heapster/sources
/usr/sbin/src/k8s.io/heapster/sources
/usr/bin/src/k8s.io/heapster/sources
/root/bin/src/k8s.io/heapster/sources
/usr/local/go/bin/src/k8s.io/heapster/sources
handlers.go:29:2: cannot find package "k8s.io/heapster/sources/api" in any of:
/usr/local/go/src/k8s.io/heapster/sources/api (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sources/api (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sources/api
/usr/local/bin/src/k8s.io/heapster/sources/api
/sbin/src/k8s.io/heapster/sources/api
/bin/src/k8s.io/heapster/sources/api
/usr/sbin/src/k8s.io/heapster/sources/api
/usr/bin/src/k8s.io/heapster/sources/api
/root/bin/src/k8s.io/heapster/sources/api
/usr/local/go/bin/src/k8s.io/heapster/sources/api
handlers.go:30:2: cannot find package "k8s.io/heapster/validate" in any of:
/usr/local/go/src/k8s.io/heapster/validate (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/validate (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/validate
/usr/local/bin/src/k8s.io/heapster/validate
/sbin/src/k8s.io/heapster/validate
/bin/src/k8s.io/heapster/validate
/usr/sbin/src/k8s.io/heapster/validate
/usr/bin/src/k8s.io/heapster/validate
/root/bin/src/k8s.io/heapster/validate
/usr/local/go/bin/src/k8s.io/heapster/validate
heapster.go:34:2: cannot find package "k8s.io/heapster/version" in any of:
/usr/local/go/src/k8s.io/heapster/version (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/version (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/version
/usr/local/bin/src/k8s.io/heapster/version
/sbin/src/k8s.io/heapster/version
/bin/src/k8s.io/heapster/version
/usr/sbin/src/k8s.io/heapster/version
/usr/bin/src/k8s.io/heapster/version
/root/bin/src/k8s.io/heapster/version
/usr/local/go/bin/src/k8s.io/heapster/version
api/v1/api.go:21:2: cannot find package "k8s.io/heapster/api/v1/types" in any of:
/usr/local/go/src/k8s.io/heapster/api/v1/types (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/api/v1/types (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/api/v1/types
/usr/local/bin/src/k8s.io/heapster/api/v1/types
/sbin/src/k8s.io/heapster/api/v1/types
/bin/src/k8s.io/heapster/api/v1/types
/usr/sbin/src/k8s.io/heapster/api/v1/types
/usr/bin/src/k8s.io/heapster/api/v1/types
/root/bin/src/k8s.io/heapster/api/v1/types
/usr/local/go/bin/src/k8s.io/heapster/api/v1/types
api/v1/model_handlers.go:27:2: cannot find package "k8s.io/heapster/model" in any of:
/usr/local/go/src/k8s.io/heapster/model (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/model (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/model
/usr/local/bin/src/k8s.io/heapster/model
/sbin/src/k8s.io/heapster/model
/bin/src/k8s.io/heapster/model
/usr/sbin/src/k8s.io/heapster/model
/usr/bin/src/k8s.io/heapster/model
/root/bin/src/k8s.io/heapster/model
/usr/local/go/bin/src/k8s.io/heapster/model
api/v1/api.go:23:2: cannot find package "k8s.io/heapster/sinks/api" in any of:
/usr/local/go/src/k8s.io/heapster/sinks/api (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sinks/api (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sinks/api
/usr/local/bin/src/k8s.io/heapster/sinks/api
/sbin/src/k8s.io/heapster/sinks/api
/bin/src/k8s.io/heapster/sinks/api
/usr/sbin/src/k8s.io/heapster/sinks/api
/usr/bin/src/k8s.io/heapster/sinks/api
/root/bin/src/k8s.io/heapster/sinks/api
/usr/local/go/bin/src/k8s.io/heapster/sinks/api
api/v1/model_handlers.go:28:2: cannot find package "k8s.io/heapster/store/statstore" in any of:
/usr/local/go/src/k8s.io/heapster/store/statstore (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/store/statstore (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/store/statstore
/usr/local/bin/src/k8s.io/heapster/store/statstore
/sbin/src/k8s.io/heapster/store/statstore
/bin/src/k8s.io/heapster/store/statstore
/usr/sbin/src/k8s.io/heapster/store/statstore
/usr/bin/src/k8s.io/heapster/store/statstore
/root/bin/src/k8s.io/heapster/store/statstore
/usr/local/go/bin/src/k8s.io/heapster/store/statstore
api/v1/api.go:24:2: cannot find package "k8s.io/heapster/util" in any of:
/usr/local/go/src/k8s.io/heapster/util (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/util (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/util
/usr/local/bin/src/k8s.io/heapster/util
/sbin/src/k8s.io/heapster/util
/bin/src/k8s.io/heapster/util
/usr/sbin/src/k8s.io/heapster/util
/usr/bin/src/k8s.io/heapster/util
/root/bin/src/k8s.io/heapster/util
/usr/local/go/bin/src/k8s.io/heapster/util
expapi/v2/metrics_handlers.go:27:2: cannot find package "k8s.io/heapster/expapi/v2/types" in any of:
/usr/local/go/src/k8s.io/heapster/expapi/v2/types (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/expapi/v2/types (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/expapi/v2/types
/usr/local/bin/src/k8s.io/heapster/expapi/v2/types
/sbin/src/k8s.io/heapster/expapi/v2/types
/bin/src/k8s.io/heapster/expapi/v2/types
/usr/sbin/src/k8s.io/heapster/expapi/v2/types
/usr/bin/src/k8s.io/heapster/expapi/v2/types
/root/bin/src/k8s.io/heapster/expapi/v2/types
/usr/local/go/bin/src/k8s.io/heapster/expapi/v2/types
model/aggregation.go:21:2: cannot find package "k8s.io/heapster/store/daystore" in any of:
/usr/local/go/src/k8s.io/heapster/store/daystore (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/store/daystore (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/store/daystore
/usr/local/bin/src/k8s.io/heapster/store/daystore
/sbin/src/k8s.io/heapster/store/daystore
/bin/src/k8s.io/heapster/store/daystore
/usr/sbin/src/k8s.io/heapster/store/daystore
/usr/bin/src/k8s.io/heapster/store/daystore
/root/bin/src/k8s.io/heapster/store/daystore
/usr/local/go/bin/src/k8s.io/heapster/store/daystore
sinks/modules.go:18:2: cannot find package "k8s.io/heapster/sinks/gcl" in any of:
/usr/local/go/src/k8s.io/heapster/sinks/gcl (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sinks/gcl (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sinks/gcl
/usr/local/bin/src/k8s.io/heapster/sinks/gcl
/sbin/src/k8s.io/heapster/sinks/gcl
/bin/src/k8s.io/heapster/sinks/gcl
/usr/sbin/src/k8s.io/heapster/sinks/gcl
/usr/bin/src/k8s.io/heapster/sinks/gcl
/root/bin/src/k8s.io/heapster/sinks/gcl
/usr/local/go/bin/src/k8s.io/heapster/sinks/gcl
sinks/modules.go:19:2: cannot find package "k8s.io/heapster/sinks/gcm" in any of:
/usr/local/go/src/k8s.io/heapster/sinks/gcm (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sinks/gcm (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sinks/gcm
/usr/local/bin/src/k8s.io/heapster/sinks/gcm
/sbin/src/k8s.io/heapster/sinks/gcm
/bin/src/k8s.io/heapster/sinks/gcm
/usr/sbin/src/k8s.io/heapster/sinks/gcm
/usr/bin/src/k8s.io/heapster/sinks/gcm
/root/bin/src/k8s.io/heapster/sinks/gcm
/usr/local/go/bin/src/k8s.io/heapster/sinks/gcm
sinks/modules.go:20:2: cannot find package "k8s.io/heapster/sinks/gcmautoscaling" in any of:
/usr/local/go/src/k8s.io/heapster/sinks/gcmautoscaling (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sinks/gcmautoscaling (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sinks/gcmautoscaling
/usr/local/bin/src/k8s.io/heapster/sinks/gcmautoscaling
/sbin/src/k8s.io/heapster/sinks/gcmautoscaling
/bin/src/k8s.io/heapster/sinks/gcmautoscaling
/usr/sbin/src/k8s.io/heapster/sinks/gcmautoscaling
/usr/bin/src/k8s.io/heapster/sinks/gcmautoscaling
/root/bin/src/k8s.io/heapster/sinks/gcmautoscaling
/usr/local/go/bin/src/k8s.io/heapster/sinks/gcmautoscaling
sinks/modules.go:21:2: cannot find package "k8s.io/heapster/sinks/hawkular" in any of:
/usr/local/go/src/k8s.io/heapster/sinks/hawkular (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sinks/hawkular (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sinks/hawkular
/usr/local/bin/src/k8s.io/heapster/sinks/hawkular
/sbin/src/k8s.io/heapster/sinks/hawkular
/bin/src/k8s.io/heapster/sinks/hawkular
/usr/sbin/src/k8s.io/heapster/sinks/hawkular
/usr/bin/src/k8s.io/heapster/sinks/hawkular
/root/bin/src/k8s.io/heapster/sinks/hawkular
/usr/local/go/bin/src/k8s.io/heapster/sinks/hawkular
sinks/modules.go:22:2: cannot find package "k8s.io/heapster/sinks/influxdb" in any of:
/usr/local/go/src/k8s.io/heapster/sinks/influxdb (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sinks/influxdb (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sinks/influxdb
/usr/local/bin/src/k8s.io/heapster/sinks/influxdb
/sbin/src/k8s.io/heapster/sinks/influxdb
/bin/src/k8s.io/heapster/sinks/influxdb
/usr/sbin/src/k8s.io/heapster/sinks/influxdb
/usr/bin/src/k8s.io/heapster/sinks/influxdb
/root/bin/src/k8s.io/heapster/sinks/influxdb
/usr/local/go/bin/src/k8s.io/heapster/sinks/influxdb
sinks/modules.go:23:2: cannot find package "k8s.io/heapster/sinks/kafka" in any of:
/usr/local/go/src/k8s.io/heapster/sinks/kafka (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sinks/kafka (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sinks/kafka
/usr/local/bin/src/k8s.io/heapster/sinks/kafka
/sbin/src/k8s.io/heapster/sinks/kafka
/bin/src/k8s.io/heapster/sinks/kafka
/usr/sbin/src/k8s.io/heapster/sinks/kafka
/usr/bin/src/k8s.io/heapster/sinks/kafka
/root/bin/src/k8s.io/heapster/sinks/kafka
/usr/local/go/bin/src/k8s.io/heapster/sinks/kafka
sinks/modules.go:24:2: cannot find package "k8s.io/heapster/sinks/riemann" in any of:
/usr/local/go/src/k8s.io/heapster/sinks/riemann (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sinks/riemann (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sinks/riemann
/usr/local/bin/src/k8s.io/heapster/sinks/riemann
/sbin/src/k8s.io/heapster/sinks/riemann
/bin/src/k8s.io/heapster/sinks/riemann
/usr/sbin/src/k8s.io/heapster/sinks/riemann
/usr/bin/src/k8s.io/heapster/sinks/riemann
/root/bin/src/k8s.io/heapster/sinks/riemann
/usr/local/go/bin/src/k8s.io/heapster/sinks/riemann
sinks/cache/impl.go:23:2: cannot find package "k8s.io/heapster/store" in any of:
/usr/local/go/src/k8s.io/heapster/store (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/store (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/store
/usr/local/bin/src/k8s.io/heapster/store
/sbin/src/k8s.io/heapster/store
/bin/src/k8s.io/heapster/store
/usr/sbin/src/k8s.io/heapster/store
/usr/bin/src/k8s.io/heapster/store
/root/bin/src/k8s.io/heapster/store
/usr/local/go/bin/src/k8s.io/heapster/store
sinks/gcl/driver.go:29:2: cannot find package "k8s.io/heapster/util/gce" in any of:
/usr/local/go/src/k8s.io/heapster/util/gce (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/util/gce (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/util/gce
/usr/local/bin/src/k8s.io/heapster/util/gce
/sbin/src/k8s.io/heapster/util/gce
/bin/src/k8s.io/heapster/util/gce
/usr/sbin/src/k8s.io/heapster/util/gce
/usr/bin/src/k8s.io/heapster/util/gce
/root/bin/src/k8s.io/heapster/util/gce
/usr/local/go/bin/src/k8s.io/heapster/util/gce
sinks/gcm/core.go:32:2: cannot find package "k8s.io/heapster/util/gcstore" in any of:
/usr/local/go/src/k8s.io/heapster/util/gcstore (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/util/gcstore (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/util/gcstore
/usr/local/bin/src/k8s.io/heapster/util/gcstore
/sbin/src/k8s.io/heapster/util/gcstore
/bin/src/k8s.io/heapster/util/gcstore
/usr/sbin/src/k8s.io/heapster/util/gcstore
/usr/bin/src/k8s.io/heapster/util/gcstore
/root/bin/src/k8s.io/heapster/util/gcstore
/usr/local/go/bin/src/k8s.io/heapster/util/gcstore
sinks/kafka/driver.go:28:2: cannot find package "k8s.io/heapster/sinks/util" in any of:
/usr/local/go/src/k8s.io/heapster/sinks/util (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sinks/util (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sinks/util
/usr/local/bin/src/k8s.io/heapster/sinks/util
/sbin/src/k8s.io/heapster/sinks/util
/bin/src/k8s.io/heapster/sinks/util
/usr/sbin/src/k8s.io/heapster/sinks/util
/usr/bin/src/k8s.io/heapster/sinks/util
/root/bin/src/k8s.io/heapster/sinks/util
/usr/local/go/bin/src/k8s.io/heapster/sinks/util
sources/cadvisor.go:32:2: cannot find package "k8s.io/heapster/sources/datasource" in any of:
/usr/local/go/src/k8s.io/heapster/sources/datasource (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sources/datasource (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sources/datasource
/usr/local/bin/src/k8s.io/heapster/sources/datasource
/sbin/src/k8s.io/heapster/sources/datasource
/bin/src/k8s.io/heapster/sources/datasource
/usr/sbin/src/k8s.io/heapster/sources/datasource
/usr/bin/src/k8s.io/heapster/sources/datasource
/root/bin/src/k8s.io/heapster/sources/datasource
/usr/local/go/bin/src/k8s.io/heapster/sources/datasource
sources/cadvisor.go:33:2: cannot find package "k8s.io/heapster/sources/nodes" in any of:
/usr/local/go/src/k8s.io/heapster/sources/nodes (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/sources/nodes (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/sources/nodes
/usr/local/bin/src/k8s.io/heapster/sources/nodes
/sbin/src/k8s.io/heapster/sources/nodes
/bin/src/k8s.io/heapster/sources/nodes
/usr/sbin/src/k8s.io/heapster/sources/nodes
/usr/bin/src/k8s.io/heapster/sources/nodes
/root/bin/src/k8s.io/heapster/sources/nodes
/usr/local/go/bin/src/k8s.io/heapster/sources/nodes
store/daystore/day_store.go:26:2: cannot find package "k8s.io/heapster/third_party/window" in any of:
/usr/local/go/src/k8s.io/heapster/third_party/window (from $GOROOT)
/usr/local/go/bin/k8s.io/heapster/Godeps/_workspace/src/k8s.io/heapster/third_party/window (from $GOPATH)
/usr/local/sbin/src/k8s.io/heapster/third_party/window
/usr/local/bin/src/k8s.io/heapster/third_party/window
/sbin/src/k8s.io/heapster/third_party/window
/bin/src/k8s.io/heapster/third_party/window
/usr/sbin/src/k8s.io/heapster/third_party/window
/usr/bin/src/k8s.io/heapster/third_party/window
/root/bin/src/k8s.io/heapster/third_party/window
/usr/local/go/bin/src/k8s.io/heapster/third_party/window
godep: go exit status 1
make: *** Error 1
已邀请:

huangyuqi - 现就职阿里巴巴容器调度团队;kubernetes运维组件heapster maintainer;

赞同来自: vimiv


社区的heapster standalone的md是我写的,文档里面可能没说清楚哈,抱歉。
这个问题主要是gopath没有设置正确。
路径设置成这个就行:$GOPATH/src/k8s.io/heapster

要回复问题请先登录注册