Gluttony-Cluster/prometheus/prometheus-service.yaml

17 lines
252 B
YAML
Raw Normal View History

2023-11-11 04:18:05 +00:00
apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: prometheus-ns
labels:
app: prometheus
spec:
2023-11-11 04:20:02 +00:00
type: LoadBalancer
2023-11-11 04:18:05 +00:00
ports:
- port: 9090
targetPort: 9090
protocol: TCP
name: http
selector:
app: prometheus