Skip to content

Commit

Permalink
sync over docs
Browse files Browse the repository at this point in the history
  • Loading branch information
beyang committed May 22, 2018
1 parent 9e71e70 commit 7d05aa8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ is defined by the `values.yaml` file in *this* directory.

The structure of `values.yaml` is split into two top-level fields:
- `site` defines application-level settings like code host integrations and authentication settings. The full set of
options for `site` is described here: https://about.sourcegraph.com/docs/config/settings.
options for `site` is described here: https://about.sourcegraph.com/docs/config/site.
- `cluster` defines settings specific to the configuration of the Kubernetes cluster, like replica counts and CPU/memory
allocation. Refer to the `values.yaml` in this repository to see which `cluster` fields can be overridden.

Expand Down
20 changes: 11 additions & 9 deletions docs/scale.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Sourcegraph Data Center can be configured to scale to very large codebases and l
users. If you notice latency for search or code intelligence is higher than desired, changing these
parameters can yield a drastic improvement in performance.

> For assistance scaling and tuning Sourcegraph, contact us
> at <mailto:support@sourcegraph.com>. We're happy to help!
> For assistance scaling and tuning
> Sourcegraph, [contact us](https://about.sourcegraph.com/contact/). We're happy to help!

## Tuning replica counts for horizontal scalability
Expand Down Expand Up @@ -36,8 +36,8 @@ table. See the following sections for how to modify your `values.yaml` file to a
| 200-1k | 5-10 |
| 1k-5k | 10-15 |
| 5k-25k | 20-40 |
| 25k+ | 40+ (contact us for scaling advice) |
| Monorepo | 1-25 (contact us for scaling advice) |
| 25k+ | 40+ ([contact us](https://about.sourcegraph.com/contact/) for scaling advice) |
| Monorepo | 1-25 ([contact us](https://about.sourcegraph.com/contact/) for scaling advice) |

<br>

Expand All @@ -48,8 +48,8 @@ table. See the following sections for how to modify your `values.yaml` file to a
| 500-1000 | 3 |
| 1k-5k | 4-8 |
| 5k-25k | 8-20 |
| 25k+ | 20+ (contact us for scaling advice) |
| Monorepo | 1 (contact us for scaling advice) |
| 25k+ | 20+ ([contact us](https://about.sourcegraph.com/contact/) for scaling advice) |
| Monorepo | 1 ([contact us](https://about.sourcegraph.com/contact/) for scaling advice) |

</div>

Expand Down Expand Up @@ -100,9 +100,11 @@ Notes:
sourcegraph N` (where `N` is the previous version number as reported by `helm history sourcegraph`).
Then run `kubectl delete deployment indexed-search && kubectl delete pvc
indexed-search` and `helm upgrade sourcegraph ./helm-chart` again.
* If your change requires `gitserver` pods to be restarted and they are scheduled on another node when they restart,
they may go offline for 60-90 seconds (and temporarily show a `Multi-Attach` error). This delay is caused by Kubernetes
detaching and reattaching the volume. Mitigation steps depend on your cloud provider; contact us for advice.
* If your change requires `gitserver` pods to be restarted and they are scheduled on another node
when they restart, they may go offline for 60-90 seconds (and temporarily show a `Multi-Attach`
error). This delay is caused by Kubernetes detaching and reattaching the volume. Mitigation
steps depend on your cloud provider; [contact us](https://about.sourcegraph.com/contact/) for
advice.

---

Expand Down
4 changes: 3 additions & 1 deletion docs/troubleshoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ Less frequently used commands:
helm init --service-account tiller --upgrade
```

If you have any other issues with installation, email <mailto:[email protected]>.
Any other issues? Contact us at [@srcgraph](https://twitter.com/srcgraph)
or <mailto:[email protected]>, or file issues on
our [public issue tracker](https://github.com/sourcegraph/issues/issues).

0 comments on commit 7d05aa8

Please sign in to comment.