Question

I have set up csi-for-s3 on k8s, can create files but cannot see them.

I installed csi-for-s3 in a cluster. The one that uses [geesefs](CSI for S3 | DigitalOcean Marketplace 1-Click App). Precreated a bucket and create yamls to that bucket.

Can touch <file> or vi <file> and the file is seen on the D.O.

But cannot see the files on the container, using kubectl exec … ls. Even I cannot see the files I just created.

The container image is Alpine. Directory were the files are, is root and group root.

kubectl logs -l app=csi-s3-provisioner -n csi-s3, gives:

I0919 07:16:42.669631       1 reflector.go:530] k8s.io/client-go/informers/factory.go:134: Watch close - *v1.PersistentVolumeClaim total 4 items received
I0919 07:17:22.192663       1 reflector.go:530] sigs.k8s.io/sig-storage-lib-external-provisioner/v6/controller/controller.go:875: Watch close - *v1.StorageClass total 0 items received
I0919 07:20:21.956558       1 reflector.go:530] sigs.k8s.io/sig-storage-lib-external-provisioner/v6/controller/controller.go:872: Watch close - *v1.PersistentVolume total 0 items received
I0919 07:23:17.698600       1 reflector.go:530] k8s.io/client-go/informers/factory.go:134: Watch close - *v1.PersistentVolumeClaim total 0 items received
I0919 07:24:18.412923       1 reflector.go:530] k8s.io/client-go/informers/factory.go:134: Watch close - *v1.StorageClass total 9 items received
I0919 07:25:30.205731       1 reflector.go:530] sigs.k8s.io/sig-storage-lib-external-provisioner/v6/controller/controller.go:875: Watch close - *v1.StorageClass total 10 items received
I0919 07:26:44.994973       1 reflector.go:530] sigs.k8s.io/sig-storage-lib-external-provisioner/v6/controller/controller.go:872: Watch close - *v1.PersistentVolume total 8 items received
I0919 07:28:25.960968       1 reflector.go:381] sigs.k8s.io/sig-storage-lib-external-provisioner/v6/controller/controller.go:872: forcing resync
I0919 07:28:25.963330       1 reflector.go:381] k8s.io/client-go/informers/factory.go:134: forcing resync
I0919 07:29:58.726554       1 reflector.go:530] k8s.io/client-go/informers/factory.go:134: Watch close - *v1.PersistentVolumeClaim total 7 items received*

Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more