How to initialize system parameters when installing elasticsearch in openshift4

Posted on

I encountered a problem in using openshift 4 as a container choreography tool. I hope I can ask you for help. The problem is that during the container deployment of elasticsearch cluster, I need to initialize system parameters, such as vm.max_map_count=262144. In the open source kubernetes cluster, I can use spec.initContainers to solve this problem. It seems that this is not allowed in openshift4, so what should I do now

Responses