Replaced 'mem' with 'memory/ in elasticsearch and kibana deployment
This commit is contained in:
parent
b2756d148a
commit
296b92dbd4
2 changed files with 4 additions and 4 deletions
|
@ -30,12 +30,12 @@ spec:
|
||||||
limits:
|
limits:
|
||||||
cpu: {{ elasticsearch_cpu_limit }}
|
cpu: {{ elasticsearch_cpu_limit }}
|
||||||
{% if elasticsearch_mem_limit is defined and elasticsearch_mem_limit != "0M" %}
|
{% if elasticsearch_mem_limit is defined and elasticsearch_mem_limit != "0M" %}
|
||||||
mem: {{ elasticsearch_mem_limit }}
|
memory: "{{ elasticsearch_mem_limit }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
requests:
|
requests:
|
||||||
cpu: {{ elasticsearch_cpu_requests }}
|
cpu: {{ elasticsearch_cpu_requests }}
|
||||||
{% if elasticsearch_mem_requests is defined and elasticsearch_mem_requests != "0M" %}
|
{% if elasticsearch_mem_requests is defined and elasticsearch_mem_requests != "0M" %}
|
||||||
mem: {{ elasticsearch_mem_requests }}
|
memory: "{{ elasticsearch_mem_requests }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9200
|
- containerPort: 9200
|
||||||
|
|
|
@ -26,12 +26,12 @@ spec:
|
||||||
limits:
|
limits:
|
||||||
cpu: {{ kibana_cpu_limit }}
|
cpu: {{ kibana_cpu_limit }}
|
||||||
{% if kibana_mem_limit is defined and kibana_mem_limit != "0M" %}
|
{% if kibana_mem_limit is defined and kibana_mem_limit != "0M" %}
|
||||||
mem: {{ kibana_mem_limit }}
|
memory: "{{ kibana_mem_limit }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
requests:
|
requests:
|
||||||
cpu: {{ kibana_cpu_requests }}
|
cpu: {{ kibana_cpu_requests }}
|
||||||
{% if kibana_mem_requests is defined and kibana_mem_requests != "0M" %}
|
{% if kibana_mem_requests is defined and kibana_mem_requests != "0M" %}
|
||||||
mem: {{ kibana_mem_requests }}
|
memory: "{{ kibana_mem_requests }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
env:
|
env:
|
||||||
- name: "ELASTICSEARCH_URL"
|
- name: "ELASTICSEARCH_URL"
|
||||||
|
|
Loading…
Reference in a new issue