title: MariaDB StatefulSet Galera pods using ceph PVC
body: <p>I am beginner for Kubernetes, I am working on a project related to MariaDB with Kubernetes (StatefulSets). I also want that to be CentOS7/8 with MariaDB 10.6.5 replicated Galera pods. This pods should be able to run the system commands, so that we can control httpd service in the same pods. Also I want this pods to be exposed to external IP via MetalLB.</p>
  <p>I have deployed the same setup with Deployment of single replica and also able to expose to external IP. Now I need to build a Stateful deployment with above consideration.</p>
  <p>I am using the bare metal concept for our Production with Kubernetes and Ceph storage.</p>
  <p>Please help me to configure with the YAML files with examples.</p>
  <p>Thank you all in advance.</p>