Pods Failing with "cannot allocate memory" Error

Problem

Pods failing with "cannot allocate memory" error.

Environment

  • Platform9 Managed Kubernetes - All Versions
  • CentOS Linux 7

Answer

  • Error Observed
Bash
Copy
Bash
Copy
  • One of the temporary workaround mentioned is to add the parameter cgroup.memory=nokmem to the GRUB_CMDLINE_LINUX line in the configuration file /etc/default/grub. After that,
Bash
Copy

Long term solution can be to upgrade the Kernel version to the latest version and see if it resolves the issue OR contact the OS vendor for further assistance.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard