Welcome to the Linux Foundation Forum!

Question on emptyDir

Daniel-Jacob
Daniel-Jacob Posts: 3
edited August 2020 in LFD259 Class Forum

In the readings on volume spec regarding the emptyDir volume it says ' Any data created is written to the shared container space.' Can someone explain this further to me? What is the shared container space, where is it located?

Comments

  • serewicz
    serewicz Posts: 1,000

    All containers in a pod have equal possible access to storage, without locking. So if containerA and containerB both are configured to write to the same storage there is nothing to order the writes, which could effectively lead to corruption.

Categories

Upcoming Training