show lens-metrics on cluster settings

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2021-05-06 17:00:39 +03:00
1 parent 7b1b8e6321
commit 8b0b7fcbb2
18 files changed
+311 -84

No files matched your search

@@ -0,0 +1,18 @@
{{#if prometheus.enabled}}
apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: lens-metrics
annotations:
prometheus.io/scrape: 'true'
spec:
type: ClusterIP
selector:
name: prometheus
ports:
- name: web
protocol: TCP
port: 80
targetPort: 9090
{{/if}}