c12s-kubespray/roles/kubernetes-apps/heapster/templates/influxdb-svc.yml.j2
2017-04-12 13:27:27 +02:00

17 lines
492 B
Django/Jinja

apiVersion: v1
kind: Service
metadata:
labels:
task: monitoring
# For use as a Cluster add-on (https://github.com/kubernetes/kubernetes/tree/master/cluster/addons)
# If you are NOT using this as an addon, you should comment out this line.
kubernetes.io/cluster-service: 'true'
kubernetes.io/name: monitoring-influxdb
name: monitoring-influxdb
namespace: "{{ heapster_namespace }}"
spec:
ports:
- port: 8086
targetPort: 8086
selector:
k8s-app: influxdb