rpi.carlosedp.cluster-monit.../manifests/prometheus-service.yaml

17 lines
260 B
YAML
Raw Normal View History

2018-03-02 01:03:53 +01:00
apiVersion: v1
kind: Service
metadata:
labels:
prometheus: k8s
name: prometheus-k8s
namespace: monitoring
2018-03-02 01:03:53 +01:00
spec:
ports:
- name: web
port: 9090
targetPort: web
selector:
app: prometheus
2018-03-02 01:03:53 +01:00
prometheus: k8s
2019-02-01 14:52:53 +01:00
sessionAffinity: ClientIP