Open s4ke opened 1 year ago
@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...
@s4ke if you don't forward logs anywhere they appear to docker engine own log.
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
@s4ke if you don't forward logs anywhere they appear to docker engine own log.
I think I told you this in Discord as well :laughing:
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)