Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Elasticsearch Services
Elasticsearch Connector Service
Commits
2ab59b9a
Commit
2ab59b9a
authored
Sep 13, 2021
by
Jonas Waeber
Browse files
Rename env to k8sEnvironment in chart.
Add resource limitations.
parent
2468c983
Pipeline
#32360
passed with stages
in 4 minutes and 4 seconds
Changes
24
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
helm-charts/helm-values/gi-es-record-sets-indexer-stage.yml
View file @
2ab59b9a
...
...
@@ -9,4 +9,4 @@ reportingTopic: mb-di-reporting-stage
reportingStepName
:
RS-04.01-indexing-record-sets
env
:
stage
\ No newline at end of file
k8sEnvironment
:
stage
\ No newline at end of file
helm-charts/helm-values/gi-es-record-sets-indexer-test.yml
View file @
2ab59b9a
...
...
@@ -9,4 +9,4 @@ reportingTopic: mb-di-reporting-prod
reportingStepName
:
RS-04.01-indexing-record-sets
env
:
test
\ No newline at end of file
k8sEnvironment
:
test
\ No newline at end of file
helm-charts/templates/deployment.yaml
View file @
2ab59b9a
...
...
@@ -14,12 +14,19 @@ spec:
metadata
:
labels
:
app
:
"
{{
.Values.deploymentName
}}-deployment"
environment
:
{{
.Values.en
v
}}
environment
:
{{
.Values.
k8sEnvironm
en
t
}}
spec
:
containers
:
-
name
:
"
{{
.Values.deploymentName
}}-container"
image
:
"
{{.Values.registry}}/{{
.Values.image
}}:{{
.Values.tag
}}"
imagePullPolicy
:
Always
resources
:
requests
:
cpu
:
"
{{
.Values.k8sRequestsCpu
}}"
memory
:
"
{{
.Values.k8sRequestsMemory
}}"
limits
:
cpu
:
"
{{
.Values.k8sLimitsCpu
}}"
memory
:
"
{{
.Values.k8sLimitsMemory
}}"
envFrom
:
-
configMapRef
:
name
:
"
{{
.Values.kafkaConfigs
}}"
...
...
helm-charts/values.yaml
View file @
2ab59b9a
...
...
@@ -3,11 +3,17 @@ registry: "cr.gitlab.switch.ch"
image
:
"
memoriav/memobase-2020/services/elastic-services/elastic-bulk-action-service"
tag
:
"
latest"
k8sEnvironment
:
placeholder
k8sReplicas
:
1
k8sRequestsCpu
:
"
0.1"
k8sRequestsMemory
:
"
128Mi"
k8sLimitsCpu
:
"
0.5"
k8sLimitsMemory
:
"
512Mi"
deploymentName
:
placeholder
kafkaConfigs
:
placeholder
elasticConfigs
:
placeholder
elasticIndexConfigMap
:
placeholder
topicName
:
placeholder
reportingTopic
:
placeholder
reportingStepName
:
placeholder
env
:
placeholder
\ No newline at end of file
reportingStepName
:
placeholder
\ No newline at end of file
Prev
1
2
Next
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