Running a Helm Chart Deployment
In this lab, you will create an application model that runs a Helm chart deployment.
Application Model Helm Chart Deployment
- From the main menu, navigate to Deployment Automation Applications.
- Select New. The New Application dialog appears.
- Select Create New.
- Fill in the Application name, RSS and select the project, Trial Guide. Select the Application type Microservice, and then select OK.
- Select the New microservice icon (+) to define the new microservice.
- Select Next to use the default New microservices selection.
- In the New microservice dialog, complete the information as follows:
- Name: freshrss
- Definition type: Helm
- Definition source: Helm repository
- Repository URL: https://halkeye.github.io/helm-charts
- Repository name: halkeye
- Release name: freshrss
- Chart: halkeye/freshss
- Add the following code for the additional options:
--set=ingress.enabled=true
--set=ingress.hosts[0]=$[/javascript server.hostName.replace("sda","$[/myJob/ec_microservice_deployment_parameters/$[/myMicroservice]/clusterDefinition/namespace]")]
- Select OK.
- In the New environment object, select the New cluster (+) button.
- Select Next to accept the default action to create a new environment.
- In the Edit microservice dialog, complete the information as follows:
- Enter the Environment name as RSS - QA.
- Select the Trial Guide project. In the Cluster name field, enter qa.
- In Configuration provider, select Kubernetes - Helm.
- In Configuration name, select Helm.
- In Utility resource name, enter “Kubernetes”.
- In Resource, select k8s-agent.
- Select OK.
- Create the RSS - UAT environment. Select the plus sign (+) the RSS - QA environment and perform the steps above again but this time using uat instead of qa.
If the Deploy button is not activated, make sure the microservice is mapped to the new environment. Select the freshrss Helm component menu and select Add Mapping. Drag the end point to the RSS - UAT environment.
- Select Deploy Application and RSS - QA as the target environment.
- To view the inventory, select the RSS - QA link from the bread crumb, then select Inventory.
- View the microservices deployment details by selecting Details from the menu for the freshrss microservice.
- Access the application. Note the URL above on line 10; this URL can be used to access the deployed application.