We maintain Debian base images for about twenty services, and the upkeep takes a few days a month. We are comparing Chainguard, RapidFort, and Sysdig, but they seem to solve different problems. Is it worth combining them, or should we pick one?
Should we use prebuilt images, image trimming, or runtime monitoring?
Answers
Start with the work you want to get rid of. Chainguard provides maintained minimal images, while RapidFort trims images you already build based on observed use. Sysdig's runtime monitoring is a different decision, not a replacement for maintaining or patching the image.
I'd compare the two image approaches first, then decide separately whether runtime visibility is worth the cost. They can complement each other, but buying all three doesn't automatically eliminate your base image workload.
Reply to this answer
Don't count the maintenance savings without pricing the migration. Changing the base across twenty services means testing compatibility, rebuilding pipelines where needed, and working out how updates get rolled out. Trimming existing images may fit the current build process better, but you still need to account for the underlying base and its patch cycle.
Try a proof of value with a few representative services. Measure the ongoing patching work as well as the initial effort, and check that the resulting images work under the less common code paths too.
Reply to this answer
There's also a do-it-yourself option: use multistage builds and a distroless final image. That can reduce what ships without adopting another image vendor. You still own the build practices, updates, and testing, though, so it may not solve the upkeep problem by itself.
Marnexo-4v:
Check the incident workflow before removing the shell. Kubernetes ephemeral containers are one way to bring debugging tools into a running pod when the application image doesn't have them.
Reply to this answer
Add your answer
Answers are reviewed before publication.
_e35+quendrix.7:
That last bit matters for runtime-based trimming. A test run that misses an occasional job or error path may not exercise everything the service needs.