how can i restart my apache2 service in a kubernetes k8s container without erasing all my configuration

I am trying to deploy a web page using an apache server in kubernetes, but when I try to restart my apache service it expels me from the container and all my configuration is deleted, so it is impossible for me to modify the default page that it brings Apache.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum