Answer the question
In order to leave comments, you need to log in
Need to use process managers for node.js when using kubernetes?
Tell me, do I need to use any of the process managers (pm2, forever...) for an application that will contain a web api on express and a task scheduler on agenda, if Kubernetes manages the application life cycle? i.e. when the application crashes, as I understand it, Kubernetes will start the container with the application on a new one, and therefore it is possible to do without a process manager for the node.js application?
Answer the question
In order to leave comments, you need to log in
k8s will restart the pod in case of a crash, pm2 and the like are better not to use just because when using them there is an additional monitoring issue (for example, the number of application crashes)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question