Repository navigation
Commit e3164a1
committed
refactor(linstor): move the satellite sizing account out of the manifest
Same treatment multus just had, and for the same reason: a `#` comment
in a template is copied verbatim into the rendered
LinstorSatelliteConfiguration in every cluster and goes stale the
moment a number changes. The block attached to the satellite's
resources stanza was 22 lines, all of it written on this branch, and it
is the one the reviewer's MINOR named alongside multus.
The template now carries what a reader needs at the point of decision
and nothing more: that the container is deliberately limit-free, that
it is a JVM and that linstor-controller is exempted for the same
reason, where the full account lives, and the measured peak. The peak
line stays in the manifest deliberately -- it is one line, it is a
measurement, and it is what someone changing the request needs in front
of them rather than one file away. The plunger block gets the same
treatment at 9 lines down to 5, since most of what it grew to say was
mechanism that reads better beside the assertions.
Everything moved out was already in tests/satellites_test.yaml after
the previous commit, with one exception now added there: that the
satellite runs the same JVM is evidenced by
images/piraeus-server/Dockerfile installing default-jre-headless and
starting it with `startSatellite`. That is the evidence which overturned
the sizing premise under review, so it belongs somewhere a reader can
find it rather than only in a commit message.
Comments only. No rendered value changes, and satellites_test.yaml
still fails on a re-added ceiling.
Assisted-By: Claude <[email protected]>
Signed-off-by: Myasnikov Daniil <[email protected]>1 parent 3bde62d commit e3164a1
3 files changed
Lines changed: 15 additions & 33 deletions
File tree
- packages/system/linstor
- templates
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
38 | 20 | | |
39 | 21 | | |
40 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
23 | 19 | | |
24 | 20 | | |
25 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
0 commit comments