Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
Helm charts for swh packages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Infrastructure
CI CD
Helm charts for swh packages
Commits
4ea580ef
Verified
Commit
4ea580ef
authored
1 year ago
by
Antoine R. Dumont
Browse files
Options
Downloads
Patches
Plain Diff
staging: Deploy objstorage
Refs.
swh/infra/sysadm-environment#5164
parent
0300f567
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
swh/values/staging/default.yaml
+9
-0
9 additions, 0 deletions
swh/values/staging/default.yaml
swh/values/staging/swh-cassandra.yaml
+38
-0
38 additions, 0 deletions
swh/values/staging/swh-cassandra.yaml
with
47 additions
and
0 deletions
swh/values/staging/default.yaml
+
9
−
0
View file @
4ea580ef
...
...
@@ -23,6 +23,12 @@ stagingNetworkRanges:
noopObjectStorage
:
cls
:
noop
readWriteObjstorageConfiguration
:
cls
:
pathslicing
root
:
"
/srv/softwareheritage/objects"
slicing
:
0:1/1:5
client_max_size
:
1073741824
storagePipelineSteps
:
-
&bufferStorage
cls
:
buffer
...
...
@@ -294,6 +300,9 @@ externalServices:
storage-postgresql
:
internalName
:
storage-postgresql-rpc-ingress
target
:
archive-staging-rke2-ingress-nginx-controller.ingress-nginx.svc.cluster.local
# objstorage-read-write:
# internalName: objstorage-read-write-rpc-ingress
# target: archive-staging-rke2-ingress-nginx-controller.ingress-nginx.svc.cluster.local
vault
:
hosts
:
...
...
This diff is collapsed.
Click to expand it.
swh/values/staging/swh-cassandra.yaml
+
38
−
0
View file @
4ea580ef
...
...
@@ -830,3 +830,41 @@ deposit:
extraction_dir
:
"
/tmp/swh-deposit/archive/"
cache_uri
:
memcached:11211
objstorage
:
enabled
:
true
port
:
5003
priorityClassName
:
frontend-rpc
deployments
:
# Each key will be an objstorage instance to be deployed
# The mandatory objstorageConfigurationRef key should target a dict
# with the specific objstorage configuration
read-write
:
enabled
:
true
logLevel
:
INFO
requestedCpu
:
50m
requestedMemory
:
100Mi
gunicorn
:
threads
:
5
workers
:
2
timeout
:
60
autoScaling
:
minReplicaCount
:
2
maxReplicaCount
:
10
cpuPercentageUsage
:
100
# mandatory
# check readWriteStorageConfiguration example to configure your storage
objstorageConfigurationRef
:
readWriteObjstorageConfiguration
# Deploy an ingress to access the objstorage
hosts
:
-
objstorage.staging.swh.network
ingress
:
enabled
:
true
# mandatory if ingress is enabled
# the hostname on which the objstorage must be reachable
# Optional: the ingress classname to use
className
:
nginx
whitelistSourceRangeRef
:
stagingNetworkRanges
endpoints
:
default
:
paths
:
-
path
:
/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment