Search code examples
dockeropenshiftfabric8

How to deal with transactional logs in Fabric8?


Probably a quite newbie question:

If for example WildFly application server in running in 10 immutable pods, when one of the pods for any reason is killed and a new one is automatically spawned all transactional logs stored in that specific pod will be lost. Is there a standard way to deal with this problem?

Thanks!

Vas


Solution

  • The standard way of dealing with things like this is to use a Persistent Volume to mount any durable state you need in your application sever pod instance; so that whenever the pod is restarted on another node your persistent state is still available