k3d icon indicating copy to clipboard operation
k3d copied to clipboard

[FEATURE] Support Longhorn / iscsi

Open gufoe opened this issue 3 years ago • 2 comments

I have seen closed issues #366 and #206 and the discussion #478 about Longhorn and if I am correct there is still no way to use longhorn in k3d.

It seems the only problem is that k3d has no iscsi support, so longhorn manager fails with message "Failed environment check, please make sure you have iscsiadm/open-iscsi installed on the host".

So I have the following questions: Is this correct? Is there any plan to support iscsi/longhorn? Why isn't this as simple as installing iscsi on the docker container?

gufoe avatar Aug 25 '21 11:08 gufoe

Hi @gufoe , thanks for opening this issue! All the information we have is in this discussion: https://github.com/rancher/k3d/discussions/478 Longhorn depends on iscsi, which cannot be installed in the standard k3s image, as it would have to use an OS base image (it's based on scratch). You can surely try (as mentioned in the discussion) to build your own k3s docker image with the required libs installed and then use it with k3d :+1:

iwilltry42 avatar Aug 25 '21 11:08 iwilltry42

+1

doug62 avatar Aug 08 '22 03:08 doug62