summaryrefslogtreecommitdiffstats
path: root/kubernetes/pomba/charts/pomba-kibana
diff options
context:
space:
mode:
authorjmac <james.macnider@amdocs.com>2018-10-11 12:21:54 +0000
committerjmac <james.macnider@amdocs.com>2018-10-23 13:04:56 +0000
commitaf645b57657cdfba0ed9e6167bf74ed17e6e21d1 (patch)
tree1dd874ac7ac1f63015376d296dc22253df5e132a /kubernetes/pomba/charts/pomba-kibana
parentfc677231787da26605d9c4d5fb1ecd9ff1150fec (diff)
Add missing resource limits to POMBA pods
Add missing pod dependencies Change-Id: Id976b00e6e0d0c325d93f3e3b77b757e2c72b378 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-1465
Diffstat (limited to 'kubernetes/pomba/charts/pomba-kibana')
-rw-r--r--kubernetes/pomba/charts/pomba-kibana/templates/deployment.yaml1
-rw-r--r--kubernetes/pomba/charts/pomba-kibana/values.yaml37
2 files changed, 20 insertions, 18 deletions
diff --git a/kubernetes/pomba/charts/pomba-kibana/templates/deployment.yaml b/kubernetes/pomba/charts/pomba-kibana/templates/deployment.yaml
index e87a04faba..a4602e313c 100644
--- a/kubernetes/pomba/charts/pomba-kibana/templates/deployment.yaml
+++ b/kubernetes/pomba/charts/pomba-kibana/templates/deployment.yaml
@@ -45,6 +45,7 @@ spec:
image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-readiness
+ containers:
- args:
- --output=http://{{.Values.config.elasticsearchServiceName}}.{{ include "common.namespace" . }}:{{.Values.config.elasticsearchPort}}/.kibana
- --input=/config/default-mapping.json
diff --git a/kubernetes/pomba/charts/pomba-kibana/values.yaml b/kubernetes/pomba/charts/pomba-kibana/values.yaml
index 5f553e40d8..a6ee772d9b 100644
--- a/kubernetes/pomba/charts/pomba-kibana/values.yaml
+++ b/kubernetes/pomba/charts/pomba-kibana/values.yaml
@@ -78,21 +78,22 @@ service:
ingress:
enabled: false
-resources: {}
- # We usually recommend not to specify default resources and to leave this as a conscious
- # choice for the user. This also increases chances charts run on environments with little
- # resources, such as Minikube. If you do want to specify resources, uncomment the following
- # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
- #
- # Example:
- # Configure resource requests and limits
- # ref: http://kubernetes.io/docs/user-guide/compute-resources/
- # Minimum memory for development is 2 CPU cores and 4GB memory
- # Minimum memory for production is 4 CPU cores and 8GB memory
-#resources:
-# limits:
-# cpu: 2
-# memory: 4Gi
-# requests:
-# cpu: 2
-# memory: 4Gi
+# Resource Limit flavor -By Default using small
+flavor: small
+# Segregation for Different environment (Small and Large)
+resources:
+ small:
+ limits:
+ cpu: 2
+ memory: 1200Mi
+ requests:
+ cpu: 1
+ memory: 600Mi
+ large:
+ limits:
+ cpu: 4
+ memory: 2400Mi
+ requests:
+ cpu: 2
+ memory: 1200Mi
+ unlimited: {}