Lockszmith
Cadet
- Joined
- Mar 29, 2022
- Messages
- 3
I've read through docker-nfs-bug.103994 thread, as well as Bluefin release notes and it's known-issues sections.
<rant>
I understand the reasoning behind the checks, however I do struggle with the choice of:
1. Allowing the validation check to be disabled system-wide
2. Deciding that bypassing the checks invalidates support.
I thought Host-Path was a solution that allows sharing data cross different components.
I understand ACLs need to match, and I understand constraints need to be met.
Otherwise what is the difference between Host-Path and PVC ?
With this state of mind, I was hoping that bypassing the checks would either be an app specific setting, or maybe a data-set specific setting.
I am also assuming that what is described in this thread will be patched to align with the test later on, and binding a Host Path that is under a share will be eventually disallowed.
</rant>
My question / why I'm posting:
With this understanding, what would be the best approach to share certain paths across components / apps / systems ?
One approach someone mentioned in the bug-thread, was to bind an NFS shares to the container, instead of a Host Path.
Is that the best approach? Isn't there a performance impact here? Especially for sharing between different apps?
I am hoping for a general discussion about strategies, however I do know some people prefer specifics, so in the following spoiler section I've listed some scenarios that I think are valid.
<rant>
I understand the reasoning behind the checks, however I do struggle with the choice of:
1. Allowing the validation check to be disabled system-wide
2. Deciding that bypassing the checks invalidates support.
I thought Host-Path was a solution that allows sharing data cross different components.
I understand ACLs need to match, and I understand constraints need to be met.
Otherwise what is the difference between Host-Path and PVC ?
With this state of mind, I was hoping that bypassing the checks would either be an app specific setting, or maybe a data-set specific setting.
I am also assuming that what is described in this thread will be patched to align with the test later on, and binding a Host Path that is under a share will be eventually disallowed.
</rant>
My question / why I'm posting:
With this understanding, what would be the best approach to share certain paths across components / apps / systems ?
One approach someone mentioned in the bug-thread, was to bind an NFS shares to the container, instead of a Host Path.
Is that the best approach? Isn't there a performance impact here? Especially for sharing between different apps?
I am hoping for a general discussion about strategies, however I do know some people prefer specifics, so in the following spoiler section I've listed some scenarios that I think are valid.
Some scenarios I've thought of - where sharing directories across apps and SMB shares makes sense to me*
* Synchthing App: Allow access over SMB/NFS to the root dir where Syncthing stores a 'master copy' of files - mainly incoming pictures from a phone's camera.
* Download directory for a torrent client like Deluge or Jdownloader.
*This is by no way an exhaustive list of scenarios.
* Synchthing App: Allow access over SMB/NFS to the root dir where Syncthing stores a 'master copy' of files - mainly incoming pictures from a phone's camera.
* Download directory for a torrent client like Deluge or Jdownloader.
*This is by no way an exhaustive list of scenarios.