You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Leaving these here, so I can get some feedback if someone else stumbles across these:
Learnings:
I can create volumes in the cluster without the plugin I refer to existing
I can't delete volumes that are active calling docker volume rm
I can drain a volume that is pending creation
To debug plugins, nerdctl is useful to exec into the plugin container. You can list plugin containers with nerdctl ps --namespace plugins.moby
To debug via logs (without filtering the docker engine log), you can change the entrypoint in the config.json to forward the logs to a file, then use nerdctl exec to exec into the container to get the logs
@olljanat maybe moving the discussion about debug logs here, as this is useful for others as well. Did you find a way to access the plugin logs besides forwarding them to a file like I did above?
If there is no better way, I am thinking about using the mounts section of the plugin config.json to mount log files and simply append to those. This will require some log rotation logic then...
Okay, this makes things easier then. I was under the impression that this didnt work this way, but this could have been a fluke due to debugging errors
Leaving these here, so I can get some feedback if someone else stumbles across these:
Learnings:
docker volume rm
nerdctl ps --namespace plugins.moby
Unsure if these are bugs:
Features that seem to be missing in the CSI support:
docker volume rm -f
bypasses the plugin alltogether, useful for manual volume resizing - unclear if this is expected behaviour)The text was updated successfully, but these errors were encountered: