k3s/cmd/kubelet
Kubernetes Submit Queue b6545a086c Merge pull request #51728 from derekwaynecarr/cadvisor-stats
Automatic merge from submit-queue (batch tested with PRs 51728, 49202)

Enable CRI-O stats from cAdvisor

**What this PR does / why we need it**:
cAdvisor may support multiple container runtimes (docker, rkt, cri-o, systemd, etc.)

As long as the kubelet continues to run cAdvisor, runtimes with native cAdvisor support may not want to run multiple monitoring agents to avoid performance regression in production.  Pending kubelet running a more light-weight monitoring solution, this PR allows remote runtimes to have their stats pulled from cAdvisor when cAdvisor is registered stats provider by introspection of the runtime endpoint.

See issue https://github.com/kubernetes/kubernetes/issues/51798

**Special notes for your reviewer**:
cAdvisor will be bumped to pick up https://github.com/google/cadvisor/pull/1741

At that time, CRI-O will support fetching stats from cAdvisor.

**Release note**:
```release-note
NONE
```
2017-09-06 20:00:57 -07:00
..
app Merge pull request #51728 from derekwaynecarr/cadvisor-stats 2017-09-06 20:00:57 -07:00
BUILD Separate feature gates for dynamic kubelet config vs loading from a file 2017-08-30 14:52:37 -07:00
OWNERS Update OWNERS 2017-01-18 15:18:04 -08:00
kubelet.go Separate feature gates for dynamic kubelet config vs loading from a file 2017-08-30 14:52:37 -07:00