Configuration

This chapter describes configuration in CloudCasa that affect various operations such as where backups go etc.

Selection of Backup Target

By default, backups will go to a system selected object storage but users can optionally configure a preferred backup target. There are two different ways of doing such a configuration.

  1. Register your own bucket (see User Storage).

  2. Select a preferred provider and type. E.g. “aws” and “us-west-1”. CloudCasa will then pick storage that matches the user selection. Note that both “type” and “region” must be set.

    To find information about supported providers and regions, see List supported providers and regions.

The backup target setting can be done at multiple levels and here is the list in the order of priority:

  • Copy job definition

  • Kubernetes cluster

  • User preferences

For example, if the setting is present in both copy job definition and user preferences, the values in copy job definition will be used for backing up the PVs.

User preferences will be applied at the organization level, so this selection will take effect for all the users of the organization.

Here are some sample requests on how this can be done at a cluster level:

PUT /api/v1/kubeclusters/5eb599e603f7a77d5223efee

{
    "backup_provider": {
        "region": "us-east-1",
        "type": "aws"
    },
    ...
}
PUT /api/v1/kubeclusters/5eb599e603f7a77d5223efee

{
    "backup_provider": {
        "user_objectstore": "6eb599e603f7a77d5223efe1",
    },
    ...
}