4 ms·
I don't understand why people think k8s is a good replacement for pm2. The resource requirements to run containers over standard processes is tremendously diffe
by andrewmcwatters 3y ago
I don't understand why people think k8s is a good replacement for pm2. The resource requirements to run containers over standard processes is tremendously different in practice.
Can you make Kubernetes deployments easier than this?
cd myapp
# Ignore multer.
NODE_ENV=production PORT=80 HTTPS_PORT=443 pm2 start bin/www --name myapp --watch --ignore-watch="\.git node_modules uploads"
pm2 startup
pm2 save