23 lines
652 B
Django/Jinja
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 }}
|