Yang Guo
f9767d2f71
Change StatsProvider interface to provide container stats from either cadvisor or CRI and implement this interface using cadvisor
2017-08-25 13:11:26 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Chao Xu
5e1adf91df
cmd/kubelet
2016-11-23 15:53:09 -08:00
Jordan Liggitt
a602ae77b8
Move kubelet api paths to constants
2016-10-25 03:40:08 -04:00
mbohlool
25afcc5522
Add +optional tag to all fields with omitempty json tag
2016-10-17 08:52:13 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
k8s-merge-robot
f1e528eab6
Merge pull request #25933 from timstclair/subcontainers
...
Automatic merge from submit-queue
Handle cAdvisor partial failures
Kubernetes side of https://github.com/google/cadvisor/issues/1286
Partially fixes https://github.com/kubernetes/kubernetes/issues/25131
(Depends on cAdvisor Godeps bump https://github.com/kubernetes/kubernetes/pull/25914 )
/cc @kubernetes/sig-node
2016-05-22 04:50:01 -07:00
Tim St. Clair
b05b419c25
Handle cAdvisor partial failures
2016-05-19 19:29:31 -07:00
Shaya Potter
ae08ef38d7
kubelet/cadvisor: Refactor cadvisor disk stat/usage interfaces
2016-05-19 11:13:47 -07:00
derekwaynecarr
22fc4340a7
Expose SummaryProvider for reuse by other parts of kubelet
2016-04-08 14:25:39 -04:00
Tim St. Clair
8cb820be0e
Set correct applicatoin/json mime type for some kubelet endpoints
2016-03-14 18:04:17 -07:00
Phillip Wittrock
3de94cd23c
Supply volume fs metrics to server/stats/handler.go
...
* Metrics will not be expose until they are hooked up to a handler
* Metrics are not cached and expose a dos vector, this must be fixed before release or the stats should not be exposed through an api endpoint
2016-02-05 16:00:24 -08:00
Phillip Wittrock
ba5be34574
Kubelet Metrics Summary Api Implementation
2016-02-04 14:05:28 -08:00
Tim St. Clair
5a0dc30b51
Add blank /stats/summary kubelet endpoint
...
Add a `/stats/summary` endpoint to the kubelet which will return an
empty Summary{} struct (json formatted), as a summary API
placeholder. Once the next cAdvisor release is vendored, the summary
API will be filled in.
2016-01-15 14:55:54 -08:00
Tim St. Clair
3c72506f10
Fixed test & error code
2016-01-07 11:55:26 -08:00
Tim St. Clair
368447ff3f
Rector kubelet stats serving
...
Changes include:
- Moving stats serving & routes to pkg/kubelet/server/stats/handler.go
- Managing the routes with restful.WebService, rather than manual
parsing
- Misc cleanup
These changes will make adding the new routes for /stats/summary more
manageable.
2016-01-06 17:37:12 -08:00