Commit Graph

22 Commits

Author SHA1 Message Date
Frederic Branczyk a643863474 *: Cut v1.9.4 2020-02-04 21:53:21 -08:00
asidorovj f5729a5ccb add leases collector 2020-01-30 08:31:01 +03:00
Frederic Branczyk af671c3357
Merge remote-tracking branch 'upstream/release-1.9' into pull-in-1.9.3 2020-01-22 17:53:35 +01:00
Oleg Mayko 7977a4af04 Regenerate examples 2020-01-22 15:06:16 +01:00
Lili Cosic e6870fc092 *: Cut v1.9.3 release 2020-01-22 11:28:09 +01:00
Lili Cosic bea6068626 *: Cut v1.9.2 release 2020-01-14 10:06:57 +01:00
Lili Cosic 845881768d *: Cut v1.9.2 release 2020-01-13 16:57:03 +01:00
Lili Cosic bf7f061ce9 *: Cut 1.9.1 release 2020-01-10 12:54:28 +01:00
Lili Cosic 8acc285a5c *: Cut 1.9.1 release 2020-01-10 12:02:12 +01:00
Lili Cosic c05fb42d6b examples,scripts: Generate examples 2019-12-20 15:55:31 +01:00
Lili Cosic f32a4ce70a examples/: Regenerate examples 2019-12-20 15:55:31 +01:00
Tariq Ibrahim a5f9d167e5 *: cut v1.9.0-rc.0 2019-12-20 15:55:30 +01:00
Lili Cosic e05d725194 examples,scripts: Generate examples 2019-12-20 15:15:52 +01:00
Lili Cosic 5427afb726 examples/: Regenerate examples 2019-12-12 16:19:17 +01:00
Lili Cosic 5a0dbdfa5a
examples/prometheus-alerting-rules/alerts.yaml: Add two error rate
alerting rules for kube-state-metrics.

(cherry picked from commit f97305c36b)
2019-12-04 22:12:15 -08:00
Tariq Ibrahim bc81737713
*: cut v1.9.0-rc.0 2019-12-04 21:47:27 -08:00
Lili Cosic f97305c36b examples/prometheus-alerting-rules/alerts.yaml: Add two error rate
alerting rules for kube-state-metrics.
2019-12-05 04:00:47 +01:00
Tariq Ibrahim ea4c2eb764
Merge branch 'master' into networkpolicy-collector 2019-10-17 10:10:45 -07:00
Miles Bryant e780fc34f3
store: export NetworkPolicy objects 2019-10-17 11:49:29 +01:00
Jens Erat 4e637854a2
add VolumeAttachment collector
Kubernetes has a new resource type: `VolumeAttachments`. They provide
helpful information on where a volume is attached and to alert on
unexpected attachment status (for example, differences between
information scraped from node-exporter and kube-state-metrics).

The collector adds a bunch of new metrics. Each VolumeAttachment (ie.,
each CSI-attached volume) will have one of each, so we do not overly
pollute the metrics space. Most metrics are rather unsurprising.

- `kube_volumeattachment_status_attachment_metadata`: provides a
  label-like export of the attachment metadata map. Generalizing the
  label-conversion function slightly helps at providing this metric.
- `kube_volumeattachment_created`: as VolumeAttachments are
  automatically created and we already suffered from duplicate
  `VolumeAttachments`, this can be invaluable for debugging
  misattachments.
- `kube_volumeattachment_spec_source_persistentvolume`: will only be
  generated when the volume source is of `PersistentVolume` type. The
  other type `inlineVolumeSpec` is still alpha-level and hard to map to
  metrics.

No end-to-end test manifest was added, as `VolumeAttachment`s are
automatically generated when mounting volumes.

Signed-off-by: Jens Erat <email@jenserat.de>
2019-10-13 21:36:50 +02:00
Nataly Sheinin 99623defbe
add mutatingwebhookconfiguration, validatingwebhookconfiguration metrics 2019-10-03 14:23:18 -04:00
Frederic Branczyk 994772a2e4
*: Generate all manifests
Sharding and autosharding introduced a number of manifests that are
very similar, but not identical to the standard manifests. This
introduces generating all manifests using jsonnet and moves them to
the explicit `/examples` directory.
2019-10-02 10:35:06 +02:00