From 296b92dbd47b5b54fb94cc6ef4fced2823f9e7d8 Mon Sep 17 00:00:00 2001 From: Samuel Vandamme Date: Thu, 12 Apr 2018 11:41:36 +0200 Subject: [PATCH] Replaced 'mem' with 'memory/ in elasticsearch and kibana deployment --- .../elasticsearch/templates/elasticsearch-deployment.yml.j2 | 4 ++-- .../efk/kibana/templates/kibana-deployment.yml.j2 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/kubernetes-apps/efk/elasticsearch/templates/elasticsearch-deployment.yml.j2 b/roles/kubernetes-apps/efk/elasticsearch/templates/elasticsearch-deployment.yml.j2 index ee2eb8b21..4cdcf33ad 100644 --- a/roles/kubernetes-apps/efk/elasticsearch/templates/elasticsearch-deployment.yml.j2 +++ b/roles/kubernetes-apps/efk/elasticsearch/templates/elasticsearch-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 diff --git a/roles/kubernetes-apps/efk/kibana/templates/kibana-deployment.yml.j2 b/roles/kubernetes-apps/efk/kibana/templates/kibana-deployment.yml.j2 index 4fdf54c04..c5603d389 100644 --- a/roles/kubernetes-apps/efk/kibana/templates/kibana-deployment.yml.j2 +++ b/roles/kubernetes-apps/efk/kibana/templates/kibana-deployment.yml.j2 @@ -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"