diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2024-07-18 09:01:48 -0700 |
|---|---|---|
| committer | Chris Lu <chrislusf@users.noreply.github.com> | 2024-07-18 09:02:27 -0700 |
| commit | 22f52af93c64982595dfbda9afc1eb7906d537da (patch) | |
| tree | 8a7774dfa539142f8700efc97f241f2891b69a7f /deploy | |
| parent | 6ebdbc1771320145e9056325616e63e75de4eca8 (diff) | |
| download | seaweedfs-csi-driver-22f52af93c64982595dfbda9afc1eb7906d537da.tar.xz seaweedfs-csi-driver-22f52af93c64982595dfbda9afc1eb7906d537da.zip | |
Delete deploy/swarm/README.md
Diffstat (limited to 'deploy')
| -rw-r--r-- | deploy/swarm/README.md | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/deploy/swarm/README.md b/deploy/swarm/README.md deleted file mode 100644 index d832110..0000000 --- a/deploy/swarm/README.md +++ /dev/null @@ -1,44 +0,0 @@ -# SeaweedFS CSI-Driver Docker Plugin - -This Docker plugin integrates the SeaweedFS CSI-Driver with Docker. It allows you to use SeaweedFS as a volume driver in Docker environments. - -## Environment Variables - -| Variable | Description | -|-----------------------|-------------------------------------------------------------------------------------------------------| -| `FILER` | Filer endpoint(s), format: `<IP1>:<PORT>,<IP2>:<PORT2>` | -| `CACHE_SIZE` | The size of the cache to use in MB. Default: 256MB | -| `CACHE_DIR` | The cache directory. | -| `C_WRITER` | Limit concurrent goroutine writers if not 0. Default 32 | -| `DATACENTER` | Data center this node is running in (locality-definition). Default: `DefaultDataCenter` | -| `UID_MAP` | Map local UID to UID on filer, comma-separated `<local_uid>:<filer_uid>` | -| `GID_MAP` | Map local GID to GID on filer, comma-separated `<local_gid>:<filer_gid>` | - -## Mounts - -| Mount Destination | Source Path | Description | -|---------------------|-----------------|------------------------------| -| `/node_hostname` | `/etc/hostname` | Used to get the nodename | -| `/tmp` | `/tmp` | Used for caching | - -## Usage - -```bash -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=<IP>:8888,<IP>:8888 -docker plugin set seaweedfs-csi:swarm CACHE_SIZE=512 -docker plugin enable seaweedfs-csi:swarm -docker volume create --driver seaweedfs-csi:swarm --availability active --scope single --sharing none --type mount --opt path="/docker/volumes/teste1" test-volume - -docker volume create \ - --driver seaweedfs-csi:swarm \ - --availability active \ - --scope multi \ - --sharing all \ - --type mount \ - testVolume - - docker service create --name testService --mount type=cluster,src=testVolume,dst=/usr/share/nginx/html --publish 2080:80 nginx -``` - -Volumes are store in the "/buckets" folder on the Seaweed server. |
