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
2191d6c1
Commit
2191d6c1
authored
4 hours ago
by
Mark Harding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat): deploy runners as deployment
parent
bea965a8
sandbox-wip
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
0 deletions
+66
-0
deployment-runners.yaml
minds/templates/deployment-runners.yaml
+59
-0
values.yaml
minds/values.yaml
+7
-0
No files found.
minds/templates/deployment-runners.yaml
0 → 100644
View file @
2191d6c1
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
{{
include "minds.fullname" .
}}
-runners
labels
:
app.kubernetes.io/name
:
{{
include "minds.name" .
}}
helm.sh/chart
:
{{
include "minds.chart" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.kubernetes.io/managed-by
:
{{
.Release.Service
}}
spec
:
replicas
:
{{
.Values.runners.replicas
}}
selector
:
matchLabels
:
app.kubernetes.io/name
:
{{
include "minds.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.minds.io/name
:
{{
template "minds.fullname" .
}}
-runners
template
:
metadata
:
labels
:
app.kubernetes.io/name
:
{{
include "minds.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.minds.io/name
:
{{
template "minds.fullname" .
}}
-runners
app.minds.io/lastChanged
:
"
1"
spec
:
containers
:
-
name
:
{{
.Chart.Name
}}
-runners
image
:
"
{{
.Values.runners.image.repository
}}:{{
.Values.runners.image.tag
}}"
imagePullPolicy
:
{{
.Values.runners.image.pullPolicy
}}
resources
:
{{
- toYaml .Values.resources | nindent 12
}}
volumeMounts
:
-
name
:
settings
mountPath
:
/var/www/Minds/engine/settings.php
subPath
:
settings.php
-
name
:
secure-certs
mountPath
:
/var/secure/
readOnly
:
true
{{
- with .Values.nodeSelector
}}
nodeSelector
:
{{
- toYaml . | nindent 8
}}
{{
- end
}}
{{
- with .Values.affinity
}}
affinity
:
{{
- toYaml . | nindent 8
}}
{{
- end
}}
{{
- with .Values.tolerations
}}
tolerations
:
{{
- toYaml . | nindent 8
}}
{{
- end
}}
volumes
:
-
name
:
settings
configMap
:
name
:
{{
template "minds.fullname" .
}}
-
name
:
php-config
configMap
:
name
:
{{
template "minds.fullname" .
}}
-
name
:
secure-certs
secret
:
secretName
:
{{
template "minds.fullname" .
}}
-certs
This diff is collapsed.
Click to expand it.
minds/values.yaml
View file @
2191d6c1
...
...
@@ -11,6 +11,13 @@ phpfpm:
max_children
:
50
#500 on production
max_requests
:
200
#20000 on production
runners
:
image
:
repository
:
registry.gitlab.com/minds/engine/runners
tag
:
latest
pullPolicy
:
Always
replicas
:
1
nginx
:
image
:
repository
:
nginx
...
...
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