@@ -11,6 +11,7 @@ configuration of **any** kind of Kubernetes distribution (Canonical Kubernetes,
11
11
MicroK8s, EKS, etc.).
12
12
13
13
## What the infra backup operator does
14
+
14
15
The Infra Backup Operator is a Juju charm designed to work seamlessly with the
15
16
Velero Operator. When related, it automatically applies the necessary
16
17
configuration to enable backups of Kubernetes resources that are
@@ -26,11 +27,13 @@ Note that because Kubernetes clusters might have different storage providers,
26
27
the infra-backup-operator does not create backup of PVs or PVCs.
27
28
28
29
## What you will need
30
+
29
31
- A kubernetes cluster
30
32
- A bootstrapped K8s controller. See the [ Juju documentation]
31
33
- An S3 bucket or a S3 compatible bucket like [ MinIO] or [ microceph]
32
34
33
35
### Deploy
36
+
34
37
``` bash
35
38
juju add-model velero
36
39
@@ -40,20 +43,23 @@ juju deploy s3-integrator
40
43
```
41
44
42
45
### Integrate
46
+
43
47
``` bash
44
48
juju integrate velero-operator s3-integrator
45
49
juju integrate infra-backup-operator:cluster-infra-backup velero-operator
46
50
juju integrate infra-backup-operator:namespaced-infra-backup velero-operator
47
51
```
48
52
49
53
### Create the Backup
54
+
50
55
At any time users can run a juju action to create a backup
51
56
``` bash
52
57
juju run velero-operator/0 create-backup target=infra-backup-operator:cluster-infra-backup
53
58
juju run velero-operator/0 create-backup target=infra-backup-operator:namespaced-infra-backup
54
59
```
55
60
56
61
### Restore
62
+
57
63
In case of disaster recovery, users can restore the cluster configuration in
58
64
the same cluster or in a different one using the Velero operator juju-action.
59
65
This will guarantee that the cluster configuration can be easily restored to
@@ -90,6 +96,7 @@ juju run velero-operator/0 restore backup-uid=83503892-a24a-409b-b0df-553dcc2465
90
96
```
91
97
92
98
## Workloads
99
+
93
100
Each Juju application should be responsible for setting the relation with Velero operator to
94
101
be able to backup the necessary k8s resources and in the right order.
95
102
0 commit comments