c12s-kubespray/roles/kubernetes-apps/prometheus/templates/prometheus-operator-deployment.yml.j2
2017-02-28 07:59:58 -06:00

23 lines
652 B
Django/Jinja

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: prometheus-operator
labels:
operator: prometheus
spec:
replicas: 1
template:
metadata:
labels:
operator: prometheus
spec:
containers:
- name: prometheus-operator
image: "{{ prometheus_operator_image_repo }}:{{ prometheus_operator_image_tag }}"
resources:
requests:
cpu: {{ prometheus_operator_cpu_requests }}
memory: {{ prometheus_operator_mem_requests }}
limits:
cpu: {{ prometheus_operator_cpu_limit }}
memory: {{ prometheus_operator_mem_limit }}