Limiting memory for a process inside the pod (container)

Kubernetes does not have a way to limit one process, just a whole container.