Node.js · Senior · Question 58 of 75

Running Node.js in Kubernetes, should you use the cluster module inside each pod?

Explanation

One process per container keeps metrics, memory limits and restarts simple. cluster still helps on a single VM without an orchestrator.

Further reading

Problem with a question

Node.js · Senior · question 58

Test yourself

Take the Node.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz