1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Bump prometheus and kube-state-metrics (#2846)

- Support for running kube-state-metrics on all architectures
- Bump prometheus for security vuln. fix

Signed-off-by: Jon Stelly <967068+jonstelly@users.noreply.github.com>
This commit is contained in:
Jon Stelly 2021-05-23 23:15:55 -05:00 committed by GitHub
parent 0899ace037
commit 5372e3617e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View File

@ -54,7 +54,7 @@ spec:
mountPath: /var/lib/prometheus mountPath: /var/lib/prometheus
containers: containers:
- name: prometheus - name: prometheus
image: quay.io/prometheus/prometheus:v2.26.0 image: quay.io/prometheus/prometheus:v2.27.1
args: args:
- --web.listen-address=0.0.0.0:9090 - --web.listen-address=0.0.0.0:9090
- --config.file=/etc/prometheus/prometheus.yaml - --config.file=/etc/prometheus/prometheus.yaml

View File

@ -23,23 +23,15 @@ spec:
operator: In operator: In
values: values:
- linux - linux
- key: kubernetes.io/arch
operator: In
values:
- amd64
- matchExpressions: - matchExpressions:
- key: beta.kubernetes.io/os - key: beta.kubernetes.io/os
operator: In operator: In
values: values:
- linux - linux
- key: beta.kubernetes.io/arch
operator: In
values:
- amd64
serviceAccountName: kube-state-metrics serviceAccountName: kube-state-metrics
containers: containers:
- name: kube-state-metrics - name: kube-state-metrics
image: quay.io/coreos/kube-state-metrics:v1.9.8 image: k8s.gcr.io/kube-state-metrics/kube-state-metrics:v2.0.0
ports: ports:
- name: metrics - name: metrics
containerPort: 8080 containerPort: 8080