nfs-server
Container running NFS server (registry.k8s.io/volume-nfs:0.8
) for debug purpose.
Usage with docker
# Start NFS server
docker compose up -d
# Retrieve IP
NFS_SERVER_IP=$(docker inspect nfs_server | jq -r '.[].NetworkSettings.Networks.devbox.IPAddress')
# show exports
showmount -e $NFS_SERVER_IP
Usage with Kubernetes
Warning : In most Kubernetes clusters, nodes cannot resolve nfs-server.nfs-system.svc.cluster.local
- Read k8s-install.sh and run :
bash k8s-install.sh