diff options
author | John Cai <jcai@gitlab.com> | 2019-07-08 14:23:05 -0700 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2019-07-12 10:48:59 -0700 |
commit | 6400a9c821d2a59c684b3343aa181350a97d0ec5 (patch) | |
tree | d2503a2d2e1f95cdf5d928770edc9f88537cf864 | |
parent | 50441577f0d24fe66ad1d59879f10315b54946c4 (diff) | |
download | gitlab-ce-jc-documentation-update-nfs-autodetection.tar.gz |
Add nfs autodetection section in NFS docsjc-documentation-update-nfs-autodetection
-rw-r--r-- | doc/administration/high_availability/nfs.md | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/doc/administration/high_availability/nfs.md b/doc/administration/high_availability/nfs.md index 561ba214686..191ff8b1a0f 100644 --- a/doc/administration/high_availability/nfs.md +++ b/doc/administration/high_availability/nfs.md @@ -47,29 +47,15 @@ management between systems: ### Improving NFS performance with GitLab -NOTE: **Note:** This is only available starting in certain versions of GitLab: 11.5.11, -11.6.11, 11.7.12, 11.8.8, 11.9.0 and up (e.g. 11.10, 11.11, etc.) +NOTE: **Note:** From GitLab 12.1, it will automatically be detected if Rugged can and should be used per storage. -If you are using NFS to share Git data, we recommend that you enable a -number of feature flags that will allow GitLab application processes to -access Git data directly instead of going through the [Gitaly -service](../gitaly/index.md). Depending on your workload and disk -performance, these flags may help improve performance. See [the -issue](https://gitlab.com/gitlab-org/gitlab-ce/issues/57317) for more -details. - -To do this, run the Rake task: +If you previously enabled Rugged using the feature flag, you will need to unset the feature flag by using: ```sh -sudo gitlab-rake gitlab:features:enable_rugged +sudo gitlab-rake gitlab:features:unset_rugged ``` -If you need to undo this setting for some reason such as switching to [Gitaly without NFS](gitaly.md) -(recommended), run: - -```sh -sudo gitlab-rake gitlab:features:disable_rugged -``` +If the Rugged feature flag is explicitly set to either true or false, GitLab will use the value explicitly set. ### Known issues |