Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure CSI for Swarm #182

Open
liberodark opened this issue Nov 12, 2024 · 3 comments
Open

Configure CSI for Swarm #182

liberodark opened this issue Nov 12, 2024 · 3 comments

Comments

@liberodark
Copy link
Contributor

liberodark commented Nov 12, 2024

Hi, @Gradlon

Im try to configure seaweedfs csi for swarm :

docker plugin install --disable --alias seaweedfs-csi:swarm --grant-all-permissions gradlon/swarm-csi-swaweedfs:v1.2.0
docker plugin set seaweedfs-csi:swarm FILER=100.66.36.101:8888,100.66.36.102:8888,100.66.36.103:8888,100.66.36.104:8888,100.66.36.105:8888
docker plugin set seaweedfs-csi:swarm CACHE_SIZE=512
docker plugin set seaweedfs-csi:swarm DATACENTER=ni00
docker plugin enable seaweedfs-csi:swarm

The first time I didn't specify the datacenter.
But I still had a bucket that is created and visible in my filers.
But then I tried to deploy a stack it didn't work.
I also updated docker to version 27 but I saw that there is also a new version of the csi driver 1.2.7 I am on the latest version of seaweedfs.
And I don't understand why I can't see my bucket folder and volumes since I wanted to delete everything on docker and start over cleanly.
Any idea about this ?

Have try to check with : curl http://100.66.36.101:8888/buckets/

Best Regards

@Gradlon
Copy link
Contributor

Gradlon commented Nov 12, 2024

Try to roll back to an older Version, of docker.
There is an issue with new docker releases i think 25 should work.

@liberodark
Copy link
Contributor Author

Ok im retry docker 25 first time have try docker 25

@liberodark
Copy link
Contributor Author

liberodark commented Nov 14, 2024

You know if is possible to have same modularity with CSI on docker compose :
https://juicefs.com/docs/community/juicefs_on_docker
Because i cannot found how to setup this on docker compose manually this work but not on docker compose.

https://github.com/juicedata/juicefs-csi-driver
https://juicefs.com/docs/csi/introduction/

docker plugin install juicedata/juicefs
Plugin "juicedata/juicefs" is requesting the following privileges:
 - network: [host]
 - device: [/dev/fuse]
 - capabilities: [CAP_SYS_ADMIN]
Do you grant the above permissions? [y/N] y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants