Jeff Grafton
aee5f457db
update BUILD files
2017-10-15 18:18:13 -07:00
Kubernetes Submit Queue
578195873a
Merge pull request #51553 from wongma7/pvc-prometheus
...
Automatic merge from submit-queue
Expose PVC metrics via kubelet prometheus
This depends on https://github.com/kubernetes/kubernetes/pull/51448 , opening early though. second commit is mine and mostly a copy/paste job.
implements metrics listed in here https://github.com/kubernetes/community/pull/855 following method here https://github.com/kubernetes/community/pull/930#issuecomment-325509736
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: https://github.com/kubernetes/features/issues/363
**Special notes for your reviewer**:
**Release note**:
```release-note
PersistentVolumeClaim metrics like "volume_stats_inodes" and "volume_stats_capacity_bytes" are now reported via kubelet prometheus
```
2017-09-02 21:22:43 -07:00
Kubernetes Submit Queue
ddef5f1ef9
Merge pull request #51575 from derekwaynecarr/fix-stats
...
Automatic merge from submit-queue (batch tested with PRs 51590, 48217, 51209, 51575, 48627)
Skip system container cgroup stats if undefined
**What this PR does / why we need it**:
the kubelet /stats/summary endpoint tried to look up cgroup stats for containers that are not required. this polluted logs with messages about not finding stats for "" container. this pr skips cgroup stats if the cgroup name is not specified (they are optional anyway)
**Special notes for your reviewer**:
i think this was a regression from recent refactor.
**Release note**:
```release-note
NONE
```
2017-09-02 11:12:13 -07:00
Matthew Wong
dac2068bbd
Expose PVC metrics via kubelet prometheus
2017-09-01 12:50:17 -04:00
Vaibhav Kamra
1ac56d8cbb
Add PVCRef to VolumeStats
...
For pod volumes that reference a PVC, add a PVCRef to the corresponding
volume stat. This allows metrics to be indexed/queried by PVC name
which is more user-friendly than Pod reference
2017-08-29 23:12:20 -07:00
Derek Carr
ef9b398f4c
Skip system container cgroup stats if undefined
2017-08-29 20:34:50 -04:00
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
Kubernetes Submit Queue
4ac725a5ed
Merge pull request #50664 from lichuqiang/b0815
...
Automatic merge from submit-queue (batch tested with PRs 46927, 50664, 50710)
fix typo(code annotation) in resouce_analyzer of kubelet
2017-08-16 11:54:25 -07:00
lichuqiang
5bc3b6f372
fix typo
2017-08-15 16:11:36 +08:00
Kubernetes Submit Queue
f59b04b82d
Merge pull request #48739 from yguo0905/fix-dup-metrics
...
Automatic merge from submit-queue
Remove the status of the terminated containers in the summary endpoint
Ref: https://github.com/kubernetes/kubernetes/issues/47853
- When building summary, a container is considered to be terminated if it has an older creation time and no CPU instantaneous or memory RSS usage.
- We remove the terminated containers in the summary by grouping the containers with the same name in the same pod, sorting them in each group by creation time, and skipping the oldest ones with no usage in each group. Let me know if there's simpler way.
**Release note**:
```
None
```
/assign @yujuhong
2017-08-15 00:47:28 -07:00
Yang Guo
af76564e92
Remove the status of the terminated containers in the summary endpoint
2017-08-14 11:32:07 -07:00
Jeff Grafton
a7f49c906d
Use buildozer to delete licenses() rules except under third_party/
2017-08-11 09:32:39 -07:00
Jeff Grafton
33276f06be
Use buildozer to remove deprecated automanaged tags
2017-08-11 09:31:50 -07:00
Tim Allclair
a2f2e1d491
Name change: s/timstclair/tallclair/
2017-07-10 14:05:46 -07:00
Tim St. Clair
e9795e3742
Cleanup lint errors in the pkg/kubelet/server/... directory
2017-06-29 15:58:07 -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
Michael Taufen
cbad320205
Reorganize kubelet tree so apis can be independently versioned
2017-05-12 10:02:33 -07:00
Mike Danese
a05c3c0efd
autogenerated
2017-04-14 10:40:57 -07:00
David Ashpole
a90c7951d4
add volume timestamps
2017-03-02 15:01:59 -08:00
Seth Jennings
c5faf1c156
kubelet: eviction: add timestamp to FsStats
2017-03-02 11:20:24 -08: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
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Chao Xu
bcc783c594
run hack/update-all.sh
2016-11-23 15:53:09 -08:00
Chao Xu
5e1adf91df
cmd/kubelet
2016-11-23 15:53:09 -08:00
David Ashpole
d494ef66f0
Collects volume inode stats using the same find command that cadvisor uses these are included in the summary
2016-11-01 10:51:11 -07:00
David Ashpole
4ca7f9f972
deal with nil inodes and inodesfree
2016-10-31 12:10:23 -07:00
David Ashpole
b8fc546d60
eviction manager ecivts pod using the most inodes.
2016-10-31 11:32:49 -07:00
Jordan Liggitt
a602ae77b8
Move kubelet api paths to constants
2016-10-25 03:40:08 -04:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Kubernetes Submit Queue
333c045429
Merge pull request #34998 from timstclair/sysdisk
...
Automatic merge from submit-queue
Don't report FS stats for system containers in the Kubelet Summary API
Fixes https://github.com/kubernetes/kubernetes/issues/31999
2016-10-20 00:07:56 -07:00
Tim St. Clair
bd80da5822
Don't report FS stats for system containers
2016-10-17 16:57:17 -07:00
mbohlool
25afcc5522
Add +optional tag to all fields with omitempty json tag
2016-10-17 08:52:13 -07:00
Angus Salkeld
a1b2fcb10f
Disambiguate unsupported metrics from metrics errors
2016-09-15 10:05:30 +10:00
mdshuai
c3ddd882df
correct imagefs inodes value in summary stats
2016-09-08 17:19:48 +08:00
Mike Danese
39d190e983
lower loglevel of spammy warning
2016-09-02 13:34:29 -07:00
derekwaynecarr
2563696719
Add total inodes to kubelet summary api
2016-08-08 12:20:14 -04:00
bindata-mockuser
e00a35ccad
updated cadvisor version
2016-08-02 16:33:03 -07:00
Davanum Srinivas
2b0ed014b7
Use Go canonical import paths
...
Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports
Fixes #29014
2016-07-16 13:48:21 -04:00
Ron Lai
2c71ce305a
Include inode info in container summary
2016-07-11 15:53:55 -07:00
Ron Lai
e5f8cd9973
Includes the number of free indoes in summary
2016-06-30 10:05:57 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
k8s-merge-robot
db4c943f6d
Merge pull request #27800 from derekwaynecarr/fix_filename_typo
...
Automatic merge from submit-queue
Fix typo in filename
just a simple fix
2016-06-27 09:49:16 -07:00
derekwaynecarr
060e69ae92
Fix typo in filename
2016-06-21 16:56:07 -04:00
Euan Kemp
c7a60fd99a
kubelet: Remove stack alloc
...
Presumably this was accidental leftover debug info
2016-06-13 14:04:22 -07:00