Open travisgroth opened 1 day ago
I hadn't looked at my config for a while. I have this:
{
"storageClassConfigs": {
"local-path": {
"sharedFileSystemPath": "/stor/k8s/ssd/local-path"
},
"local-path-disk": {
"sharedFileSystemPath": "/stor/k8s/disk/local-path"
}
}
}
It seems that when a shared filesystem is being used, the affinity is not set in the volume spec, which leads to my error. I suppose implicitly this means only hostPath is supported for shared filesystem paths.
I don't actually use shared filesystems (and I need to correct my config) but I'm wondering if there's a reason shared local volumes aren't supported or if this is just leftover from hostPath assumptions, where no affinity was required in the spec.
I'm trying to create
local
volumes instead of hostPath so that I can use Velero with my volumes but I'm running into an issue when the PVs are created.Storage Class:
PVC:
Logs:
This sounds like the PV isn't being created with the selected node set in affinity. Is there something else I'm missing or is this a bug?
I had this issue in 0.0.28 and it persists in 0.0.30. I tried upgrading when I noticed #454 but that doesn't seem to have fixed the issue.
Thanks!