Commit 52b63706 authored by Ian Baum's avatar Ian Baum

Updating task-runner tmp changes

* Add rollingUpdate: nil to strategy
* Add notes to documentation
parent 03978d65
Pipeline #58676342 failed with stages
in 2 minutes and 54 seconds
......@@ -9,6 +9,7 @@ metadata:
replicas: 1
rollingUpdate: null
type: Recreate
......@@ -38,3 +38,15 @@ when restoring a backup.
- [Backing up a GitLab installation](
- [Restoring a GitLab installation](
## Troubleshooting
### Pod eviction issues
Backups require being stored temporarily on disk. By default, the task-runner pod only has a memfs filesystem for the tmp directory. If you find your task-runner pod being evicted due to low resources, then you should attach a persistent disk to the pod to act as a tmp volume. On GKE, add the following settings to your helm command:
--set gitlab.task-runner.persistence.enabled=true
For other providers, you may need to create a persistent volume. See our [Storage documentation](../installation/ for possible examples on how to do this.
......@@ -145,6 +145,10 @@ Helm upgrade command.
See the [managing persistent volumes documentation](../advanced/persistent-volumes/
## Optional volumes
* For larger installations, you may need to add persistent storage to the task-runner pod to get backups/restores working. See our [troubleshooting documentation](../ for a guide on how to do this.
[Storage Class]:
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