<p><a href="https://github.com/GoogleCloudPlatform/kubernetes">Kubernetes</a> seems to be all about deploying containers to a cloud of clusters. What it doesn't seem to touch is development and staging environments (or such).</p>

<p>During development you want to be as close as possible to production environment with some important changes:</p>

<ul>
<li>Deployed locally (or at least somewhere where <strong>you and only you can access</strong>)</li>
<li>Use <strong>latest source code</strong> on page refresh (supposing its a website; ideally page auto-refresh on local file save which can be done if you mount source code and use some stuff like <a href="http://yeoman.io/codelab/preview-inbrowser.html">Yeoman</a>).</li>
</ul>

<p>Similarly one may want a non-public environment to do <strong>continuous integration</strong>.</p>

<p>Does Kubernetes support such kind of development environment or is it something one has to build, hoping that during production it'll still work?</p>

<p>Update (2016-07-15)</p>

<p>With the release of Kubernetes 1.3, <a href="https://github.com/kubernetes/minikube">Minikube</a> is now the recommended way to run Kubernetes on your local machine for development. </p>

<hr>

<p>You can run <a href="https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/docker.md">Kubernetes locally via Docker</a>. Once you have a node running you can launch a pod that has a simple web server and mounts a volume from your host machine. When you hit the web server it will read from the volume and if you've changed the file on your local disk it can serve the latest version. </p>
