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

17 lines
243 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
spec:
type: NodePort
ports:
- name: web
nodePort: 30900
port: 9090
protocol: TCP
targetPort: web
selector:
prometheus: k8s