Promote Application Version from Dev to Stg/Prd Environment¶
Fetch CHAI™ Application Blueprint Details¶
-
Login to CHAI™ GUI at https://app.cloudhedge.io/ or "CHAI™-appliance-url".
-
Navigate to Cruize → Application Blueprints.
-
We have created a sample application blueprint called 'eshop'. We will be using the "v1" version for the promotion.
Promote Application Blueprint of Version 'v1' to Stg/Prd Environment¶
Execute the following command to promote the application blueprint to the gitops staging/production environment:
# Promote application blueprint
chctl cruize promote --source "eks-dev-01" --applicationName "eshop" --target "od-eks-stg-01" --appBlueprintVersion v1
The above command will promote the eshop application artifacts to the git repository monitored by ArgoCD in the EKS cluster "eks-dev-01". This ArgoCD will deploy this application to the "od-eks-stg-01" EKS cluster.
You can check the status of the deployment by navigating to the ArgoCD UI: https://localhost:8443
Fetch Deployed Application Details¶
Execute the following command to get the deployed application blueprint:
Delete the Workload¶
To delete the deployed workload, use the following command: