Elasticsearch pods in crasloopbackoff with vm.max_map_count too low in RHOCP 4

Solution Verified - Updated -

Issue

  • How to properly configure the kernel vm.max_map_count parameter in Openshift 4
  • Elasticsearch pods in CrashLoopBackOff with error:

    2023-11-30T15:55:52.804548021+04:00 ERROR: [1] bootstrap checks failed
    2023-11-30T15:55:52.804548021+04:00 [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
    

Environment

  • Red Hat Openshift Container Platform 4 (RHOCP)
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content