Browse Source
Merge pull request #2653 from kidk/fixed-incorrect-mem-tag
Replaced 'mem' with 'memory/ in elasticsearch and kibana deployment
pull/2726/head
Andreas Krüger
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
4 deletions
-
roles/kubernetes-apps/efk/elasticsearch/templates/elasticsearch-deployment.yml.j2
-
roles/kubernetes-apps/efk/kibana/templates/kibana-deployment.yml.j2
|
|
@ -30,12 +30,12 @@ spec: |
|
|
|
limits: |
|
|
|
cpu: {{ elasticsearch_cpu_limit }} |
|
|
|
{% if elasticsearch_mem_limit is defined and elasticsearch_mem_limit != "0M" %} |
|
|
|
mem: {{ elasticsearch_mem_limit }} |
|
|
|
memory: "{{ elasticsearch_mem_limit }}" |
|
|
|
{% endif %} |
|
|
|
requests: |
|
|
|
cpu: {{ elasticsearch_cpu_requests }} |
|
|
|
{% if elasticsearch_mem_requests is defined and elasticsearch_mem_requests != "0M" %} |
|
|
|
mem: {{ elasticsearch_mem_requests }} |
|
|
|
memory: "{{ elasticsearch_mem_requests }}" |
|
|
|
{% endif %} |
|
|
|
ports: |
|
|
|
- containerPort: 9200 |
|
|
|
|
|
@ -26,12 +26,12 @@ spec: |
|
|
|
limits: |
|
|
|
cpu: {{ kibana_cpu_limit }} |
|
|
|
{% if kibana_mem_limit is defined and kibana_mem_limit != "0M" %} |
|
|
|
mem: {{ kibana_mem_limit }} |
|
|
|
memory: "{{ kibana_mem_limit }}" |
|
|
|
{% endif %} |
|
|
|
requests: |
|
|
|
cpu: {{ kibana_cpu_requests }} |
|
|
|
{% if kibana_mem_requests is defined and kibana_mem_requests != "0M" %} |
|
|
|
mem: {{ kibana_mem_requests }} |
|
|
|
memory: "{{ kibana_mem_requests }}" |
|
|
|
{% endif %} |
|
|
|
env: |
|
|
|
- name: "ELASTICSEARCH_URL" |
|
|
|