Ravi, Two containers cannot share the same repository. They must be their own independent volumes.
Thanks -Mark On Jul 19, 2021, at 11:47 AM, Ravi Nallappan <[email protected]<mailto:[email protected]>> wrote: Hi, I am setting up NiFi cluster using kubernetes (Apache/NiFi image). These are among paths to be persisted via persistent volumes: * nifi.flow.configuration.file (flow.xml.gz) * nifi.provenance.repository.directory.default * nifi.content.repository.directory.default * nifi.flowfile.repository.directory * nifi.database.directory * nifi.state.management.configuration.file With the bolded are my primary concerns. In non-containter installation - each node shares nothing, as they may sit on their own machines. In container environment, these persistent volumes will share storage i.e a node can see/access files written by other nodes. Will these sharing storage space perfectly fine? Or do we need to make some tweak in nifi.properties to make each have their own directories for each of above? Thanks. Ravi Nallappan
