mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
[service-monitor] Update armexporter w/ label to be picked up by ServiceMonitor.
This commit is contained in:
parent
fcb30aea73
commit
850045c814
@ -1,17 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: node-exporter
|
|
||||||
k8s-app: node-exporter
|
|
||||||
name: node-exporter
|
|
||||||
spec:
|
|
||||||
type: ClusterIP
|
|
||||||
clusterIP: None
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: 9100
|
|
||||||
protocol: TCP
|
|
||||||
selector:
|
|
||||||
app: node-exporter
|
|
||||||
|
|
@ -1,10 +1,14 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
|
namespace: monitoring
|
||||||
labels:
|
labels:
|
||||||
|
app: arm-exporter
|
||||||
k8s-app: arm-exporter
|
k8s-app: arm-exporter
|
||||||
name: arm-exporter
|
name: arm-exporter
|
||||||
spec:
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
clusterIP: None
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
port: 9243
|
port: 9243
|
||||||
|
Loading…
Reference in New Issue
Block a user