Skip to main content
BlueXP backup and recovery
All cloud providers
  • Amazon Web Services
  • Google Cloud
  • Microsoft Azure
  • All cloud providers

Add and protect Kubernetes applications

Contributors netapp-mwallis

BlueXP backup and recovery enables you to easily discover your Kubernetes clusters, without generating and uploading kubeconfig files. You can connect Kubernetes clusters and install the required software using simple commands copied from the BlueXP user interface.

Required BlueXP role

Organization admin or SnapCenter admin. Learn about BlueXP backup and recovery access roles. Learn about BlueXP access roles for all services.

Add and protect a new Kubernetes application

The first step in protecting Kubernetes applications is to create an application within BlueXP backup and recovery. When you create an application, you make BlueXP aware of the running application on the Kubernetes cluster.

Before you begin

Before you can add and protect a Kubernetes application, you need to discover Kubernetes workloads.

Steps
  1. In BlueXP backup and recovery, select Inventory.

  2. Choose a Kubernetes instance, and select View to view the resources associated with that instance.

  3. Select the Applications tab.

  4. Select Create application.

  5. Enter a name for the application.

  6. Optionally, choose any of the following fields to search for the resources you want to protect:

    • Associated cluster

    • Associated namespaces

    • Resource types

    • Label selectors

  7. Optionally, select Cluster Scoped Resources to choose any resources that are scoped at the cluster level. If you include them, they are added to the application when you create it.

  8. Optionally, select Search to find the resources based on your search criteria.

    Note BlueXP does not store the search parameters or results; the parameters are used to search the selected Kubernetes cluster for resources that can be included in the application.
  9. BlueXP displays a list of resources that match your search criteria.

  10. If the list contains the resources you want to protect, select Next.

  11. Optionally, in the Policy area, choose an existing protection policy to protect the application or create a new policy. If you don't select a policy, the application is created without a protection policy. You can add a protection policy later.

  12. In the Prescripts and postscripts area, enable and configure any prescript or postscript execution hooks that you want to run before or after backup operations. To enable prescripts or postscripts, you must have already created at least one execution hook template.

  13. Select Create.

Result

The application is created and appears in the list of applications in the Applications tab of the Kubernetes inventory. BlueXP enables protection for the application based on your settings, and you can monitor the progress in the Monitoring area of backup and recovery.

Protect an existing Kubernetes application

Enable a protection policy on a Kubernetes application that you have already added.

Steps
  1. In BlueXP backup and recovery, select Inventory.

  2. Choose a Kubernetes instance, and select View to view the resources associated with that instance.

  3. Select the Applications tab.

  4. In the list of applications, choose an application you want to protect and select the associated Actions menu.

  5. Select Protect.

  6. In the Policy area, choose an existing protection policy to protect the application or create a new policy. Refer to Create a policy for more information about creating protection policies.

  7. In the Prescripts and postscripts area, enable and configure any prescript or postscript execution hooks that you want to run before or after backup operations. You can configure the type of execution hook, the template it uses, arguments, and label selectors.

  8. Select Done.

Result

BlueXP enables protection for the application based on your settings, and you can monitor the progress in the Monitoring area of backup and recovery. As soon as you enable protection for an application, BlueXP creates a full backup of the application. Any future incremental backups are created based on the schedule that you define in the protection policy associated with the application.

Back up a Kubernetes application now

Manually create a backup of a Kubernetes application to establish a baseline for future backups and snapshots, or to ensure the most recent data is protected.

Steps
  1. In BlueXP backup and recovery, select Inventory.

  2. Choose a Kubernetes instance, and select View to view the resources associated with that instance.

  3. Select the Applications tab.

  4. In the list of applications, choose an application you want to back up and select the associated Actions menu.

  5. Select Backup now.

  6. Ensure the correct application name is selected.

  7. Select Back up.

Result

BlueXP creates a backup of the application and displays the progress in the Monitoring area of backup and recovery. The backup is created based on the protection policy associated with the application.