c12s-kubespray/roles/kubernetes-apps/prometheus/templates/prometheus-operator-deployment.yml.j2

24 lines
652 B
Text
Raw Normal View History

2017-02-03 22:24:39 +00:00
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 }}