Commit 17b32d67 authored by Diana Stanley's avatar Diana Stanley

Update gitaly docs to enumerate how to eliminate NFS altogether

parent 2ffd71f8
......@@ -432,6 +432,24 @@ gitaly_enabled=false
When you run `service gitlab restart` Gitaly will be disabled on this
particular machine.
## Eliminating NFS altogether
If you are planning to use gitaly without NFS for your storage needs
and want to eliminate NFS from your environment altogether, there are
a few things that you need to do:
1) make sure the [`git` user home directory](https://docs.gitlab.com/omnibus/settings/configuration.html#moving-the-home-directory-for-a-user) is on local disk
2) configure [database lookup of ssh keys](https://docs.gitlab.com/ee/administration/operations/fast_ssh_key_lookup.html)
to eliminate the need for a shared authorized_keys file
3) configure [object storage for job artifacts](https://docs.gitlab.com/ee/administration/job_artifacts.html#using-object-storage)
including [live tracing](https://docs.gitlab.com/ee/administration/job_traces.html#new-live-trace-architecture)
4) configure [object storage for LFS objects](https://docs.gitlab.com/ee/workflow/lfs/lfs_administration.html#storing-lfs-objects-in-remote-object-storage)
5) configure [object storage for uploads](https://docs.gitlab.com/ee/administration/uploads.html#using-object-storage-core-only)
NOTE: **Note:** One current feature of GitLab still requires a shared directory (NFS): Pages.
There is [work in progress](https://gitlab.com/gitlab-org/gitlab-pages/issues/196)
to eliminate the need for NFS to support Pages.
## Troubleshooting Gitaly in production
Since GitLab 11.6, Gitaly comes with a command-line tool called
......
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