mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
show lens-metrics on cluster settings
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
7b1b8e6321
commit
8b0b7fcbb2
18 files changed
+311
-84
No files matched your search
+2
@@ -1,3 +1,4 @@
|
||||
{{#if prometheus.enabled}}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
@@ -14,3 +15,4 @@ spec:
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 9090
|
||||
{{/if}}
|
||||
@@ -1,3 +1,4 @@
|
||||
{{#if prometheus.enabled}}
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
@@ -53,7 +54,7 @@ spec:
|
||||
mountPath: /var/lib/prometheus
|
||||
containers:
|
||||
- name: prometheus
|
||||
image: quay.io/prometheus/prometheus:v2.19.3
|
||||
image: quay.io/prometheus/prometheus:v2.20.1
|
||||
args:
|
||||
- --web.listen-address=0.0.0.0:9090
|
||||
- --config.file=/etc/prometheus/prometheus.yaml
|
||||
@@ -114,3 +115,4 @@ spec:
|
||||
requests:
|
||||
storage: {{persistence.size}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
Reference in new issue
Block a user