<p>Yes, you can create a Postgres cluster using k8s StatefulSets.
take a look at this <a href="https://www.bmc.com/blogs/kubernetes-postgresql/" rel="nofollow noreferrer">example</a>.</p>

CC BY-SA 4.0
2021-07-27T07:09:43.963Z
2021-07-27T07:09:43.963Z
Mhm0ud
<p>Is it possible to autoscale a Postgres Database using Kubernetes ?
I usually run a Docker container with very specific settings to install a postgres database for my application. Does using Kubernetes to provision this db container help with scaling, load balancing if all the replicas would point to the same volume on the host server ?</p>

<kubernetes><postgresql>
Autoscaling Postgres Database using Kubernetes
GauravEdekar
# Autoscaling Postgres Database using Kubernetes

(Asked by: username_0 on 2021-07-24)

Is it possible to autoscale a Postgres Database using Kubernetes ?
I usually run a Docker container with very specific settings to install a postgres database for my application. Does using Kubernetes to provision this db container help with scaling, load balancing if all the replicas would point to the same volume on the host server ?

**Tags:** kubernetes, postgresql


---

## 1 answers

### Answer by username_1 on 2021-07-27. Score: 2 | Accepted answer

Yes, you can create a Postgres cluster using k8s StatefulSets.
take a look at this [example](https://www.bmc.com/blogs/kubernetes-postgresql/).


---

