mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 11:12:03 +00:00
Add NFS export/import pod examples.
This commit is contained in:
5
examples/nfs/nfs-data/Dockerfile
Normal file
5
examples/nfs/nfs-data/Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM jsafrane/nfsexporter
|
||||
MAINTAINER Jan Safranek <jsafrane@redhat.com>
|
||||
ADD index.html /mnt/data/index.html
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/run_nfs", "/mnt/data"]
|
7
examples/nfs/nfs-data/README.md
Normal file
7
examples/nfs/nfs-data/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# NFS-exporter container with a file
|
||||
|
||||
This container exports /mnt/data with index.html in it via NFSv4. Based on
|
||||
../exporter.
|
||||
|
||||
Available in dockerhub as
|
||||
[jsafrane/nfs-data](https://registry.hub.docker.com/u/jsafrane/nfs-data/).
|
1
examples/nfs/nfs-data/index.html
Normal file
1
examples/nfs/nfs-data/index.html
Normal file
@@ -0,0 +1 @@
|
||||
Hello world!
|
Reference in New Issue
Block a user