Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

A job's large log output does not get published to NATS #380

Open
deanlinaras opened this issue Dec 1, 2022 · 1 comment
Open

A job's large log output does not get published to NATS #380

deanlinaras opened this issue Dec 1, 2022 · 1 comment

Comments

@deanlinaras
Copy link

When having a container spawn by JES being too verbose this causes JES to fail publishing to NATS. This results with next task not receiving the appropriate trigger to continue and the whole stage to eventually timeout.

Unable to send event: could not publish message to NATS: nats: maximum payload exceeded                                                                                                                               
msg="Unable to send '.finished' event: All attempts fail:\n#1: Unable to send event: could not publish message to NATS: nats: maximum payload exceeded.
@agardnerIT
Copy link
Contributor

This is probably more an issue for the core Keptn rather than an issue with JES (raised here), but to keep things in one spot for now:

NATS has a max_payload parameter that can be set during install (ie. via helm) (nats.limits.maxPayload). The default is 1MB.

NATS don't recommend setting that limit to anything above 64MB.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants