Skip to content

Scripts to simulate acm interactions with managed clusters

Notifications You must be signed in to change notification settings

BenamarMk/acm-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A script that simulate ACM interaction with managed clusters.

Clone Repository

https://github.com/BenamarMk/acm-simulator.git

Basic Usage

acm-simulator.sh

This will deploy a sample application in the 'default' namespace. By default, the sample application is wordpress. And in order for the wordpress application to be enabled for Disaster Recovery (DR), the default ramen custom resource will also be used. And finally, you have to set the KUBECONFIG environment variable to a kubeconfig file giving you admin role on that mananged cluster.

acm-simulator.sh --cluster-config /path/to/cluster/config  --namespace mynamespace --app /path/to/app --ramen /path/to/ramencr  

You can also specify non default arguments as shown.

  • --cluster-config: the location of the config file for the cluster where the app will be deployed on
  • --namespace: the namespace for the application
  • --app: the path location of the app resources
  • --ramen: is the path location of the ramen custom resource
acm-simulator.sh --pvpath /path/to/pv-backups

This command will deploy a wordpress application using the default app location, ramen cr, and cluster config. The --pvpath is for deploying the backup up PVs during the failover/failback.

For more details, look at the full documentation here

About

Scripts to simulate acm interactions with managed clusters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages