Page MenuHomeDevCentral

Remove in-container healthchecks for Airflow
ClosedPublic

Authored by dereckson on Mar 30 2023, 23:59.
Tags
None
Referenced Files
F3748047: D2950.diff
Sat, Nov 16, 06:25
Unknown Object (File)
Fri, Nov 15, 04:34
Unknown Object (File)
Fri, Nov 15, 04:31
Unknown Object (File)
Fri, Nov 15, 04:17
Unknown Object (File)
Fri, Nov 15, 00:41
Unknown Object (File)
Fri, Nov 15, 00:15
Unknown Object (File)
Thu, Nov 14, 18:11
Unknown Object (File)
Thu, Nov 14, 17:23
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