Adjust our use of cadvisor to pull in just runtimes we need

- We drop mesos and rkt support in cadvisor

Change-Id: Id4dcafdecc97802b2def95a572e67842e7507f7b
This commit is contained in:
Davanum Srinivas 2019-04-11 13:33:08 -04:00
parent 70d562a6ac
commit 1707144b0d
No known key found for this signature in database
GPG Key ID: 80D83A796103BF59

View File

@ -26,6 +26,11 @@ import (
"path"
"time"
_ "github.com/google/cadvisor/container/containerd/install"
_ "github.com/google/cadvisor/container/crio/install"
_ "github.com/google/cadvisor/container/docker/install"
_ "github.com/google/cadvisor/container/systemd/install"
"github.com/google/cadvisor/cache/memory"
cadvisormetrics "github.com/google/cadvisor/container"
"github.com/google/cadvisor/events"