Comments (4)
apiVersion: v1
kind: Pod
metadata:
name: efs-app
spec:
containers:
- name: app
image: public.ecr.aws/docker/library/centos:centos7.9.2009
command: ["/bin/sh"]
args: ["-c", "while true; do echo $(date -u) >> /data/out.txt; sleep 5; done"]
volumeMounts:
- name: persistent-storage
mountPath: /data
volumes:
- name: persistent-storage
persistentVolumeClaim:
claimName: csi-s3-pvc
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: csi-s3-pvc
namespace: default
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 5Gi
storageClassName: csi-s3
---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: csi-s3
provisioner: ru.yandex.s3.csi
parameters:
mounter: geesefs
# mounter: geesefs
options: "--memory-limit 1000 --dir-mode 0777 --file-mode 0666"
bucket: sva-map-data
csi.storage.k8s.io/provisioner-secret-name: csi-s3-secret
csi.storage.k8s.io/provisioner-secret-namespace: kube-system
csi.storage.k8s.io/controller-publish-secret-name: csi-s3-secret
csi.storage.k8s.io/controller-publish-secret-namespace: kube-system
csi.storage.k8s.io/node-stage-secret-name: csi-s3-secret
csi.storage.k8s.io/node-stage-secret-namespace: kube-system
csi.storage.k8s.io/node-publish-secret-name: csi-s3-secret
csi.storage.k8s.io/node-publish-secret-namespace: kube-system
I tried in the dynamic way, I can see the folder has been created in S3 bucket, but no file is uploaded.
from k8s-csi-s3.
Hi, please check mounts on the host, maybe you have another incarnation of the staging path bug. Post the output of mount|grep -i geesefs
here from the host please...
Basically you should check that your container actually sees a FUSE geesefs mount in the desired directory.
from k8s-csi-s3.
Hey there,
I have exactly the same problem - still searching for a solution.
For now I just installed the driver via helm and values and I see bucket created, checked logs but did not found anything bad... but if I look into my bucket files are not there. (I used pvc and pod from example folder and created iin exec -it mode some files)
Additionally as soon as I mount this pvc my pod even does not terminate correctly anymore.
So I also checked mount
and realised ... container does not see the mount - what can it be?
from k8s-csi-s3.
Maybe it's the mismatch of kubelet path? Are you using /var/lib/kubelet or something else? You can override it now if you install csi-s3 via Helm
from k8s-csi-s3.
Related Issues (20)
- A lower version is used in the csi image deployment file, but arm64 is not supported HOT 1
- Image "quay.io/k8scsi/csi-node-driver-registrar:v1.2.0" should be updated
- Does s3fs support virtual style? HOT 1
- kubelet floods the logs
- Regarding the problem of repeated creation and hanging of pvc HOT 3
- certificate signed by unknown authority HOT 3
- PVC created by storageclass does not support capacity expansion HOT 2
- Readme: support for RWX? HOT 1
- typo? region or endpoint
- Transport endpoint is not connected
- Volume mount is failing with time out error - if CRI is containerd HOT 1
- [0.41.1] after node crash csi-s3 fails umounting a not mounted directory
- exec /csi-node-driver-registrar: exec format error HOT 2
- Feature Request: Let StorageClass automatically create paths based on namespace and name (and offer them to stay even if the PVC is deleted)
- error getting deleter volume plugin for volume "csi-s3-manual": no deletable volume plugin matched
- static PersistentVolume with s3fs fails immediately on initial mount HOT 1
- chmod fails in geesefs - also for subfolders HOT 1
- BUG: volume mounted as root:root despite options are set otherwise HOT 3
- transport endpoint is not connected HOT 1
- [Bug] A new pod attaches to the dying systemd unit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k8s-csi-s3.