<p>I'm about to move my existing wordpress website to kubernetes. I've created helm chart with everything such as pvc, configmap, ingress, deployment and so on. But main problem is how could I move existing wordpress content folder to PVC? I mean, could I move wordpress content folder from my laptop to PVC?</p>

PPShein
<p>I would approach this problem first by creating a docker image of your wordpress website. This tutorial might help <a href="https://buddy.works/guides/wordpress-docker-kubernetes-part-1" rel="nofollow noreferrer">https://buddy.works/guides/wordpress-docker-kubernetes-part-1</a> .</p>
<p>Then I can push this new image to docker hub. And then I would not need PVC but a Deployment kubernets object that instantiate this image.</p>
<p>After you have a PVC in your k8s you can use a mountPath in pod, as it is shown here <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/</a> .</p>
