k3s/pkg/volume/rbd
Yecheng Fu 08d1c0b412 RBD Plugin: Pass monitors addresses in a comma-separated list instead of
trying one by one.

In production, monitors may crash (or have a network problem), if we try
monitors one by one, rbd command will hang a long time (e.g. `rbd map -m
<unconnectable_host_ip>` on linux 4.4 timed out in 6 minutes) when
trying a unconnectable monitor. This is unacceptable.

Actually, we can simply pass a comma-separed list monitor addresses
to `rbd` command utility. Kernel rbd/libceph modules will pick
monitor randomly and try one by one, `rbd` command utility succeed soon
if there is a good one in monitors list.
2017-12-21 21:02:25 +08:00
..
BUILD Support ceph rbd resize 2017-11-22 19:48:02 +08:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
attacher.go Rename Detach() parameter. 2017-10-31 10:55:19 +01:00
disk_manager.go fix error typo of rbd volume teardown 2017-12-01 10:07:59 +08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
rbd.go Merge pull request #55991 from supereagle/core-client-with-version 2017-12-13 22:26:01 -08:00
rbd_test.go Support ceph rbd resize 2017-11-22 19:48:02 +08:00
rbd_util.go RBD Plugin: Pass monitors addresses in a comma-separated list instead of 2017-12-21 21:02:25 +08:00