Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
c7ed0f148f | |||
ec1f0d3f3a |
2 changed files with 8 additions and 5 deletions
|
@ -11,7 +11,7 @@ jobs:
|
||||||
deploy-production:
|
deploy-production:
|
||||||
runs-on: [amd64, prod]
|
runs-on: [amd64, prod]
|
||||||
env:
|
env:
|
||||||
NODES: node-22.rosti.cz node-23.rosti.cz node-24.rosti.cz node-25.rosti.cz node-26.rosti.cz node-28.rosti.cz node-29.rosti.cz
|
NODES: node-22.rosti.cz node-23.rosti.cz node-24.rosti.cz node-25.rosti.cz node-28.rosti.cz node-29.rosti.cz
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: deploy
|
- name: deploy
|
||||||
|
|
|
@ -338,10 +338,13 @@ func (d *Driver) Create(name string, image string, volumePath string, HTTPPort i
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
OOMKillDisable := false
|
// OOMKillDisable := false
|
||||||
if memory < 1500 {
|
// if memory < 1500 {
|
||||||
OOMKillDisable = true
|
// OOMKillDisable = true
|
||||||
}
|
// }
|
||||||
|
// We disable OOM killer because it keeps containers in resource heavy loop
|
||||||
|
// This is from some discussion: If OOM-killer is disabled, tasks under cgroup will hang/sleep in memory cgroup's OOM-waitqueue when they request accountable memory
|
||||||
|
OOMKillDisable := true
|
||||||
|
|
||||||
envList := []string{}
|
envList := []string{}
|
||||||
for key, value := range env {
|
for key, value := range env {
|
||||||
|
|
Loading…
Reference in a new issue