Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES: merge es patches together #21

Merged
merged 1 commit into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
merge es patches together
  • Loading branch information
MarcinGinszt committed Feb 19, 2024
commit 092f346f9f28e8e4b5a580dee69839c247a40a89
14 changes: 0 additions & 14 deletions elasticsearch/example/decrease-heap-size.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ spec:
# ES down to one node.
- name: ELASTICSEARCH_CLUSTER_MASTER_HOSTS
value: "elasticsearch-master-0"
# This patch adjusts the java heap size for the elasticsearch container
# recommended value is half of available memory
- name: ELASTICSEARCH_HEAP_SIZE
value: "2g"
4 changes: 2 additions & 2 deletions elasticsearch/example/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ commonAnnotations:

patches:
# Scaling the nodes down to 1- change amount of replicas and hostnames of the nodes
- path: scale-down.yaml
- path: decrease-heap-size.yaml
# changing the heap size
- path: env-patch.yaml
# PVC size
- target:
kind: StatefulSet
Expand Down