pai icon indicating copy to clipboard operation
pai copied to clipboard

make internal storage service into init container

Open hzy46 opened this issue 4 years ago • 0 comments

Currently internal storage is used as a service in OpenPAI. We can make it an init container. Using init container has the following advantages:

  • Different services can leverage the same logic.
  • It is more convenient to ensure the correct storage is mounted.
  • Cleaner than current implementation.

Considering there's only one service using internal storage now, it may be not worth the effort to implement the above mechanism. We can leave it to a future work.

hzy46 avatar Mar 03 '21 06:03 hzy46