k3s/test/images/volumes-tester/nfs
Jan Safranek 49921ada74 Configure lower NFS grace period.
From RFC 3530:
  During the grace period, the server must reject READ and WRITE operations
  and non-reclaim locking requests (i.e., other LOCK and OPEN operations)
  with an error of NFS4ERR_GRACE.

That basically means that all open() calls from clients are blocked until the
grace period is over (90 seconds by default).

We want the grace period as low as possible to speed up the tests. '10'
seconds were tested on Fedora 21 and Ubuntu 15.04 as the hosts.

The test image is rebased to Fedora in order to get 'rpc.nfsd -G <n>' option,
Ubuntu does not support it.
2015-08-27 17:50:05 +02:00
..
Dockerfile Configure lower NFS grace period. 2015-08-27 17:50:05 +02:00
Makefile Configure lower NFS grace period. 2015-08-27 17:50:05 +02:00
README.md move contrib/for-tests to test/images 2015-08-14 20:42:46 -07:00
index.html move contrib/for-tests to test/images 2015-08-14 20:42:46 -07:00
run_nfs.sh Configure lower NFS grace period. 2015-08-27 17:50:05 +02:00

README.md

NFS server container for testing

This container exports '/' directory with an index.html inside. NFSv4 only.

Inspired by https://github.com/cpuguy83/docker-nfs-server.

Used by test/e2e/* to test NFSVolumeSource. Not for production use!

Analytics