Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
H
Helm Charts for Minds Projects
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Helm Charts for Minds Projects
Commits
ccc483d1
Commit
ccc483d1
authored
27 minutes ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(chore): performance boosts for when running on low resources
parent
bd91ac14
sandbox-wip
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
14 deletions
+33
-14
configMap.yaml
minds/templates/configMap.yaml
+6
-1
deployment-app.yaml
minds/templates/deployment-app.yaml
+2
-2
values.yaml
minds/values.yaml
+25
-11
No files found.
minds/templates/configMap.yaml
View file @
ccc483d1
...
...
@@ -168,7 +168,7 @@ data:
// Cassandra configuration
$CONFIG->cassandra = (object) [
'keyspace' => '{{ .Values.cassandra.keyspace }}',
{{- if .Values.
deployCassandra
}}
{{- if .Values.
cassandra.deploy
}}
'servers' => [ '{{ .Release.Name }}-cassandra' ],
'cql_servers' => [ '{{ .Release.Name }}-cassandra' ],
{{- else }}
...
...
@@ -188,8 +188,13 @@ data:
// Redis configuration
$CONFIG->redis = [
{{- if .Values.redis.deploy }}
'master' => '{{ .Release.Name }}-redis',
'slave' => '{{ .Release.Name }}-redis'
{{- else }}
'master' => 'redis-master',
'slave' => 'redis-slave'
{{- end }}
];
// RabbitMQ configuration
...
...
This diff is collapsed.
Click to expand it.
minds/templates/deployment-app.yaml
View file @
ccc483d1
...
...
@@ -36,7 +36,7 @@ spec:
initialDelaySeconds
:
10
timeoutSeconds
:
5
resources
:
{{
- toYaml .Values.resources | nindent 12
}}
{{
- toYaml .Values.
phpfpm.
resources | nindent 12
}}
volumeMounts
:
-
name
:
front
mountPath
:
/var/www/Minds/front
...
...
@@ -60,7 +60,7 @@ spec:
containerPort
:
80
protocol
:
TCP
resources
:
{{
- toYaml .Values.resources | nindent 12
}}
{{
- toYaml .Values.
nginx.
resources | nindent 12
}}
volumeMounts
:
-
name
:
front
mountPath
:
/var/www/Minds/front
...
...
This diff is collapsed.
Click to expand it.
minds/values.yaml
View file @
ccc483d1
...
...
@@ -8,8 +8,28 @@ phpfpm:
tag
:
latest
pullPolicy
:
Always
replicas
:
1
max_children
:
5
0
#500 on production
max_children
:
5
#500 on production
max_requests
:
200
#20000 on production
resources
:
limits
:
memory
:
512Mi
cpu
:
600m
requests
:
cpu
:
200m
memory
:
256Mi
nginx
:
image
:
repository
:
nginx
tag
:
1.13-alpine
pullPolicy
:
IfNotPresent
replicas
:
1
worker_connections
:
40
# 20000 in production
resources
:
limits
:
cpu
:
400m
requests
:
cpu
:
200m
runners
:
image
:
...
...
@@ -22,14 +42,6 @@ runners:
memory
:
256Mi
cpu
:
200m
nginx
:
image
:
repository
:
nginx
tag
:
1.13-alpine
pullPolicy
:
IfNotPresent
replicas
:
1
worker_connections
:
50
# 20000 in production
frontInit
:
image
:
repository
:
registry.gitlab.com/minds/front/front-init
...
...
@@ -62,8 +74,6 @@ ingress:
loadbalancer
:
enabled
:
false
resources
:
{}
nodeSelector
:
{}
tolerations
:
[]
...
...
@@ -117,6 +127,10 @@ rabbitmq:
rabbitmq
:
username
:
'
user'
password
:
'
guest'
resources
:
limits
:
memory
:
256Mi
cpu
:
200m
# CockroachDB
cockroachdb
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment