Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Deployment tools for hosting a mirror
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
Deployment tools for hosting a mirror
Commits
0526bf35
Commit
0526bf35
authored
3 years ago
by
David Douard
Browse files
Options
Downloads
Patches
Plain Diff
Use dnsrr as endpoint_mode for storage and objstorage and document this
a bit
parent
62767c69
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
base-services.yml
+13
-0
13 additions, 0 deletions
base-services.yml
with
13 additions
and
0 deletions
base-services.yml
+
13
−
0
View file @
0526bf35
...
...
@@ -69,7 +69,15 @@ services:
objstorage
:
image
:
softwareheritage/base:${SWH_IMAGE_TAG:-latest}
deploy
:
# needed to allow actual and dynammic load balancing
endpoint_mode
:
dnsrr
# a real life replicas value better be in the 16 to 64 range
replicas
:
2
placement
:
# note: if using a local volume, you need to stick objstorage instances
# on the node hosting the volume, eg. the manager, otherwise, if using
# a remote/distrubuted objstorage backend (seaweedfs, cloud, etc.) you
# want to remove this placement constraint
constraints
:
-
node.role == manager
volumes
:
...
...
@@ -85,6 +93,11 @@ services:
storage
:
image
:
softwareheritage/base:${SWH_IMAGE_TAG:-latest}
deploy
:
# needed to allow actual and dynammic load balancing
endpoint_mode
:
dnsrr
# a real life replicas value better be in the 16 to 64 range
replicas
:
2
configs
:
-
source
:
storage
target
:
/etc/softwareheritage/config.yml
...
...
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