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:
spec:
replicas: 1
strategy:
rollingUpdate: null
type: Recreate
selector:
matchLabels:
......
......@@ -38,3 +38,15 @@ when restoring a backup.
- [Backing up a GitLab installation](backup.md)
- [Restoring a GitLab installation](restore.md)
## 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/storage.md) for possible examples on how to do this.
......@@ -145,6 +145,10 @@ Helm upgrade command.
See the [managing persistent volumes documentation](../advanced/persistent-volumes/index.md).
## 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](../backup-restore.md#pod-eviction-issues) for a guide on how to do this.
[pv]: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistent-volumes
[pvc]: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims
[Storage Class]: https://kubernetes.io/docs/concepts/storage/storage-classes/
......
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