defenseunicorns / uds-bundle-software-factory-nutanix

A UDS Bundle
Apache License 2.0
2 stars 0 forks source link

Investigate & Enable Sharded Gitaly #213

Open jacobbmay opened 1 week ago

jacobbmay commented 1 week ago

Gitaly cluster is still not supported in kubernetes. In order to support larger target user counts, we should investigate supporting configuring sharded Gitaly with our bundle as a compromise to not having Gitaly cluster.

### Tasks
- [ ] Aggregate relevant documentation
- [ ] Produce testing strategy
- [ ] Produce design approach
- [ ] Get it working in dev
- [ ] Update docs
- [ ] Get PR merged
- [ ] Update UDS_CONFIG in 1 password
JoeHCQ1 commented 21 hours ago

Links:

JoeHCQ1 commented 5 hours ago
jacobbmay commented 5 hours ago

That is correct. "Enabled" in the ticket title meant enable configuring it in our bundle. Sharded gitaly is just deploying multiple separate instances of Gitaly so you can distribute repositories and the related API calls between them. The Gitaly chart has a value for defining multiple Gitaly instances that it should create. The manual steps would be in GitLab configuring the distribution of resources between the shards.

jacobbmay commented 5 hours ago

I believe it is the 'internal.names' value in the chart. It defaults to list containing a single value named 'default'. If we override it and pass multiple it should create a Gitaly instances per item in the list. The first one should be 'default' to enable deploying multiple as an upgrade. Guessing it won't like it if the name changes.

https://docs.gitlab.com/charts/charts/gitlab/gitaly/

jacobbmay commented 4 hours ago

I thought I had included that in the item description but I guess I forgot to.