Page MenuHomeDevCentral

Remove in-container healthchecks for Airflow
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:59.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 05:23
Unknown Object (File)
Fri, Dec 13, 02:48
Unknown Object (File)
Fri, Dec 13, 02:48
Unknown Object (File)
Fri, Dec 13, 02:08
Unknown Object (File)
Fri, Dec 13, 01:44
Unknown Object (File)
Sun, Dec 8, 16:56
Unknown Object (File)
Thu, Nov 28, 10:41
Unknown Object (File)
Wed, Nov 27, 15:42
Subscribers
None

Details

Summary

CPU spikes through docker exec healthcheck feature use
are too important: 132% with a curl every 30 seconds,
vs 5% without for example.

Do the same curl call from outside don't create any spike,
so the CPU cost is clearly the one to log the process,
prepare the documents like JSON configuration or payloads
events for its lifecycle start, attach, stop.

As such, focus will be on out-of-container checks.

See https://github.com/moby/moby/issues/39102 for discussion.

Ref T1812

Test Plan

On Dwellers, CPU usage dropped swiftly to <3% most of the time.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4652
Build 4928: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Mar 31 2023, 00:01