Page MenuHomeDevCentral

Remove in-container healthchecks for Airflow
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:59.
Tags
None
Referenced Files
F2966191: D2950.id7512.diff
Sun, May 19, 10:13
F2966190: D2950.id7511.diff
Sun, May 19, 10:13
Unknown Object (File)
Sat, May 18, 09:22
Unknown Object (File)
Sat, May 18, 09:07
Unknown Object (File)
Sat, May 18, 06:46
Unknown Object (File)
Fri, May 17, 18:07
Unknown Object (File)
Fri, May 17, 12:37
Unknown Object (File)
Mon, May 13, 15:13
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 Not Applicable
Unit
Tests Not Applicable

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