Logical PostgreSQL Backup

If it hasn't been done already, the bitnami Helm repository needs to be added to your local configuration:

# Add bitnami helm repo
$ helm repo add bitnami https://charts.bitnami.com/bitnami

Install the PostgreSQL chart from the bitnami Helm repository:

$ kubectl create namespace postgresql
$ helm install --namespace postgresql postgres bitnami/postgresql --version 9.0.0

The following commands will install the PostgreSQL Blueprint in the K10 namespace and add an annotation on the PostgreSQL Deployment to instruct K10 to use the Blueprint when performing operations on this PostgreSQL instance.

$ kubectl --namespace kasten-io apply -f \

$ kubectl --namespace postgresql annotate statefulset/postgres-postgresql \

Finally, use K10 to backup and restore the application.