Commit 3a305c1c authored by k8s-merge-robot's avatar k8s-merge-robot Committed by GitHub

Merge pull request #28978 from foxish/patch-1

Automatic merge from submit-queue Added instructions on turning on dynamic provisioning for testing. HostPath volumes are not automatically provisioned unless we pass in `--enable-hostpath-provisioner` to the controller manager. This was not mentioned in the docs previously, leading to questions like [this](https://groups.google.com/forum/#!searchin/kubernetes-dev/mysterious/kubernetes-dev/jVk_RgAkbaY/LRX7IuCEDQAJ).
parents e60df085 80d4800d
...@@ -51,8 +51,7 @@ There is no provisioner when running outside of any of those 3 cloud providers. ...@@ -51,8 +51,7 @@ There is no provisioner when running outside of any of those 3 cloud providers.
A fourth provisioner is included for testing and development only. It creates HostPath volumes, A fourth provisioner is included for testing and development only. It creates HostPath volumes,
which will never work outside of a single node cluster. It is not supported in any way except for which will never work outside of a single node cluster. It is not supported in any way except for
local for testing and development. local for testing and development. This provisioner may be used by passing `--enable-hostpath-provisioner=true` to the controller manager while bringing it up. When using the hack/local_up_cluster.sh script, this flag is turned off by default. It may be turned on by setting the environment variable `ENABLE_HOSTPATH_PROVISIONER` to true prior to running the script.
### User provisioning requests ### User provisioning requests
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment