How to create a local development environment for Kubernetes?

前端 未结 12 1655
谎友^
谎友^ 2020-12-22 18:59

Kubernetes 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).

Durin

12条回答
  •  旧时难觅i
    2020-12-22 19:11

    Update (2016-07-15)

    With the release of Kubernetes 1.3, Minikube is now the recommended way to run Kubernetes on your local machine for development.


    You can run Kubernetes locally via Docker. 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.

提交回复
热议问题