I read an article from here which the data is shared in the same Pod with 2 different containers. These 2 containers both have volumnMount
on name, shared-data. But both of them having different mountPath
.
My question is, if these mountPath
are not same, how are they sharing data? And what is the path for the volume shared-data? My thought is, both should have the same path in order to share data, and i seems like mistaken some concept, but not sure what.