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 in each section for the appropriate Kasten configuration pieces, and change any environment variables per your specific needs.
The Add the Backup Decorator Annotations to the Cluster section is the important section for the Kasten addon integration.
Refer to the EDB Postgres for Kubernetes external backup adapter docs to view more detailed information on the EDB Postgres for Kubernetes backup adaptor addon functionality and additional details on its configuraton parameters.
Install the Operator
- Install the EDB Postgres for Kubernetes operator.
Running this command will create the operator namespace where the controller will be running.
Create an EDB Cluster, Client and Add Data
- Initiate the below lines of code in your Kubernetes environment to 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 create the cluster from the previous section the cluster-example.yaml already includes the Kasten addon therefore you can skip this part. If you are working with your own cluster you will need to add the Kasten addon.
- Add the following annotations to your cluster, in the above cluster-example.yaml there is an example of where to add the annotation.
Install the EDB blueprint
- Enter the following command in your environment:
Example edb-hooks.yaml file:
Create a Backup Policy with the EDB hooks
Launch your Kasten K10 interface.
Create a policy for the EDB namespace, you will 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!