• Davanum Srinivas's avatar
    Create the directory for cadvisor if needed · ca2d5178
    Davanum Srinivas authored
    In 6c7245d4, 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
    ca2d5178
Name
Last commit
Last update
..
testing Loading commit data...
BUILD Loading commit data...
cadvisor_linux.go Loading commit data...
cadvisor_linux_test.go Loading commit data...
cadvisor_unsupported.go Loading commit data...
cadvisor_windows.go Loading commit data...
doc.go Loading commit data...
types.go Loading commit data...
util.go Loading commit data...