21 lines
492 B
YAML
21 lines
492 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/component: exporter
|
|
app.kubernetes.io/name: node-exporter
|
|
app.kubernetes.io/part-of: kube-prometheus
|
|
app.kubernetes.io/version: 1.3.1
|
|
name: node-exporter
|
|
namespace: monitoring
|
|
spec:
|
|
clusterIP: None
|
|
ports:
|
|
- name: https
|
|
port: 9100
|
|
targetPort: https
|
|
selector:
|
|
app.kubernetes.io/component: exporter
|
|
app.kubernetes.io/name: node-exporter
|
|
app.kubernetes.io/part-of: kube-prometheus
|