mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
update metrics stack components
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
2943175dd1
commit
6d651c441a
@ -2,5 +2,3 @@ apiVersion: v1
|
|||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: lens-metrics
|
name: lens-metrics
|
||||||
labels:
|
|
||||||
app: lens-metrics
|
|
||||||
|
|||||||
@ -47,14 +47,14 @@ spec:
|
|||||||
serviceAccountName: prometheus
|
serviceAccountName: prometheus
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: chown
|
- name: chown
|
||||||
image: docker.io/alpine:3.9
|
image: docker.io/alpine:3.12
|
||||||
command: ["chown", "-R", "65534:65534", "/var/lib/prometheus"]
|
command: ["chown", "-R", "65534:65534", "/var/lib/prometheus"]
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /var/lib/prometheus
|
mountPath: /var/lib/prometheus
|
||||||
containers:
|
containers:
|
||||||
- name: prometheus
|
- name: prometheus
|
||||||
image: quay.io/prometheus/prometheus:v2.20.1
|
image: quay.io/prometheus/prometheus:v2.26.0
|
||||||
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
|
||||||
|
|||||||
@ -41,7 +41,7 @@ spec:
|
|||||||
hostPID: true
|
hostPID: true
|
||||||
containers:
|
containers:
|
||||||
- name: node-exporter
|
- name: node-exporter
|
||||||
image: quay.io/prometheus/node-exporter:v1.0.1
|
image: quay.io/prometheus/node-exporter:v1.1.2
|
||||||
args:
|
args:
|
||||||
- --path.procfs=/host/proc
|
- --path.procfs=/host/proc
|
||||||
- --path.sysfs=/host/sys
|
- --path.sysfs=/host/sys
|
||||||
|
|||||||
@ -39,7 +39,7 @@ spec:
|
|||||||
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.7
|
image: quay.io/coreos/kube-state-metrics:v1.9.8
|
||||||
ports:
|
ports:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: 8080
|
containerPort: 8080
|
||||||
@ -52,7 +52,7 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 150Mi
|
memory: 32Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
memory: 150Mi
|
memory: 150Mi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user