Closed tbnguyen1407 closed 3 years ago
have the same problem, proposed workaround worked for me.. is there any planned work to fix this issue?
Looks like other projects (probably based on the same original code) are running into similar issues: https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/issues/25 and someone even has already submitted a PR to fix the NFS provisioner https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/pull/26. If I wasn't completely inept at go, I'd give it a shot.
The fix doesn't seem to have any effect on v1.20.2. I believe it only worked with 1.20.0 :-/ Please fix :-)
The fix doesn't seem to have any effect on v1.20.2. I believe it only worked with 1.20.0 :-/ Please fix :-)
I am on 1.20.2 and the workaround seems to be working still.
I might try k3s 1.21 - any idea if workaround will still work?
The feature gate has no until version in docs https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/ so should be OK?
I tried with k3s 1.21. The workaround is still working.
Problem
Provisioner fails to provision for PVC on k8s 1.20.0, probably due to using deprecated API
Related issue
https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner/issues/25
Workaround
Disable deprecation of feature in kube-apiserver-arg