Commit 3ffd3c1
committed
Fit the integration ControlPlane onto single-node kind
The Keystone integration job OOM-killed its Keystone pod (exit 137,
CrashLoopBackOff). Two causes: the CR left
infrastructure.{database,cache}.replicas unset, so the CRD default of 3
brought up a 3-node Galera MariaDB plus three Memcached pods; and Docker
Desktop's containerd ships LimitNOFILE=infinity, so uWSGI pre-allocated
multiple GiB per worker from the inherited ~1e9 fd limit and died within
seconds of spawning (more memory does not help).
Pin database.replicas and cache.replicas to 1 -- a single-instance
non-Galera MariaDB and one Memcached pod -- and bump FORGE_REF to
a828d6a, whose deploy-infra caps each kind node's containerd
RLIMIT_NOFILE to 1048576 before any workload is scheduled. Together they
let Keystone come up at its default 512Mi/2-worker footprint.
Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Christian Berendt <berendt@osism.tech>1 parent 7fa4baf commit 3ffd3c1
2 files changed
Lines changed: 30 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
9 | 23 | | |
10 | 24 | | |
11 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
13 | 22 | | |
14 | 23 | | |
15 | 24 | | |
| |||
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
33 | | - | |
34 | | - | |
35 | 42 | | |
36 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
37 | 48 | | |
38 | 49 | | |
39 | 50 | | |
| |||
0 commit comments