Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,758
    • Issues 44,758
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,332
    • Merge requests 1,332
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #221177
Closed
Open
Issue created Jun 11, 2020 by Dylan Griffith@DylanGriffith2️⃣Maintainer

Expected Elasticsearch cluster size estimate [rake task]

Problem to solve

Customers setting up the Elasticsearch Integration for Advanced Global Search in self-managed instances often are unsure how big their cluster will need to be and as a consequence may be unsure if they can run the cluster.

Intended users

User experience goal

Proposal

In the Elasticsearch integration page we could display an estimate of the amount of storage you will need. Since we expect around 0.31 * repo size and since we can easily calculate total repo size from project statistics table we can simple do the calculation and display it in the admin UI.

We may want to give some headroom so perhaps calculating 0.5 * repo size and saying "your cluster should be at least this big" will be a good way to convey the information.

Further details

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Release Notes

Many customers have asked about storage requirements for planning their Elasticsearch cluster when enabling Advanced Search in their GitLab instances.

In order to make this readily accessible, we have added a rake command in 13.10 which can do the calculation referencing the total of all repos and multiplies by .5 to give an estimated size that is needed for the Elasticsearch cluster.

https://docs.gitlab.com/ee/integration/elasticsearch.html#system-requirements

Screenshot_2021-02-18_at_13.17.47

Edited Mar 01, 2021 by Dmitry Gruzd
Assignee
Assign to
Time tracking