If it's possible using initcontainer method, please let me know

Ganesan Shankar:
if it’s possible using initcontainer method, please let me know

Mohamed Ayman:
You can copy files and directories to and from a running containers in PODs.

Mohamed Ayman:
Check this:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#cp