Commit Graph

81 Commits

Author SHA1 Message Date
AdamDang 27b0d4dc3f
Typo fix:PersistentVolumeClaim->PersistentVolume
In the file persistentvolume-metrics.md, the title is # PersistentVolumeClaim Metrics, here should be # PersistentVolume Metrics
2018-07-06 15:29:59 +08:00
Andy Xie bcb230560f bump kubernetes to 1.11 2018-07-03 01:10:57 +08:00
zouyee 06a8d6dfd3 doc check exclued README and introduce doc tree 2018-06-15 10:43:29 +08:00
zouyee 4e79291c93 Information sinking 2018-06-15 06:24:55 +08:00
zouyee 68a8e77653 make status expression standardization 2018-06-12 09:33:27 +08:00
Andy Xie cc9604ad5f add generic node resource capacity and allocatable 2018-05-28 13:23:43 +08:00
Gabi Davar 573df5d0d7 remove namepspace reference from persistentvolumes docs. 2018-05-26 20:13:29 +03:00
Andy Xie 14ba135253 add generic pod resource request and limit 2018-05-17 13:20:53 +08:00
k8s-ci-robot f008e7d004
Merge pull request #433 from mwhittington21/mwhittington/1-add-time-to-schedule-start-metrics
Adds time_to_schedule and time_to_start metrics
2018-04-21 05:38:00 -07:00
Matt Whittington 1a6b869af4 Fix formatting for new metric in pod metrics table 2018-04-20 10:12:43 +10:00
Matt Whittington e4d521bc3f Adds kube_pod_status_scheduled_time metric
This metric reports timestamp when a pod was scheduled. Metric is tested
and documented.
2018-04-19 11:10:43 +10:00
Patrick Decat 498638a3eb
Fix markdown rendering of possible reason tag values
The rendered lists of possible reason tag values are truncated after the first element for the `kube_pod_container_status_terminated_reason` and `kube_pod_container_status_waiting_reason` metrics.

The pipe character needs escaping as already done for other metrics, e.g. `kube_pod_status_phase`.
2018-04-18 14:16:22 +02:00
Tomas Dohnalek ae6e25d728
Extended e2e tests.
* Refactored kube_job_status_start_time & kube_job_status_completion_time to Gauge.
 * e2e script moved to tests directory.
 * Added options for e2e testsuite.
 * Cleanun function in e2e.
2018-04-12 18:10:18 +02:00
k8s-ci-robot 4e4ae93d28
Merge pull request #391 from derekwaynecarr/node-taints
Add metrics for node taints
2018-03-14 07:12:03 -07:00
k8s-ci-robot 79de1f9474
Merge pull request #386 from andyxning/update_doc
update namespace doc
2018-03-13 19:12:32 -07:00
aramalipoor ccf053e9f2 collectors: Report pod's completion time 2018-03-13 01:15:23 +03:30
Derek Carr 7982838ce6 Add metrics for node taints 2018-03-10 13:23:08 -05:00
Tristan Colgate cf32f10efd Add Pod persistentvolumeclaim binding information.
This introduces two metrics that are useful when monitoring disk usage
of a pod. They allow you to determine the persistentvolumeclaims
associated with a specific pod, and how they are bound.

Without this pods can only be loosely associated with volumes through
labels.

