<p>I created ConfigMap using kubectl and I can also see it using:</p>

<pre><code>kubectl get cm
</code></pre>

<p>I am just curious where kubernetes stores this data/information within the cluster? Does it store in etc? How do I view it, if it stored in etcd?</p>

<p>Does it store in any file/folder location or anywhere else?</p>

<p>I mean where kubernetes stores it internally?</p>

<p>Yes etcd is used for storing ConfigMaps and other resources you deploy to the cluster. See <a href="https://matthewpalmer.net/kubernetes-app-developer/articles/how-does-kubernetes-use-etcd.html" rel="noreferrer">https://matthewpalmer.net/kubernetes-app-developer/articles/how-does-kubernetes-use-etcd.html</a> and note <a href="https://github.com/kubernetes/kubernetes/issues/19781#issuecomment-172553264" rel="noreferrer">https://github.com/kubernetes/kubernetes/issues/19781#issuecomment-172553264</a> </p>

<p>You view the content of the configmap with 'kubectl get cm  -oyaml' i.e. through the k8s API directly as illustrated in <a href="https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/" rel="noreferrer">https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/</a> You don't need to look inside etcd to see the content of a configmap. </p>
