diff options
Diffstat (limited to 'kubernetes/log/charts/log-elasticsearch')
-rw-r--r-- | kubernetes/log/charts/log-elasticsearch/templates/deployment.yaml | 2 | ||||
-rw-r--r-- | kubernetes/log/charts/log-elasticsearch/values.yaml | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/kubernetes/log/charts/log-elasticsearch/templates/deployment.yaml b/kubernetes/log/charts/log-elasticsearch/templates/deployment.yaml index 5ff01b8274..fcbe643dc7 100644 --- a/kubernetes/log/charts/log-elasticsearch/templates/deployment.yaml +++ b/kubernetes/log/charts/log-elasticsearch/templates/deployment.yaml @@ -60,7 +60,7 @@ spec: image: "{{ .Values.global.loggingRepository | default .Values.loggingRepository }}/{{ .Values.image }}" imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} resources: -{{ toYaml (pluck .Values.flavor .Values.resources| first) | indent 12 }} +{{ include "common.resources" . | indent 12 }} ports: - containerPort: {{ .Values.service.internalPort }} name: {{ .Values.service.name }} diff --git a/kubernetes/log/charts/log-elasticsearch/values.yaml b/kubernetes/log/charts/log-elasticsearch/values.yaml index 3a621f9be8..9c3525aec8 100644 --- a/kubernetes/log/charts/log-elasticsearch/values.yaml +++ b/kubernetes/log/charts/log-elasticsearch/values.yaml @@ -95,7 +95,7 @@ service: ingress: enabled: false -# Resource Limit flavor -By Default using small +# Resource Limit flavor -By Default using small flavor: small # Segregation for Different environment (Small and Large) resources: @@ -112,4 +112,5 @@ resources: memory: 8Gi requests: cpu: 1 - memory: 4Gi
\ No newline at end of file + memory: 4Gi + unlimited: {}
\ No newline at end of file |