3 ms·
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 Doc
by nodesocket 5y ago
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.
- chousuke 5y agoWhat'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.
- TameAntelope 5y agoFrom 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