pai icon indicating copy to clipboard operation
pai copied to clipboard

How to limit the access of HDFS under the container

Open hellocandy opened this issue 7 years ago • 3 comments

Organization Name: advantech

Short summary about the issue/question: After submit job, under the container of job, the HDFS can be accessed without any authority. While we will use the same openpai cluster to provide service for many customers. And we want to know how to limit the access of HDFS under the container.

Brief what process you are following:

How to reproduce it:

OpenPAI Environment: cluster

  • OpenPAI version: 0.10.1
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Hardware (e.g. core number, memory size, storage size, GPU type etc.):
  • Others:

Anything else we need to know:

hellocandy avatar Aug 28 '19 08:08 hellocandy

You could consider NFS solution

Currently, HDFS is not a good option to provide authority in OpenPAI.

mzmssg avatar Aug 28 '19 09:08 mzmssg

We planed to provide the blob storage for customer. However, the job container have the right to access the HDFS, we do not want the user to use the HDFS.

hellocandy avatar Aug 29 '19 01:08 hellocandy

we will remove HDFS in pure k8s version. https://github.com/microsoft/pai/issues/3382. This way users won't access the public storage. please watch for our announcement.

fanyangCS avatar Nov 12 '19 11:11 fanyangCS