Files
cozystack/packages/system/multus/values.yaml
Aleksei Sviridkin ddd00f8639 feat(platform): pass multus resources from networking.multus.resources
The multus chart takes its resources from values, but the platform
renders the cozystack.multus Package with stageCniPlugins alone, and an
edit to that child Package is reverted by the platform reconcile. A
running cluster therefore had no way to raise the multus limits.

networking.multus.resources is passed to the Package only when set, so
an unset key leaves the chart default in charge. A value that is not a
map stops the render here; the multus chart keeps refusing a render
without a memory limit or request.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-10-10 20:59:26 +03:00

28 lines
1.3 KiB
YAML

## @param stageCniPlugins install the reference CNI plugins bundled in the multus image into the node's /opt/cni/bin
## Set this through the platform, not here: networking.stageCniPlugins on the cozystack-platform
## Package resolves the per-variant default. See packages/core/platform/values.yaml.
##
## Accepted spellings are true/yes/on/1 and false/no/off/0, in any case; anything else stops the
## render rather than resolving to off.
##
stageCniPlugins: false
## @param resources resources of the kube-multus container
## Set this through the platform, not here: networking.multus.resources on the cozystack-platform
## Package. See packages/core/platform/values.yaml.
##
## Every pod sandbox on the node waits on this container, which is why there is no CPU limit:
## after a CNI outage left ~600 dead sandboxes for 220 pods on one node, multus at 100m answered
## slower than kubelet's two-minute CRI deadline, every call was retried and the queue only grew.
## With the CPU limit lifted it OOM-looped at 1Gi and cleared the backlog in minutes at 4Gi.
##
## The render fails without limits.memory or requests.memory: the comment above `resources` in
## templates/multus-daemonset-thick.yml explains why a memory limit is kept at any size.
##
resources:
requests:
cpu: 100m
memory: 100Mi
limits:
memory: 4Gi