Preparing Kubernetes Engine (OKE) for Disaster Recovery

Perform the following prerequisites before adding Oracle Kubernetes Engine (OKE) to the disaster recovery topology.

Ensure that you have access to the OCI console and you meet all the requirements to create a Disaster Recovery Protection Group.

  1. Create an OKE Cluster in the standby region if you have not already provisioned an OKE Cluster.
  2. Create the Object storage buckets for backups in both the primary and standby regions. These buckets will be used to backup the configuration of the OKE cluster.
  3. If the workload uses persistent volumes (PVs), then:
  4. If your workloads use the OCI Native Ingress Controller, then, create a Load Balancer in the standby region that maps to each Load Balancer used by the primary cluster.
  5. If your workloads use OCI Vault to store Kubernetes secrets, then, create a vault in the standby region that maps to each vault used by the primary cluster. Enable replication for each vault or manually copy secrets to the vault in the standby region.
  6. If you are using jump host to access the OKE API service, then install the following on the jump host:
    Note

    The images already have wget and curl installed. However, if you want to use the other image, then ensure to install wget and curl.
    • Python3
    • Kubectl
    • Helm
    • Install the following Python modules:
      • PyYaml - pip install PyYAML
      • oci-cli - pip install oci-cli