Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
EVEREST-694 Updated kube-state-metrics (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
gen1us2k authored Dec 20, 2023
1 parent 8801ba2 commit 92079cc
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ metadata:
labels:
app.kubernetes.io/component: exporter
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/version: 2.5.0
app.kubernetes.io/managed-by: everest
everest.percona.com/type: monitoring
app.kubernetes.io/version: 2.10.1
name: kube-state-metrics
namespace: default
roleRef:
Expand Down
22 changes: 20 additions & 2 deletions data/crds/victoriametrics/kube-state-metrics/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/managed-by: everest
everest.percona.com/type: monitoring
app.kubernetes.io/version: 2.10.1
name: kube-state-metrics
namespace: default
rules:
Expand Down Expand Up @@ -78,6 +79,13 @@ rules:
verbs:
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- list
- watch
- apiGroups:
- storage.k8s.io
resources:
Expand Down Expand Up @@ -109,13 +117,23 @@ rules:
verbs:
- list
- watch
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterrolebindings
- clusterroles
- rolebindings
- roles
verbs:
- list
- watch
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- list
- watch
- watch
- apiGroups:
- pxc.percona.com
resources:
Expand Down Expand Up @@ -164,6 +182,6 @@ rules:
resources:
- perconaservermongodbs
verbs:
- get
- get
- list
- watch
6 changes: 3 additions & 3 deletions data/crds/victoriametrics/kube-state-metrics/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ metadata:
labels:
app.kubernetes.io/component: exporter
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/version: 2.9.2
app.kubernetes.io/managed-by: everest
everest.percona.com/type: monitoring
app.kubernetes.io/version: 2.10.1
name: kube-state-metrics
namespace: default
spec:
Expand All @@ -19,11 +19,11 @@ spec:
labels:
app.kubernetes.io/component: exporter
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/version: 2.9.2
app.kubernetes.io/version: 2.10.1
spec:
automountServiceAccountToken: true
containers:
- image: registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2
- image: registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.10.1
args:
- --metric-labels-allowlist=pods=[app.kubernetes.io/component,app.kubernetes.io/instance,app.kubernetes.io/managed-by,app.kubernetes.io/name,app.kubernetes.io/part-of],persistentvolumeclaims=[app.kubernetes.io/component,app.kubernetes.io/instance,app.kubernetes.io/managed-by,app.kubernetes.io/name,app.kubernetes.io/part-of],jobs=[app.kubernetes.io/component,app.kubernetes.io/instance,app.kubernetes.io/managed-by,app.kubernetes.io/name,app.kubernetes.io/part-of]
livenessProbe:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
labels:
app.kubernetes.io/component: exporter
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/version: 2.5.0
app.kubernetes.io/managed-by: everest
everest.percona.com/type: monitoring
app.kubernetes.io/version: 2.10.1
name: kube-state-metrics
namespace: default
4 changes: 2 additions & 2 deletions data/crds/victoriametrics/kube-state-metrics/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ metadata:
labels:
app.kubernetes.io/component: exporter
app.kubernetes.io/name: kube-state-metrics
app.kubernetes.io/version: 2.5.0
app.kubernetes.io/managed-by: everest
everest.percona.com/type: monitoring
app.kubernetes.io/version: 2.10.1
name: kube-state-metrics
namespace: default
spec:
clusterIP: None
type: ClusterIP
ports:
- name: http-metrics
port: 8080
Expand Down

0 comments on commit 92079cc

Please sign in to comment.