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

21 lines
535 B
Django/Jinja

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: heapster
namespace: "{{ heapster_namespace }}"
spec:
replicas: 1
template:
metadata:
labels:
task: monitoring
k8s-app: heapster
spec:
containers:
- name: heapster
image: "{{ heapster_image_repo }}:{{ heapster_image_tag }}"
imagePullPolicy: IfNotPresent
command:
- /heapster
- --source=kubernetes:https://kubernetes.default
- --sink=influxdb:http://monitoring-influxdb:8086