Installing on Kubernetes

Steps to install the Disaster Recovery Operator in Kubernetes

The following operations need to executed in both the management and destination cluster.

Prerequirements

It is necessary that the cluster has cert-manager already installed.

Process

1. Create Namespace

Create the Namespace where the operator will be installed:

kubectl create namespace astronetes-disaster-recovery-operator

2. Setup registry credentials

Create the Secret that stores the credentials to the AstroKube image registry:

kubectl -n astronetes-disaster-recovery-operator create -f pull-secret.yaml

3. Setup license key

Although the operator can be installed without a license key, pods originating from Astronetes CRDs such as Recovery Plans will crash. If the installation was performed before obtaining a valid license key, it can be updated as described in this section.

Create the Secret that stores the license key:

kubectl -n astronetes-disaster-recovery-operator create -f license-key.yaml

4. Install the operator

Install the CRDs:

kubectl apply -f https://astronetes.io/deploy/disaster-recovery-operator/v0.10.1/crds.yaml

Install the operator:

kubectl -n astronetes-disaster-recovery-operator apply -f https://astronetes.io/deploy/disaster-recovery-operator/v0.10.1/operator-k8s.yaml