I have a test executor Pod in K8s cluster created through helm, which asks for a dynamically created PersistentVolume where it stores the test results.
Now I would like to get the contents of this volume. It seems quite natural thing to do.
I would expect some kubectl download pv <id>. But I can't google up anything.
How can I get the contents of a PersistentVolume?
I am in AWS EKS; so AWS API is also an option. Also I can access ECR so perhaps I could somehow store it as an image and download?
Or, in general, I am looking for a way to transfer a directory, can be even in an archive. But It should be after the container finished and doesn't run anymore.