21 lines
535 B
Django/Jinja
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
|