Commit b6115f17 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs/remove-cephfs-example' into 'master'

Remove CephFS from example

See merge request gitlab-org/gitlab-ce!31422
parents fdb89349 4e23f45e
...@@ -57,10 +57,10 @@ storage2: ...@@ -57,10 +57,10 @@ storage2:
Now that you've read that big fat warning above, let's edit the configuration Now that you've read that big fat warning above, let's edit the configuration
files and add the full paths of the alternative repository storage paths. In files and add the full paths of the alternative repository storage paths. In
the example below, we add two more mountpoints that are named `nfs` and `cephfs` the example below, we add two more mountpoints that are named `nfs_1` and `nfs_2`
respectively. respectively.
NOTE: **Note:** This example uses NFS and CephFS. We do not recommend using EFS for storage as it may impact GitLab's performance. See the [relevant documentation](high_availability/nfs.md#avoid-using-awss-elastic-file-system-efs) for more details. NOTE: **Note:** This example uses NFS. We do not recommend using EFS for storage as it may impact GitLab's performance. See the [relevant documentation](high_availability/nfs.md#avoid-using-awss-elastic-file-system-efs) for more details.
**For installations from source** **For installations from source**
...@@ -73,10 +73,10 @@ NOTE: **Note:** This example uses NFS and CephFS. We do not recommend using EFS ...@@ -73,10 +73,10 @@ NOTE: **Note:** This example uses NFS and CephFS. We do not recommend using EFS
storages: # You must have at least a 'default' storage path. storages: # You must have at least a 'default' storage path.
default: default:
path: /home/git/repositories path: /home/git/repositories
nfs: nfs_1:
path: /mnt/nfs/repositories path: /mnt/nfs1/repositories
cephfs: nfs_2:
path: /mnt/cephfs/repositories path: /mnt/nfs2/repositories
``` ```
1. [Restart GitLab][restart-gitlab] for the changes to take effect. 1. [Restart GitLab][restart-gitlab] for the changes to take effect.
...@@ -96,8 +96,8 @@ working, you can remove the `repos_path` line. ...@@ -96,8 +96,8 @@ working, you can remove the `repos_path` line.
```ruby ```ruby
git_data_dirs({ git_data_dirs({
"default" => { "path" => "/var/opt/gitlab/git-data" }, "default" => { "path" => "/var/opt/gitlab/git-data" },
"nfs" => { "path" => "/mnt/nfs/git-data" }, "nfs_1" => { "path" => "/mnt/nfs1/git-data" },
"cephfs" => { "path" => "/mnt/cephfs/git-data" } "nfs_2" => { "path" => "/mnt/nfs2/git-data" }
}) })
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment