Files
k3s-cluster/monitoring/prometheus-service.yaml

17 lines
253 B
YAML
Raw Normal View History

2026-01-24 18:24:16 +01:00
apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: monitoring
labels:
app: prometheus
spec:
type: ClusterIP
ports:
- port: 9090
targetPort: 9090
protocol: TCP
name: web
selector:
app: prometheus