K3s-cluster/monitoring/prometheus/service.yaml

14 lines
210 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
name: prometheus-svc
namespace: monitoring
spec:
ports:
- name: http
port: 9090
protocol: TCP
targetPort: 9090
selector:
app: prometheus