diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-10-27 16:57:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-10-27 16:57:17 +0000 |
commit | 376643f2c2e6695f89cd24e22f4a34599133a225 (patch) | |
tree | af5717c38daf9ef9fa9e3086c186cf9ab8f58554 /kubernetes/common/elasticsearch | |
parent | efa126367af5424a234a211a1420e891f5ea2117 (diff) | |
parent | 447735b4bdc8821f866c329dc7406ec6d7c65111 (diff) |
Merge "[COMMON] Add limits to Elasticsearch"
Diffstat (limited to 'kubernetes/common/elasticsearch')
-rw-r--r-- | kubernetes/common/elasticsearch/components/master/values.yaml | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/kubernetes/common/elasticsearch/components/master/values.yaml b/kubernetes/common/elasticsearch/components/master/values.yaml index 23302335ea..b606c3ed6e 100644 --- a/kubernetes/common/elasticsearch/components/master/values.yaml +++ b/kubernetes/common/elasticsearch/components/master/values.yaml @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. - ################################################################# # Global configuration defaults. ################################################################# @@ -41,7 +40,7 @@ name: master ## replicaCount: 3 ## master acts as master only node, choose 'no' if no further data nodes are deployed) -dedicatednode: "yes" +dedicatednode: 'yes' ## dedicatednode: "no" image: bitnami/elasticsearch:7.6.1 ## Specify a imagePullPolicy @@ -102,12 +101,14 @@ 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. - limits: {} + limits: + cpu: 25m + memory: 1Gi # cpu: 100m # memory: 128Mi requests: - cpu: 25m - memory: 256Mi + cpu: 5m + memory: 310Mi ## Elasticsearch master-eligible container's liveness and readiness probes ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes ## @@ -160,13 +161,13 @@ persistence: ## Service parameters for master-eligible node(s) ## service: - suffix: "service" - name: "" + suffix: 'service' + name: '' ## list of ports for "common.containerPorts" ## Elasticsearch transport port ports: - - name: http-transport - port: 9300 + - name: http-transport + port: 9300 ## master-eligible service type ## type: ClusterIP @@ -192,10 +193,6 @@ serviceAccount: ## If not set and create is true, a name is generated using the fullname template # name: - ## Elasticsearch cluster name ## clusterName: elastic-cluster - - - |