Skip to content
代码片段 群组 项目
未验证 提交 4ed53264 编辑于 作者: Ashraf Khamis's avatar Ashraf Khamis 提交者: GitLab
浏览文件

CTRT: installation requirements (4)

上级 2441da17
No related branches found
No related tags found
无相关合并请求
...@@ -82,51 +82,45 @@ For more information, see [managing PostgreSQL extensions](postgresql_extensions ...@@ -82,51 +82,45 @@ For more information, see [managing PostgreSQL extensions](postgresql_extensions
#### GitLab Geo #### GitLab Geo
If you're using [GitLab Geo](../administration/geo/index.md), we strongly recommend running instances installed by using the Linux package or using For [GitLab Geo](../administration/geo/index.md), you should use the Linux package or
[validated cloud-managed instances](../administration/reference_architectures/index.md#recommended-cloud-providers-and-services), [validated cloud providers](../administration/reference_architectures/index.md#recommended-cloud-providers-and-services)
as we actively develop and test based on those. to install GitLab.
We cannot guarantee compatibility with other external databases. Compatibility with other external databases is not guaranteed.
For more information, see [requirements for running Geo](../administration/geo/index.md#requirements-for-running-geo). For more information, see [requirements for running Geo](../administration/geo/index.md#requirements-for-running-geo).
#### Locale compatibility #### Locale compatibility
Changes to locale data in `glibc` means that PostgreSQL database files are not fully compatible When you change locale data in `glibc`, PostgreSQL database files are
between different OS releases. no longer fully compatible between different operating systems.
To avoid index corruption,
[check for locale compatibility](../administration/geo/replication/troubleshooting/common.md#check-os-locale-data-compatibility)
when you:
To avoid index corruption, [check for locale compatibility](../administration/geo/replication/troubleshooting/common.md#check-os-locale-data-compatibility) - Move binary PostgreSQL data between servers.
when: - Upgrade your Linux distribution.
- Update or change third-party container images.
- Moving binary PostgreSQL data between servers. For more information, see [upgrading operating systems for PostgreSQL](../administration/postgresql/upgrading_os.md).
- Upgrading your Linux distribution.
- Updating or changing third party container images.
For more information, see how to [upgrade operating systems for PostgreSQL](../administration/postgresql/upgrading_os.md).
#### GitLab schemas #### GitLab schemas
Databases created or used for GitLab, Geo, [Gitaly Cluster](../administration/gitaly/praefect.md), or other components should be for the You should create or use databases exclusively for GitLab, [Geo](../administration/geo/index.md),
exclusive use of GitLab. Do not make direct changes to the database, schemas, users, or other [Gitaly Cluster](../administration/gitaly/praefect.md), or other components.
properties except when following procedures in the GitLab documentation or following the directions Do not create or modify databases, schemas, users, or other properties except when you follow:
of GitLab Support or other GitLab engineers.
- The main GitLab application uses three schemas:
- The default `public` schema
- `gitlab_partitions_static` (automatically created)
- `gitlab_partitions_dynamic` (automatically created)
No other schemas should be manually created. - Procedures in the GitLab documentation
- The directions of GitLab Support or engineers
- GitLab may create new schemas as part of Rails database migrations. This happens when performing The main GitLab application uses three schemas:
a GitLab upgrade. The GitLab database account requires access to do this.
- GitLab creates and modifies tables during the upgrade process, and also as part of standard - The default `public` schema
operations to manage partitioned tables. - `gitlab_partitions_static` (created automatically)
- `gitlab_partitions_dynamic` (created automatically)
- You should not modify the GitLab schema (for example, adding triggers or modifying tables). During Rails database migrations, GitLab might create or modify schemas or tables.
Database migrations are tested against the schema definition in the GitLab codebase. GitLab Database migrations are tested against the schema definition in the GitLab codebase.
version upgrades may fail if the schema is modified. If you modify any schema, [GitLab upgrades](../update/index.md) might fail.
## Puma ## Puma
...@@ -240,36 +234,6 @@ These processes consume approximately 200 MB of memory. ...@@ -240,36 +234,6 @@ These processes consume approximately 200 MB of memory.
For more information, see For more information, see
[monitoring GitLab with Prometheus](../administration/monitoring/prometheus/index.md). [monitoring GitLab with Prometheus](../administration/monitoring/prometheus/index.md).
## GitLab Runner
We strongly advise against installing GitLab Runner on the same machine you plan
to install GitLab on. Depending on how you decide to configure GitLab Runner and
what tools you use to exercise your application in the CI environment, GitLab
Runner can consume significant amount of available memory.
Memory consumption calculations, that are available above, are not valid if
you decide to run GitLab Runner and the GitLab Rails application on the same
machine.
It's also not safe to install everything on a single machine, because of the
[security reasons](https://docs.gitlab.com/runner/security/), especially when you plan to use shell executor with GitLab
Runner.
To use CI/CD features, you should use a separate machine for each GitLab Runner.
The GitLab Runner server requirements depend on:
- The type of [executor](https://docs.gitlab.com/runner/executors/) you configured on GitLab Runner.
- Resources required to run build jobs.
- Job concurrency settings.
Because the nature of the jobs varies for each use case, you must experiment by adjusting the job concurrency to get the optimum setting.
For reference, the [SaaS runners on Linux](../ci/runners/hosted_runners/linux.md)
are configured so that a **single job** runs in a **single instance** with:
- 1 vCPU.
- 3.75 GB of RAM.
## Supported web browsers ## Supported web browsers
GitLab supports the following web browsers: GitLab supports the following web browsers:
...@@ -289,4 +253,5 @@ Running GitLab with JavaScript disabled in these browsers is not supported. ...@@ -289,4 +253,5 @@ Running GitLab with JavaScript disabled in these browsers is not supported.
## Related topics ## Related topics
- [Install GitLab Runner](https://docs.gitlab.com/runner/install/)
- [Secure your installation](../security/index.md) - [Secure your installation](../security/index.md)
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册