Revert "Use a service between e2e volume tests clients and servers."
iSCSI and RBD volumes don't work as Kubernetes services - these protocols
are broken by S-NAT created by kube-proxy - at least iSCSI exhanges real
IP address of the iSCSI target as part of the protocol.
This reverts commit 118004c166
.
This commit is contained in:
@@ -20,9 +20,7 @@ function start()
|
||||
# prepare /etc/exports
|
||||
for i in "$@"; do
|
||||
# fsid=0: needed for NFSv4
|
||||
# no_root_squash: root can read/write
|
||||
# insecure: allow access from ports > 1024
|
||||
echo "$i *(rw,fsid=0,no_root_squash,insecure)" >> /etc/exports
|
||||
echo "$i *(rw,fsid=0,no_root_squash)" >> /etc/exports
|
||||
echo "Serving $i"
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user