c12s-kubespray/roles/kubernetes-apps/prometheus/templates/prometheus-k8s-service.yml.j2

15 lines
213 B
Text
Raw Normal View History

2017-02-03 22:24:39 +00:00
apiVersion: v1
kind: Service
metadata:
name: prometheus-k8s
spec:
type: NodePort
ports:
- name: web
nodePort: 30900
port: 9090
protocol: TCP
targetPort: web
selector:
prometheus: k8s