From 0e94708fd879e2d3ec523c3f3d47093b16314bb1 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Sat, 27 Apr 2019 20:46:31 -0700 Subject: [PATCH] Update kube-state-metrics from v1.5.0 to v1.6.0-rc.2 * Collect metrics Ingress resources * Collects metrics about certificates.k8s.io certificatesigningrequests * https://github.com/kubernetes/kube-state-metrics/releases/tag/v1.6.0-rc.2 --- CHANGES.md | 1 + .../exporters/kube-state-metrics/cluster-role.yaml | 8 ++++++++ .../exporters/kube-state-metrics/deployment.yaml | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 348d70d4..b59d13c8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,7 @@ Notable changes between versions. #### Addons * Update Prometheus from v2.8.1 to v2.9.2 + * Update kube-state-metrics from v1.5.0 to v1.6.0-rc.2 * Update Grafana from v6.1.3 to v6.1.4 ## v1.14.1 diff --git a/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml b/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml index 1b3f2cde..6cd144b7 100644 --- a/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml +++ b/addons/prometheus/exporters/kube-state-metrics/cluster-role.yaml @@ -27,6 +27,7 @@ rules: - daemonsets - deployments - replicasets + - ingresses verbs: - list - watch @@ -62,3 +63,10 @@ rules: verbs: - list - watch +- apiGroups: + - certificates.k8s.io + resources: + - certificatesigningrequests + verbs: + - list + - watch diff --git a/addons/prometheus/exporters/kube-state-metrics/deployment.yaml b/addons/prometheus/exporters/kube-state-metrics/deployment.yaml index 598b0f57..ac23bb94 100644 --- a/addons/prometheus/exporters/kube-state-metrics/deployment.yaml +++ b/addons/prometheus/exporters/kube-state-metrics/deployment.yaml @@ -24,7 +24,7 @@ spec: serviceAccountName: kube-state-metrics containers: - name: kube-state-metrics - image: quay.io/coreos/kube-state-metrics:v1.5.0 + image: quay.io/coreos/kube-state-metrics:v1.6.0-rc.2 ports: - name: metrics containerPort: 8080