Repository navigation
Commit 64851f0
committed
feat(alloy): set default resource requests
The Alloy container has no resource requests by default. The scheduler
reserves nothing for it, and the node evicts it first under memory
pressure.
Set small CPU and memory requests. Set no limits: usage grows with the
number of scrape targets, and a limit could throttle or OOM-kill the
collector on large clusters. Operators can override
alloy.alloy.resources.1 parent 938aba9 commit 64851f0
3 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| 321 | + | |
| 322 | + | |
321 | 323 | | |
322 | 324 | | |
323 | 325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
210 | 216 | | |
211 | 217 | | |
212 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12112 | 12112 | | |
12113 | 12113 | | |
12114 | 12114 | | |
| 12115 | + | |
| 12116 | + | |
| 12117 | + | |
| 12118 | + | |
12115 | 12119 | | |
12116 | 12120 | | |
12117 | 12121 | | |
| |||
0 commit comments