Configuration
Suggest editsImplementing EDB Postgres for Kubernetes with Kasten by Veeam requires the following components:
Prerequisites
- EDB Postgres for Kubernetes configured and running
- EDB Postgres for Kubernetes external backup adapter configured per your system requirements
- Kasten K10 installed on your system
Note
For this integration, use the example.yaml
files provided for the appropriate Kasten configuration pieces, and change any environment variables per your specific needs.
See Add the backup decorator annotations to the cluster, which is important for the Kasten add-on integration.
Refer to the EDB Postgres for Kubernetes external backup adapter documentation for more detailed information on the EDB Postgres for Kubernetes backup adaptor add-on functionality and additional details on its configuraton parameters.
Install the operator
Install the EDB Postgres for Kubernetes operator.
Running this command creates the operator namespace where the controller runs.
Create an EDB cluster and client and add data
- In your Kubernetes environment, create a specific namespace and apply your
.yaml
file:
Example cluster-example.yaml
file:
- Wait until the cluster is completely ready.
- Install the cnp plugin.
- Create a client certificate to the database.
- Create the client.
Example client.yaml
file:
- Add some data into the cluster to test the backup and restore. The following is sample data that was used for this example:
Add the backup decorator annotations to the cluster
If you created the cluster from the previous process, cluster-example.yaml
already includes the Kasten add-on, and you can skip this part. If you're working with your own cluster, you need to add the Kasten add-on.
- Add the following annotations to your cluster. The previous
cluster-example.yaml
file shows an example of where to add the annotation.
Install the EDB blueprint
- In your environment, enter:
Example edb-hooks.yaml
file:
Create a backup policy with the EDB hooks
Launch the Kasten K10 interface.
Create a policy for the EDB namespace. You need to set up a location profile for the export and kanister actions.
Add the hooks example:
Could this page be better? Report a problem or suggest an addition!