Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
ExternalAPIs
OAI
Commits
1c4e94c6
Commit
1c4e94c6
authored
Aug 12, 2021
by
Günter Hipler
Browse files
modifications after first try to deploy api on local minikube
parent
52530e4a
Pipeline
#31158
passed with stages
in 4 minutes and 18 seconds
Changes
5
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
helm-charts/helm-values/api-oai-prod.yaml
View file @
1c4e94c6
tag
:
"
latest
"
tag
:
"
0.5.4
"
k8sEnvironment
:
prod
k8sReplicas
:
1
k8sRequestsCpu
:
"
0.5"
# TODO: Set requests
k8sRequestsMemory
:
"
512Mi"
# TODO: Set requests
k8sLimitsCpu
:
"
0.7"
# TODO: Set limits
k8sLimitsMemory
:
"
768Mi"
# TODO: Set limits
k8sRequestsCpu
:
"
0.5"
k8sRequestsMemory
:
"
512Mi"
k8sLimitsCpu
:
"
0.7"
k8sLimitsMemory
:
"
768Mi"
k8sHost
:
oai.memobase.ch
k8sPort
:
9000
elasticHostConfigs
:
prod-elastic-configs
elasticIndex
:
prod-edm-index
elasticIndex
Configs
:
prod-edm-index
responseListlength
:
"
30"
resumptionTokenTtl
:
"
3"
helm-charts/helm-values/api-oai-stage.yaml
View file @
1c4e94c6
...
...
@@ -3,10 +3,10 @@ tag: "latest"
k8sEnvironment
:
stage
k8sReplicas
:
1
k8sRequestsCpu
:
"
0.5"
# TODO: Set requests
k8sRequestsMemory
:
"
512Mi"
# TODO: Set requests
k8sLimitsCpu
:
"
0.7"
# TODO: Set limits
k8sLimitsMemory
:
"
768Mi"
# TODO: Set limits
k8sRequestsCpu
:
"
0.5"
k8sRequestsMemory
:
"
512Mi"
k8sLimitsCpu
:
"
0.7"
k8sLimitsMemory
:
"
768Mi"
k8sHost
:
oai-stage.memobase.k8s.unibas.ch
k8sPort
:
9000
...
...
helm-charts/helm-values/api-oai-test.yaml
View file @
1c4e94c6
tag
:
"
latest
"
tag
:
"
0.5.4
"
k8sEnvironment
:
test
k8sReplicas
:
1
k8sRequestsCpu
:
"
0.5"
# TODO: Set requests
k8sRequestsMemory
:
"
512Mi"
# TODO: Set requests
k8sLimitsCpu
:
"
0.7"
# TODO: Set limits
k8sLimitsMemory
:
"
768Mi"
# TODO: Set limits
k8sRequestsCpu
:
"
0.5"
k8sRequestsMemory
:
"
512Mi"
k8sLimitsCpu
:
"
0.7"
k8sLimitsMemory
:
"
768Mi"
k8sHost
:
oai-test.memobase.k8s.unibas.ch
...
...
helm-charts/templates/deployment.yaml
View file @
1c4e94c6
...
...
@@ -18,7 +18,7 @@ spec:
environment
:
"
{{
.Values.k8sEnvironment
}}"
spec
:
containers
:
-
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment}}-
container
"
-
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment}}-
app
"
image
:
"
{{
.Values.registry
}}/{{
.Values.image
}}:{{
.Values.tag
}}"
# image: guenterh/oaimemobase:latest
imagePullPolicy
:
Always
...
...
@@ -47,9 +47,6 @@ spec:
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment}}-config"
restartPolicy
:
Always
volumes
:
-
name
:
media-volume
persistentVolumeClaim
:
claimName
:
{{
.Values.mediaVolumeClaimName
}}
-
name
:
oaiconf
configMap
:
name
:
"
{{
.Values.k8sGroupId
}}-{{
.Values.k8sName
}}-{{
.Values.k8sEnvironment
}}-oai-config"
...
...
helm-charts/values.yaml
View file @
1c4e94c6
...
...
@@ -16,7 +16,7 @@ k8sHost: placeholder
k8sPort
:
placeholder
elasticHostConfigs
:
placeholder
elasticIndex
:
placeholder
elasticIndex
Configs
:
placeholder
responseListlength
:
placeholder
resumptionTokenTtl
:
placeholder
...
...
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