k3s/test/images/volume/iscsi
Jan Safranek b18dba3794 Parallelize iSCSI tests
iSCSI target (=the server) is implemented in Linux kernel. The "iSCSI
server" pod is not a real server, it just configures the kernel on the
host. In order to run iSCSI tests in parallel, we need to be able to
run multiple such pods on a single node, serving different LUNs to
different tests.

The "server pod" must run with HostNetwork=true to achieve that.
Each pod then creates its own IQN with namespace name, so it can't
collide with other server pods running in another namespaces on the same
node.
2019-04-10 14:43:06 +02:00
..
BASEIMAGE
Dockerfile
README.md
VERSION
block.tar.gz
create_block.sh
run_iscsi_target.sh

README.md

iSCSI target container for testing.

Inspired by https://github.com/rvykydal/dockerfile-iscsid

  • The container needs /lib/modules from the host to insert appropriate kernel modules for iscsi. This assumes that these modules are installed on the host!

  • The container needs to run with docker --privileged

block.tar.gz is a small ext2 filesystem created by create_block.sh (run as root!)

Analytics