Installing on OpenShift
Steps to install the Disaster Recovery Operator in OpenShift
The following operations need to executed in both the management and destination cluster.
Process
1. Create Namespace
Create the Namespace where the operator will be installed:
oc create namespace astronetes-disaster-recovery-operator
2. Setup registry credentials
Create the Secret that stores the credentials to the AstroKube image registry:
oc -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:
oc -n astronetes-disaster-recovery-operator create -f license-key.yaml
4. Install the operator
Install the CRDs:
oc apply -f https://astronetes.io/deploy/disaster-recovery-operator/v0.11.0/crds.yaml
Install the operator:
oc -n astronetes-disaster-recovery-operator apply -f https://astronetes.io/deploy/disaster-recovery-operator/v0.11.0/operator-openshift.yaml