<p>I have used Kubernetes and I deployed for example WordPress or nginx or etc. We install from the YAML file. Where is it installed how can i find directory of pages(for example WordPress pages etc.) at same point at Google Cloud too. When I use Kubernetes at Google Cloud where is the path of installed files(ex. index.php).</p>

gokhandincel
<p>If you are running the docker image <strong>directly</strong> without attaching anything like NFS, S3 or Disk then you will be able to get those files by default in the container file system(index.php and all).</p>
<p>With any <strong>K8s</strong> cluster you check files inside <strong>container</strong> either Gcloud or any :</p>
<pre><code>kubectl get pods

kubectl exec -it &lt;Wordpress pod name&gt; -- /bin/bash
</code></pre>
<p>If you are attaching the File system like <strong>NFS</strong>, or object storage <strong>S3</strong> or <strong>EFS</strong> you will be able to watch those files there unless you mount and apply config using the <strong>YAML</strong> file.</p>
<p>Regarding setup file (<strong>YAML</strong>),</p>
<p>Kubernetes uses the <strong>ETCD</strong> database as a data store. The flow is like this. <strong>Kubectl</strong> command connect to <strong>API server</strong> and sends the YAML file to API server. API parses and store the information in ETCD database so you wont be getting those file as it is in YAML format.</p>
