title: Does NodeJS respect Docker virtualization and resource limits?
body: <p>It is known that some applications aren't aware of Linux kernel isolation and virtualization features such as cgroups. This includes system utils like <code>top</code>, <code>free</code> and <code>ps</code>, but also platforms like Java.</p>
  
  <p>I've recently read <a href="https://very-serio.us/2017/12/05/running-jvms-in-kubernetes/" rel="nofollow noreferrer">an article</a> which suggests that when running JVMs in Kubernetes, you should enforce manual limits on the Java heap size to avoid errors.</p>
  
  <p>I cannot find anywhere whether this is also true for NodeJS. Do I need to implement something like above to set <code>--max_old_space_size=XXX</code> on my NodeJS application in Kubernetes?</p>