I looked at providing metrics on other attached volume types, however
this is not useful at this time as the kubelet only exports statistics
for PVC mounted volumes. Most volumes can/should be mounted via a PVC
anyway so this is a relatively minor limitation.
2018-03-09 08:44:26 +00:00
k8s-ci-robot 33161c8563
Merge pull request #385 from tcolgate/master
Add _labels for pv and pvc.
2018-03-08 18:23:12 -08:00
Andy Xie bdb00248be update namespace doc 2018-03-08 22:12:47 +08:00
k8s-ci-robot 2182f27b61
Merge pull request #383 from pickledrick/master
Add annotations to namespace collector
2018-03-08 05:43:58 -08:00
Peter Grant 28f0887625 Add annotations to namespace collector 2018-03-08 13:19:48 +01:00
Tristan Colgate fbcf998e8a Add _labels for pv and pvc.
This adds kube_persistentvolume_labels, and
kube_persistentvolumeclaim_lables. These are useful for associating the
pv and pvc with the app they were deployed for (via labels)
2018-03-08 10:27:23 +00:00
Hang Yan 2e2f16ff06 Support deployment MaxSurge metrics 2018-03-08 17:00:38 +08:00
Gabi Davar 9393dd24f8 docs 2018-03-03 23:15:39 +02:00
Andy Xie 4b6ee09141 add secret and configmap metrics 2018-03-01 11:41:50 +08:00
John T Skarbek b4befd505a
Adds additional container waiting reasons
* Adds:
  * `CrashLoopBackOff`
  * `ImagePullBackOff`
* Also adds testing for the existing `ErrImagePull`
2018-01-25 21:22:04 -05:00
Andy Xie c797923132 revert componentstatus 2018-01-05 21:18:23 +08:00
jordigilh bdb3f96897 Add Endpoint collector 2017-12-20 13:48:55 -05:00
Evan Zeimet 4a4227e034 Add documentation for kube_job_labels and kube_cronjob_labels 2017-12-08 12:24:34 -06:00
zouyee 5452f06393 add componentstatus metrics 2017-12-04 20:57:19 +08:00
zouyee 4eb3169e3d add persistentvolume 2017-12-03 23:43:42 +08:00
zouyee bb5a0508f2 add service type 2017-12-03 19:41:49 +08:00
zouyee f4cf0403ef daemonset status info 2017-12-02 13:10:19 +08:00
Frederic Branczyk b26cfb26fe
Merge pull request #282 from andyxning/add_simple_e2e_test
Add simple e2e test
2017-11-06 08:56:59 +01:00
Andy Xie bd621e00c0 Merge branch 'add_simple_e2e_test' of github.com:andyxning/kube-state-metrics into add_simple_e2e_test 2017-11-06 13:48:29 +08:00
Mike Bryant 535821cf19 Add StatefulSet replica detail metrics 2017-11-01 18:12:13 +00:00
Frederic Branczyk 0e96be106a Merge pull request #230 from joemiller/hpa-metrics
implement horizontal pod autoscaler (HPA) metrics
2017-10-23 16:41:13 +02:00
Ning Xie b95851412c Merge pull request #274 from svend/volume-name
Add volumename label to persistentvolumeclaim_info metric
2017-10-19 21:14:16 -05:00
Carlos Alexandro Becker 9317c7c499
typo 2017-10-17 14:51:09 -02:00
Carlos Alexandro Becker b31450ca96
added ContainerCannotRun state as well 2017-10-17 14:44:55 -02:00
Carlos Alexandro Becker 6c0cc43b1d
added termination reason metric 2017-10-17 14:42:20 -02:00
Svend Sorensen 1c0d2f8029 Move volumename label to correct metric (persistentvolumeclaim_info) in docs 2017-10-16 10:06:15 -07:00
Svend Sorensen cd2581ff7e Add persistentvolumeclaim_info volumename label to documentation 2017-10-12 11:34:13 -07:00
joe miller 703eccf39f
implement horizontal pod autoscaler (HPA) metrics 2017-10-10 10:43:51 -07:00
Carlos Alexandro Becker 80e5e1765a
added docs 2017-09-26 10:37:20 -03:00
lg e1661fddfc add nvidia gpu monitoring 2017-09-04 17:48:35 +08:00
Frederic Branczyk 29f43afa56 Merge pull request #241 from chlunde/doc
Add check for missing documentation
2017-08-25 11:06:58 +02:00
Frederic Branczyk ce6ea0bd21 Merge pull request #226 from cofyc/pvc
Add PVC requested storage metric and storageclass label
2017-08-24 14:12:55 +02:00
Yecheng Fu aa8aa440de Remove storageclass from other metrics.
Add `_bytes` suffix to capacity metric.
2017-08-24 07:50:57 +00:00