3 ms·
Hey, couple questions for you: - We are a pretty small shop, only 3 developers, and looking at Sourcegraph for the first time. We have a full Kubernetes cluste
by regnerba 8y ago
Hey, couple questions for you:
- We are a pretty small shop, only 3 developers, and looking at Sourcegraph for the first time. We have a full Kubernetes cluster for running some of our production applications and would be happy to run this there. The Sourcegraph site lists a Quickstart instructions and instructions for Data Center. I am unsure what exactly the difference between them is.
- The Docker image for sourcegraph/server (used in your Quickstart instructions) doesn't have a Dockerfile listed anywhere. Is that available somewhere?
- The Quickstart instructions also seem to instruct mounting the Docker socket into the container. I haven't seen anything that explains why that is required.
Basically wondering which version I should be looking to deploy for our small team.
- slimsag 8y agoYou should definitely use our Quickstart instructions :) You can deploy it to your existing Kubernetes cluster (or any other Docker environment). - The Quickstart instructions[1] describe how to set up a single-machine single-container Sourcegraph instance, which is recommended for small teams. Our Data Center[2] offering is for large teams and runs Sourcegraph across multiple machines in multiple containers for high availability, scalability, etc. - The Docker Hub image sourcegraph/server is the official, free Sourcegraph build is called Sourcegraph Core and it includes various paid enterprise features built in so that upgrading to Sourcegraph Enterprise is easy (you only need to supply a license key, rather than migrating to a new Docker image). So, the exact recipe for building it is not open-source. However, we use the same exact Dockerfile in Sourcegraph OSS[4] which you can take a look at. - Each language server providing code intelligence will run as separate Docker container. By mounting the Docker socket into the container, Sourcegraph can automatically start/stop/manage these containers for you. However, this is not required, and in the case of Kubernetes deployment we do not recommend it, please see the "Manual Installation" section of our Code Intelligence docs[5] for more information. [1] https://about.sourcegraph.com/docs https://about.sourcegraph.com/docs [2] https://github.com/sourcegraph/deploy-sourcegraph https://github.com/sourcegraph/deploy-sourcegraph [3] https://about.sourcegraph.com/pricing/ https://about.sourcegraph.com/pricing/ [4] https://github.com/sourcegraph/sourcegraph/blob/master/cmd/server/dockerfile.go https://github.com/sourcegraph/sourcegraph/blob/master/cmd/s... [5] https://about.sourcegraph.com/docs/code-intelligence/install https://about.sourcegraph.com/docs/code-intelligence/install
- regnerba 8y agoThat last link is exactly what I needed! Thank you very much for all the information and help. :)
- regnerba 8y agoHey, quick question (and maybe this is just a legacy from before open source): From[1]: "If you do not wish to pay for code intelligence, you can disable language servers in the Code intelligence section of the site admin area." The pricing page however says that feature is included in the free version. It just doesn't seem to make sense to me. [1] https://about.sourcegraph.com/docs/code-intelligence/install https://about.sourcegraph.com/docs/code-intelligence/install