k3s/pkg/kubelet/cadvisor
Davanum Srinivas ca2d5178aa Create the directory for cadvisor if needed
In 6c7245d464, code was added to
bail out if the directory that cadvisor monitored did not exist.

However, this breaks the earlier assumption that kubelet created
directories when needed in pkg/kubelet/kubelet.go's setupDataDirs()
method. setupDataDirs() happens much later, so basically kubelet
exits now.

So since cadvisor really needs this directory, let us just create
it

Fixes #50709
2017-08-19 20:42:50 -04:00
..
testing Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
cadvisor_linux.go Create the directory for cadvisor if needed 2017-08-19 20:42:50 -04:00
cadvisor_linux_test.go Filter internal Kubernetes labels from Prometheus metrics 2016-08-22 19:44:27 -04:00
cadvisor_unsupported.go Kubelet: 2017-06-27 18:45:02 -07:00
cadvisor_windows.go Kubelet: 2017-06-27 18:45:02 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
types.go Kubelet: 2017-06-27 18:45:02 -07:00
util.go run hack/update-all 2017-06-22 11:31:03 -07:00