Sourcegraph on Kubernetes
🚨IMPORTANT: When upgrading Sourcegraph, please check upgrading docs to check if any manual migrations are necessary.
masterbranch tracks development. Use the branch of this repository corresponding to the version of Sourcegraph you wish to deploy, e.g.
git checkout 3.19.
Deploying Sourcegraph into a Kubernetes cluster is for organizations that need highly scalable and available code search and code intelligence. This repository contains documentation for creating, updating, and maintaining a Sourcegraph cluster.
For product and pricing information, visit about.sourcegraph.com or contact us for more information. If you're just starting out, we recommend running Sourcegraph as a single Docker container or using Docker Compose. Migrating to Sourcegraph on Kubernetes is easy later.
- Admin guide - useful guide for Sourcegraph admins
- Metrics - guidance of metrics that can be used for monitoring Sourcegraph
We recommend using Kubernetes for deploying Sourcegraph (see above for installation instructions). However, we understand not everyone can use Kubernetes or may prefer their own container infrastructure. If this is the case, check out our pure-Docker deployment reference.
We've made our deployment configurations open source to better serve our customers' needs. If there is anything we can do to make deploying Sourcegraph easier just open an issue (in sourcegraph/sourcegraph) or a pull request and we will respond promptly!