Configuring and implementing a PostgreSQL stateful workload
In this section, we’ll configure and implement a PostgreSQL stateful workload while utilizing the OpenEBS storage engine. We’ll be using the Jiva storage engine for PostgreSQL persistence, creating test data, simulating node failure to see if the data is still intact, and confirming that OpenEBS replication is functioning as expected.
Now that understand OpenEBS, we will delve into the steps of configuring and deploying OpenEBS on the cluster. The following diagram depicts our Raspberry Pi cluster setup:
Figure 11.3 – MicroK8s Raspberry Pi cluster
Now that we know what we want to do, let’s look at the requirements.
Requirements
Before you begin, you will need the following prerequisites to build a Raspberry Pi Kubernetes cluster and configure OpenEBS:
- A microSD card (4 GB minimum, 8 GB recommended)
- A computer with a microSD card drive
- A Raspberry...