Usage Scenario
You, as a developer, have been tasked with creating a PostgreSQL database in Kubernetes that persists data on a PersistentVolume.
Task Flow
In this exercise, you will perform the following steps:
- Create a PersistentVolume.
- Create a PersistentVolumeClaim.
- Deploy a Postgres database using a StatefulSet.
- Verify that the PersistentVolumeClaim is bound.
Prerequisites
Before you begin, ensure that the following prerequisites are met:
- You have created a SAP BTP, Kyma runtime instance in the SAP BTP subaccount. See Deploying a Kubernetes Cluster with Kyma on SAP BTP.
- You have configured kubectl to interact with your SAP BTP, Kyma runtime instance. See Setting and Configuring Kubectl for Kyma.