Kasten K10
Learn how to configure Kasten K10 for use with Filebase.

What is Kasten K10?

Kasten K10 is a popular Kubernetes backup and disaster recovery product developed by Veeam. Kasten K10 provides an enterprise tool that offers an easy to use, scalable, and secure system for Kubernetes cluster backups and disaster recovery. Backups can be configured to be stored on external cloud locations such as Filebase.
Read below to learn how to connect Kasten K10 to a Filebase bucket.

Prerequisites:

  • Have a running Kubernetes cluster.
  • Have Kubernetes tools such as kubectl and helm installed for use with your cluster.
  • Download and install Kasten K10.
  • Have your Filebase Access and Secret Keys. Learn how to view your access keys here.
  • Create a Filebase Bucket. Learn how to create a bucket here.

1. Create a new Kubernetes namespace to install Kasten K10:

kubectl create namespace kasten-io

2. Install Kasten 10 into your new namespace using helm.

This command sets your Filebase Access and Secret Keys as environmental variables in the namespace. Replace the values to reflect your Filebase configuration:
helm install k10 kasten/k10 --namespace=kasten-io --set secrets.awsAccessKeyId="FILEBASE_ACCESS_KEY" --set secrets.awsSecretAccessKey="FILEBASE_SECRET_KEY"

3. Initiate the connection to the Kasten K10 web dashboard with the following command:

kubectl --namespace kasten-io port-forward service/gateway 8080:8000

4. By default, the web dashboard will be located at http://127.0.0.1:8080/k10/#/.

Navigate to this webpage to view the K10 Dashboard.

5. Select ‘Settings’ in the top right corner.

6. Select ‘Locations’, then ‘New Profile’:

7. In the New Profile window, enter the following configuration information:

  • Profile Name: Filebase
  • Cloud Storage Provider: S3 Compatible
  • S3 Access Key: Filebase Access Key
  • S3 Secret: Filebase Secret Key
  • Endpoint: s3.filebase.com
  • Region: us-east-1
  • Bucket: Filebase Bucket Name

8. Save the profile.

9. Return to the dashboard. Select ‘Policies’:

10. Select ‘Create New Policy’:

11. In the New Policy window, give your policy a name, a description, then select your backup type and frequency.

If selecting a Snapshot policy, you will also be able to configure the snapshot retention policy.

12. Select ‘Enable Backups via Snapshot Exports’, then select your Filebase location profile as the ‘Export Location Profile’.

13. Under ‘Select Applications’, select ‘By Name’, then enter the name(s) of applications you’d like the policy to target.

This example uses Apache.

14. Under the Advanced Settings, confirm that your Filebase location profile is selected for the ‘Location Profile for Kanister Actions’, then select ‘Create Policy’:

From here, you can run the policy immediately to create an initial snapshot, or wait until the policy’s first scheduled run.
If you have any questions, please join our Discord server, or send us an email at [email protected]