Daniel Santos
9e3c2ce6e2
Use PublishContext instead
2021-01-20 15:40:34 -07:00
Daniel Santos
4274180f3d
Add mount arguments as CSI volume parameters
2021-01-20 13:58:29 -07:00
Chris Lu
5c89ac3f88
adjust print out
2021-01-12 10:03:28 -08:00
Chris Lu
e4cb2a5c42
print out filer address
2021-01-12 09:43:13 -08:00
Chris Lu
1496166194
add missing equal sign in command line
...
fix https://github.com/seaweedfs/seaweedfs-csi-driver/issues/9
2021-01-11 18:37:35 -08:00
Chris Lu
e45e75e102
add an example on how to add more mount options
2021-01-11 11:31:49 -08:00
Chris Lu
fcc0835e93
refactoring
2021-01-11 11:26:51 -08:00
Chris Lu
0ddc866b7f
update to latest
...
fix https://github.com/seaweedfs/seaweedfs-csi-driver/issues/7
2021-01-11 04:23:38 -08:00
Chris Lu
7523736239
upgrade to k8s.io/client-go v0.17.1, sync with seaweed 2.20
...
fix https://github.com/seaweedfs/seaweedfs-csi-driver/issues/7
2021-01-09 23:17:57 -08:00
Chris Lu
73d4234f5c
reduce dependency
2020-11-22 17:17:55 -08:00
Chris Lu
16a2640481
sync with seaweedfs repo
2020-10-12 14:05:56 -07:00
Chris Lu
db1439327a
Merge pull request #4 from airhorns/patch-1
...
Update CSI yaml to allow using k8s service DNS to contact the filer
2020-10-02 13:18:23 -07:00
Harry Brundage
d1ebf58fcf
Update CSI yaml to allow using k8s service DNS to contact the filer
...
I think lots of users are going to use the CSI driver with a seaweedfs cluster also running in k8s. The natural way to connect the driver to that cluster would be using DNS instead of hard coded IPs, so I set `SEAWEEDFS_FILER` to something like `seaweedfs-filer.seaweed-namespace.svc:8888`, which the driver kept timing out trying to connect. I realized the driver was running using `hostNetwork: true`, which means the in-cluster DNS resolution doesn't happen, so the .svc hostnames are just unresolved.
This changes the default YAML for the next person coming along to use the in-cluster DNS resolution first, and then the host's DNS resolution, so that if the filer happens to be running the cluster, it can be connected from the driver running on the host.
An alternative would be to not use `hostNetworking` for the driver daemonset, but I am presuming that's there for a reason.
2020-10-02 09:03:43 -04:00
Chris Lu
08ee397866
auto created directory need to have open permission on k8s
2020-09-23 02:44:42 -07:00
Chris Lu
3ff7335577
fix compile error
2020-09-04 01:47:33 -07:00
Chris Lu
7cb22dfa36
start weed mount without blocking
2020-09-04 01:34:51 -07:00
Chris Lu
9155a07345
add logging
2020-09-04 00:19:40 -07:00
Chris Lu
bb16388537
add timeout
2020-09-03 23:05:26 -07:00
Chris Lu
e058a6f3a6
Update README.md
2020-07-24 22:25:39 -07:00
Chris Lu
4f75c16b15
fix compilation
2020-07-24 17:10:19 -07:00
Chris Lu
4cae5682d5
sync with seaweedfs repo with go get
2020-07-24 10:30:47 -07:00
Chris Lu
62f208d3b2
Update README.md
2020-06-15 12:53:59 -07:00
Chris Lu
b62ca8e2a9
Merge pull request #1 from thiscantbeserious/master
...
Make Builder Platform agnostic
2020-06-14 13:18:24 -07:00
thiscantbeserious
1b8019af22
Make Builder Platform agnostic
2020-06-14 12:17:56 +02:00
Chris Lu
d4baf626ca
Update README.md
2020-06-12 17:55:30 -07:00
Chris Lu
83b6d75468
Update Dockerfile.dev
2020-06-12 16:03:29 -07:00
Chris Lu
1014dd3b49
add fuse
2020-06-12 15:18:11 -07:00
Chris Lu
7aee5efb03
auto create dir to mount
2020-06-12 12:10:22 -07:00
Chris Lu
080bff4198
empty controller publish unpublish volume implementation
2020-06-12 10:50:26 -07:00
Chris Lu
53f52bda31
add ControllerServiceCapability_RPC_PUBLISH_UNPUBLISH_VOLUME
2020-06-12 01:40:00 -07:00
Chris Lu
66ea0a8df9
set driver name
2020-06-12 01:15:28 -07:00
Chris Lu
6a781d3aee
adjust logs
2020-06-12 00:57:01 -07:00
Chris Lu
d4653dd527
fix glog
2020-06-11 22:20:52 -07:00
Chris Lu
91e8ad3234
logging
2020-06-11 00:47:15 -07:00
Chris Lu
db2c12b1bc
skip checking
2020-06-09 22:34:26 -07:00
Chris Lu
07ddad4e1a
add readme license
2020-06-07 21:58:02 -07:00
Chris Lu
a4443b618c
copied from moosefs
2020-06-07 21:05:04 -07:00
Chris Lu
fb24b64c83
dev prod dockerfilee
2020-06-07 14:28:17 -07:00
Chris Lu
687ca284d1
adjust docker file
2020-06-07 13:52:56 -07:00
Chris Lu
1155c60704
compile
2020-06-02 23:09:33 -07:00
Chris Lu
77697d3433
configure filer via CLI
2020-06-01 22:30:31 -07:00
Chris Lu
002acd516d
build container successfully
2020-05-31 14:11:02 -07:00
Chris Lu
5e19cfc577
it can compile now!
2020-05-31 02:24:20 -07:00
Chris Lu
b21fb2e2b6
WIP
2020-03-19 02:59:45 -07:00