-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--feature-gates=DynamicVolumeProvisioning=false not turning off dynamic volume provisioning? #1240
Comments
Can you post the output of |
Hi Aaron, Yep, got that ...
Rest of the log whilst running the example is attached below. Kind regards Jon Log from minikube start --feature-gates=DynamicVolumeProvisioning=false.txt |
I'm having this same issue with Minikube 0.17.1 on Windows 7. I'm not using the --feature-gates=DynamicVolumeProvisioning option, but regardless I would expect my PersistentVolumes to be bound and not ignored by the claims. Is this a bug or expected behavior in Minikube? |
I'm not sure exactly why the option is getting ignored, but in the next version of minikube you can disable dynamic hostpath provisioning by |
It's also happening to me. |
Does disabling the addon work? |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Minikube version (use
minikube version
): minikube version: v0.17.1Environment:
cat ~/.minikube/machines/minikube/config.json | grep DriverName
): "DriverName": "xhyve"cat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
): v1.0.7What happened:
I'm trying to characterise why the creating and using a persistent volume example from here:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/
which previously worked for me, but now doesn't, for more see:
kubernetes/website#2803.
I thought that perhaps if I explicitly turned off the dynamic volume provisioning when I started minikube it might stop the dynamic provisioning and subsequent got the example working again without having to resort to annotation to fix/workaround, it doesn't make any difference though.
What you expected to happen:
The claim should not have triggered created the dynamic (pvc-... ) volume, at least if the example is correct.
How to reproduce it (as minimally and precisely as possible):
minikube start --feature-gates=DynamicVolumeProvisioning=false
As can be seen, volume that was manually created remains unbound and the pvc has triggered the creation of a temporary volume, which is unexpected.
If the experiment is repeated without
--feature-gates=DynamicVolumeProvisioning=false
then it shows no change in behaviour i.e. the example remains broken in both cases.Anything else do we need to know:
The text was updated successfully, but these errors were encountered: