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:
Jan Safranek
2015-08-07 10:24:29 +02:00
parent f53e0ff5a8
commit ebcc558734
3 changed files with 53 additions and 37 deletions

View File

@@ -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