How to Run Replicated Stateful Apps with Rook-Ceph?

0
12
Asked By CuriousCat42 On

I'm trying to set up some stateful applications with Rook-Ceph for high availability, but I've heard that it only supports ReadWriteOnce (RWO) volumes. I'm wondering how others have managed to run multiple replicas of their applications in this scenario. Any advice or insights?

2 Answers

Answered By DataDude12 On

Most stateful applications can work well with RWO for HA, as block storage provides speed and reliability. If the application needs to share or lock files, then you have to implement some logic for that. The general practice is to replicate data between applications while using RWX for shared assets like files or images, so it really hinges on what your app requires.

ImageWizard13 -

For static assets like images, using object storage (RGW) would actually be a more efficient solution than RWX.

Answered By TechieGuru99 On

Actually, Rook-Ceph supports multiple Ceph storage types, including CephFS, which can handle ReadWriteMany (RWX) volumes, perfect for high availability situations. So, depending on your app's needs, you might want to look into using CephFS or other storage types.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.