Publish OmniDeq Application Blueprint to EKS Cluster
Fetch OmniDeq Application Blueprint details
We have set of instruction in this pdf where you can create and deploy the sample nginx in K8s cluster using Omnideq.
-
Login to OmniDeq GUI https://app.cloudhedge.io/ OR "omnideq-appliance-url" and navigate to Cruize -> Application Blueprints.
-
We have created a sample application Blueprint called as ‘eshop’. This application blueprint has 2 blueprint versions ‘v0’ and ‘v1’. Each Blueprint version has a different application container image tag.
Publish application blueprint of version ‘v0’ to dev environment
- Execute the below command to publish the application blueprint to the gitops dev environment.
# Execute the following command
Syntax: chctl cruize deploy --eks "<EKS_blueprint_name>" --appBlueprintName "<App_name_from_portal>" --appBlueprintVersion "<app_version>"
Example: chctl cruize deploy --eks "od-eks-dev-01" --appBlueprintName "eshop" --appBlueprintVersion "v0"
#Check the deployed apps
Syntax: chctl cruize getDeployedApps --eks <EKS_blueprint_name>
Example: chctl cruize getDeployedApps --eks od-eks-dev-01
-
The above command will publish eshop application artefacts to the git repository monitored by ArgoCD in the EKS cluster “od-eks-dev-01”. This ArgoCD will try to deploy this application to the od-eks-dev-01” EKS cluster. You can check the status of the deployment by navigating to the ArgoCD UI - https://localhost:8443
-
You will see that ArgoCD creates a new Application with the name eshop and will deploy the application on the cluster
-
Navigate inside the application through ArgoCD and view details of the web-host (nginx) service. You will find the Load balancer address of the nginx service which is the frontend for the application.
-
Open the loadbalancer address in the browser and check the application.
Fetch Deployed Application details
- Execute the below command to get the deployed application blueprint.
# Execute the following command
chctl cruize getDeployedApps --eksBlueprintName “od-eks-dev-01"