Using external NFS exports with kubernetes pods

7/31/2018

Is there any way to configure k8s so that pre defined nfs exports on some external nfs server , are only available for the pods that belong to a particular name space and other pods in other name spaces cannot mount it.

-- Ijaz Ahmad Khan
kubernetes
kubernetes-security

1 Answer

8/1/2018

Unfortunately there is no way to manage access to the NFS share in Kubernetes.

You can limit access by using NFS server with Kerberos.

You can find an example in the NFSv4Howto document.

-- Akar
Source: StackOverflow