Commit Graph

6 Commits

Author SHA1 Message Date
Weilu Jia
2d347b5778 Update other CSI containers
Drops support for K8s <1.17
Add new needed permissions
2021-01-11 03:07:28 -08:00
Weilu Jia
dc46248f16 Fix compatability with K8s v1.20
csi-provisioner v1.0.1 doesn't support K8s v1.20 as it uses selfLink
Update to latest csi-provisioner and fix any incompatibilities
2021-01-11 03:06:35 -08: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
bb16388537 add timeout 2020-09-03 23:05:26 -07:00
Chris Lu
db2c12b1bc skip checking 2020-06-09 22:34:26 -07:00
Chris Lu
a4443b618c copied from moosefs 2020-06-07 21:05:04 -07:00