Open
Description

root@new20221:~/.../satellite-object-storage-plugin# kubectl get pods
NAME READY STATUS RESTARTS AGE
cos-csi-app 1/1 Running 0 63m
cos-s3-csi-controller-5dfb6d8d78-6qqfn 3/3 Running 0 108m
cos-s3-csi-driver-fdmng 3/3 Running 0 108m
cos-s3-csi-driver-v86jz 3/3 Running 0 108m
cos-s3-csi-driver-zmw22 3/3 Running 0 108m
root@new20221:~/.../satellite-object-storage-plugin# kubectl exec -it cos-csi-app /bin/bash
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
root@cos-csi-app:/# mount | grep s3fs
s3fs on /data type fuse.s3fs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
root@cos-csi-app:/# ls /data
root@cos-csi-app:/# echo "hi" > /data/new.txt
root@cos-csi-app:/# mount | grep s3fs
s3fs on /data type fuse.s3fs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)
root@cos-csi-app:/# ls /data
new.txt
root@cos-csi-app:/#
root@cos-csi-app:/#
root@cos-csi-app:/#
root@cos-csi-app:/# exit
exit
root@new20221:~/.../satellite-object-storage-plugin#

root@new20221:~/.../satellite-object-storage-plugin# kubectl get pods
kubectl delete pod NAME READY STATUS RESTARTS AGE
cos-csi-app 1/1 Running 0 76m
cos-s3-csi-controller-5dfb6d8d78-6qqfn 3/3 Running 0 121m
cos-s3-csi-driver-fdmng 3/3 Running 0 121m
cos-s3-csi-driver-v86jz 3/3 Running 0 121m
cos-s3-csi-driver-zmw22 3/3 Running 0 121m
root@new20221:~/.../satellite-object-storage-plugin# kubectl delete pod cos-csi-app
pod "cos-csi-app" deleted
root@new20221:~/.../satellite-object-storage-plugin# kubectl get pvc
kubNAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
cos-s3-csi-pvc Bound pvc-58198af3-232d-48ac-b4d1-6d70e1646990 256Mi RWO cos-s3-csi-sc 77m
root@new20221:~/.../satellite-object-storage-plugin# kubectl delete pvc cos-s3-csi-pvc
persistentvolumeclaim "cos-s3-csi-pvc" deleted
root@new20221:~/.../satellite-object-storage-plugin# kubectl get pod
NAME READY STATUS RESTARTS AGE
cos-s3-csi-controller-5dfb6d8d78-6qqfn 3/3 Running 0 122m
cos-s3-csi-driver-fdmng 3/3 Running 0 122m
cos-s3-csi-driver-v86jz 3/3 Running 0 122m
cos-s3-csi-driver-zmw22 3/3 Running 0 122m
root@new20221:~/.../satellite-object-storage-plugin#
Metadata
Metadata
Assignees
Labels
No labels