Make `SIDEKIQ_MEMORY_KILLER_MAX_RSS` settable in the chart
Summary
Large restores from backups are being memory killed. To remediate this, its recommended (per https://gitlab.com/gitlab-org/gitlab-ce/issues/52956#note_111473696) to set SIDEKIQ_MEMORY_KILLER_MAX_RSS
in the defaults.rb
file. Setting this variable through the chart is not possible.
Steps to reproduce
Restore a backup.
Configuration used
global:
gitlabVersion: 11.5.0
ingress:
class: traefik
configureCertmanager: false
hosts:
domain: domain.local
gitlab:
name: domain.local
registry:
name: registry.domain.local
minio:
name: s3.domain.local
externalIP: ...
nginx-ingress:
enabled: false
certmanager:
install: false
gitlab:
migrations:
image:
repository: registry.gitlab.com/gitlab-org/build/cng/gitlab-rails-ce
sidekiq:
nodeSelector:
disktype: optane
image:
repository: registry.gitlab.com/gitlab-org/build/cng/gitlab-sidekiq-ce
unicorn:
nodeSelector:
disktype: optane
image:
repository: registry.gitlab.com/gitlab-org/build/cng/gitlab-unicorn-ce
workhorse:
image: registry.gitlab.com/gitlab-org/build/cng/gitlab-workhorse-ce
task-runner:
image:
repository: registry.gitlab.com/gitlab-org/build/cng/gitlab-task-runner-ce
Current behavior
* org/repo_with_files ... Error: 13:CreateRepositoryFromBundle: cmd wait failed: exit status 128
[Failed] restoring org/repo_with_files repository
* user/emptyrepo ... [DONE]
Failing for non-empty repositories, restoring empty repositories.
Expected behavior
Backup restoring successfully.
Versions
- Chart: gitlab/gitlab ebb1dfd2
- Platform:
- Self-hosted: kubeadm
- Kubernetes: (
kubectl version
)- Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-21T09:17:39Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
- Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.1", GitCommit:"eec55b9ba98609a46fee712359c7b5b365bdd920", GitTreeState:"clean", BuildDate:"2018-12-13T10:31:33Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}
- Helm: (
helm version
)- Client: &version.Version{SemVer:"v2.12.0", GitCommit:"d325d2a9c179b33af1a024cdb5a4472b6288016a", GitTreeState:"clean"}
- Server: &version.Version{SemVer:"v2.12.0", GitCommit:"d325d2a9c179b33af1a024cdb5a4472b6288016a", GitTreeState:"clean"}
Relevant logs
(Please provide any relevate log snippets you have collected, using code blocks (```) to format)