how to change kernel parameters of a pod in Openshift?
Kernel command line parameters can't be changed per pod, but vm.max_map_count
is parameter you can change via sysctl.
See these two similar SO question for a solution:
There is also a more general explanation in the official Kubernetes documentation on sysctl
You cannot change kernel parameters for individual pods; they have to be fixed in the underlying operating system.