Skip to content

Commit 419e336

Browse files
committed
single-bucket mode
1 parent bf0dcbe commit 419e336

1 file changed

Lines changed: 28 additions & 4 deletions

File tree

docs/self-hosted/external-services/object-storage.mdx

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,24 @@ By default, Sourcegraph will use a `sourcegraph/blobstore` server bundled with t
44

55
You can alternatively configure your instance to instead store this data in an S3 or GCS bucket. Doing so may decrease your hosting costs as persistent volumes are often more expensive than the same storage space in an object store service.
66

7+
<Callout type="info">
8+
Starting in [Sourcegraph 7.2](https://sourcegraph.com/changelog/releases/7.2), new instances can configure only the
9+
[`sourcegraph` bucket](#sourcegraph-bucket), and Sourcegraph will use that
10+
single bucket for all features. If a separate bucket is needed for Code Graph
11+
Indexes or Search Job Results, that can still be configured, but we recommend
12+
using one bucket.
13+
</Callout>
14+
15+
<a id="sourcegraph-bucket" />
16+
717
## `sourcegraph` bucket
818

919
<Callout type="warning">
10-
Starting in Sourcegraph 7.2, self-hosted Sourcegraph instances using S3 or
20+
Starting in [Sourcegraph 7.2](https://sourcegraph.com/changelog/releases/7.2), self-hosted Sourcegraph instances using S3 or
1121
GCS object storage should now provision an additional bucket named
12-
`sourcegraph`. Sourcegraph currently reports a warning when this bucket is
13-
not present, and it will become required for new features in a future
14-
release. No action is required if you are using the default
22+
[`sourcegraph`](#sourcegraph-bucket). Sourcegraph currently reports a warning
23+
when this bucket is not present, and it will become required for new features
24+
in a future release. No action is required if you are using the default
1525
`sourcegraph/blobstore`.
1626
</Callout>
1727

@@ -58,6 +68,13 @@ If you would like to allow your Sourcegraph instance to manage the target bucket
5868

5969
To target a managed object storage service for storing [code graph index uploads](../../code-navigation/precise-code-navigation), you will need to set a handful of environment variables for configuration and authentication to the target service.
6070

71+
<Callout type="info">
72+
Starting in [Sourcegraph 7.2](https://sourcegraph.com/changelog/releases/7.2), new instances can configure only the
73+
[`sourcegraph` bucket](#sourcegraph-bucket), and Sourcegraph will use that
74+
single bucket for all features. If a separate bucket is needed for Code Graph
75+
Indexes, that can still be configured, but we recommend using one bucket.
76+
</Callout>
77+
6178
- If you are running a `sourcegraph/server` deployment, set the environment variables on the server container
6279
- If you are running via Docker-compose or Kubernetes, set the environment variables on the `frontend`, `worker`, and `precise-code-intel-worker` containers
6380

@@ -119,6 +136,13 @@ If you would like to allow your Sourcegraph instance to control the creation and
119136

120137
To target a third party managed object storage service for storing [search job results](../../code-search/types/search-jobs), you must set a handful of environment variables for configuration and authentication to the target service.
121138

139+
<Callout type="info">
140+
Starting in [Sourcegraph 7.2](https://sourcegraph.com/changelog/releases/7.2), new instances can configure only the
141+
[`sourcegraph` bucket](#sourcegraph-bucket), and Sourcegraph will use that
142+
single bucket for all features. If a separate bucket is needed for Search Job
143+
Results, that can still be configured, but we recommend using one bucket.
144+
</Callout>
145+
122146
- If you are running a `sourcegraph/server` deployment, set the environment variables on the server container
123147
- If you are running via Docker-compose or Kubernetes, set the environment variables on the `frontend` and `worker` containers
124148

0 commit comments

Comments
 (0)