@tapiocaPENGUIN , Thanks for your answer.
We actually missed this path 4.0.25 → 4.2.x → 4.4.x → 5.0.x → 6.0.x.
We are running mongodb community version in kubernetes environment
What we plan to do is,
- deploy mongo community version 6.0.4
- take a backup of data from existing mongo version 4.0.25
- restore it into mongo 6.0.4
- decommission mongo 4.0.25.
I hope this is doable, let me know otherwise