Helm is a packaging manager for Kubernetes. This guide will help show you how to use Helm charts to package your app and deploy it. MobiledgeX does not host these charts, but can access any public repositories you intend to use.
Before continuing, make sure you have read about applications and learned how to create an app using the MobiledgeX platform here.
In the MobiledgeX platform left navigation, click Apps. Then, in the top right corner, click the + icon. This will take you to the Create Apps page.
Below is a screenshot of a sample helm-based app creation.
There are several important parts that are specific to helm:
There are two ways to provide chart customization values when creating a helm-based App on MobiledgeX platform under Configs on the App Creation page:
Either paste the customization values directly into the Config box, or provide an internet reachable path to the chart customization values. (You can use more than one of these, but one of each type is not required).
In the Kind dropdown menu, make sure you select Helm Customization Yaml.
For this specific example, the TCP Port configured has to match the port configured in the custom Config.
After creating the helm-based app, click App Instances in the left navigation. Then, in the top right corner, click the + icon similar to the previous step. The app instance creation is the same as for Docker, or K8s App Instance.
Enter values in each box that correspond with your app. Then, select Create.
See Your Deployed App
After the successful deployment you can see the status of your app in the App Instances page.
The application we just deployed on MobiledgeX using Helm is an echo server. An echo server will simply echo back the parameter that you pass as an argument to server. For example, using the FQDN and setting the parameter echo_body to hello world, we see that the output html page prints hello world. In other words, any content you pass into the echo_body parameter will be echoed back to you. From the URI and Mapped Ports sections you can gather the address to reach this echo server via assigned URL:
You can also reach this echo server directly via terminal: