-
Notifications
You must be signed in to change notification settings - Fork 529
Problem with provisioning PV in the kind cluster #7
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
Comments
Thanks for raising! Can you post the output of describing the storageclass?
|
|
I think the root cause here is that I didn't specify that the pod needed to be scheduled onto the same node that the PV was manually created on ( Because of this, sometimes the pod would be scheduled there and it would work as expected but other times the k8s scheduler would place it onto There are two things I could do to fix this:
I went with (2), implemented in this commit 2bad7c2 @accessd -- can you confirm if this solves the problem for you? (and close the issue if so!) Thanks again for raising it! |
Yep! It works! Thank you! |
Hi @sidpalas , Thank you for the awesome tutorial! Here is the PVCs definition that I tried to create
Here is the log
|
Software that I'm using:
docker desktop for Mac, version 4.33.0 (160616)
kind v0.23.0 go1.22.2 darwin/amd64
I'm trying to apply manifests:
Then if we're checking the status of the pod and PVC, we get the following:
Output of
k describe pvc
:So, we have the error
claim.Spec.Selector is not supported
, I think it's specific to "standard" storage class.If we're removing the
selector
block, then everything is provisioned successfully:but I can't see
/some/path/in/container
path mounted inside the container.The text was updated successfully, but these errors were encountered: