News for hackers. Stuff that matters.
Re:`COPY –chmod` reduced the size of my container image by 35% by nodesocket on Saturday March 26, 2022 @12:30AM (#30809248)
pm2 is great when running on servers, but using pm2 in containers feels wrong and again wasteful. Just invoke your script. If it crashes, fine Kubernetes or Docker handles that. Logs, handled by k8s. Monitoring I use DataDog.
Re:`COPY –chmod` reduced the size of my container image by 35% by chousuke on Saturday March 26, 2022 @05:12AM (#30810382)
What's the point of pm2? Every time I've seen it it's just been part of a messy misconfigured system and whatever it's actually doing could've been accomplished entirely with a tiny systemd unit running node directly.
Re:`COPY –chmod` reduced the size of my container image by 35% by TameAntelope on Saturday March 26, 2022 @04:30PM (#30815092)
From their site, I’m on mobile so the paste is a little rough.

BEHAVIOR CONFIGURATION

SOURCE MAP SUPPORT

CONTAINER INTEGRATION

WATCH & RELOAD

LOG MANAGEMENT

MONITORING

MODULE SYSTEM

MAX MEMORY RELOAD

CLUSTER MODE

HOT RELOAD

DEVELOPMENT WORKFLOW

STARTUP SCRIPTS

DEPLOYMENT WORKFLOW

PAAS COMPATIBLE

KEYMETRICS MONITORING

API