<p>Is it possible to take an image or a snapshot of container running inside pod using <code>kubectl</code>?</p>
<p>Via <code>docker</code>, it is possible to use the <code>docker commit</code> command that creates an image of a container from which we can spawn more containers. I wanted to understand if there was something similar that we could do with <code>kubectl</code>.</p>

<p>No, partially because that's not in the kubernetes mental model of anything one would <em>wish</em> to do to a cluster, and partially because docker is not the only container runtime kubernetes uses. Every runtime one <em>could</em> use underneath kubernetes would need to support that operation, and I doubt they do.</p>
<p>You are welcome to do your own <code>docker commit</code> either by getting a shell on the Node, or by running a privileged Pod then connecting to the <code>docker.sock</code> via a <code>volumeMount</code> and running it that way</p>
