Skip to content

mikeshng/dr-script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 

Repository files navigation

Disaster Recovery PoC

Requirements

aws, oc, ocm, rosa, and yq binaries in your path.

The required HCPMigration role to run the migration ocm commands.

Usage

  • Update common.sh with svc, svc2, mgmt, mgmt2, and hc details. If there is only one svc cluster involved fill out the information the same for svc and svc2.
  • Run the migration pushd dr-script && ./migrate-hcp.sh <cluster-id> <cluster-name> && popd. For example, pushd dr-script && ./migrate-hcp.sh 27cndaeif07ns4p6os6gvvbgbhkenu2e some-rosa-hcp && popd

TODO:

  • There may be other requirements not listed.
  • If logged in to ocm we probably have enough to retrieve the kubeconfigs so they don't have to be manually placed on disk.

Downloads

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%