Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
moqui
/
k8s-moqui
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
81699626
authored
2022-10-19 15:06:31 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add knobs to set resource limits for elasticsearch+kibana.
1 parent
de8c462d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
environments/default-values.yaml
helmfile.yaml
environments/default-values.yaml
View file @
8169962
...
...
@@ -14,8 +14,17 @@ elasticsearch:
enabled
:
true
version
:
8.2.3
count
:
2
resources
:
limits
:
memory
:
1.5Gi
env
:
-
name
:
ES_JAVA_OPTS
value
:
"
-Xms1g
-Xmx1g"
kibana
:
count
:
1
resources
:
limits
:
memory
:
1Gi
postgresql
:
enabled
:
true
clone
:
{}
...
...
helmfile.yaml
View file @
8169962
...
...
@@ -33,6 +33,11 @@ releases:
version
:
{{
.Values.elasticsearch.version
}}
elasticsearchRef
:
name
:
{{
.Values.name
}}
-moqui
podTemplate
:
spec
:
containers
:
-
name
:
kibana
resources
:
{{
.Values.elasticsearch.kibana.resources | toYaml | nindent 20
}}
jsonPatches
:
-
target
:
group
:
elasticsearch.k8s.elastic.co
...
...
@@ -44,6 +49,14 @@ releases:
-
op
:
replace
path
:
/spec/nodeSets/0/count
value
:
{{
.Values.elasticsearch.count
}}
-
op
:
add
path
:
/spec/nodeSets/0/podTemplate
value
:
spec
:
containers
:
-
name
:
elasticsearch
resources
:
{{
.Values.elasticsearch.resources | toYaml | nindent 22
}}
env
:
{{
.Values.elasticsearch.env | toYaml | nindent 22
}}
-
name
:
{{
.Values.name
}}
-moqui-postgresql
condition
:
postgresql.enabled
...
...
Please
register
or
sign in
to post a comment