Ready-Made Helm Charts
With the new Arvancloud Cloud Container infrastructure built on Kubernetes and its Helm support, you can easily set up the applications you need. Helm is a package manager for Kubernetes that gives users a simpler way to define, install, update, and manage applications. A chart is a Helm package that includes resources such as Deployments, Services, Pods, and so on. In other words, all the details needed to install an application on Kubernetes can be found in a Helm chart. Useful features of this capability include release history and the ability to roll back.
Currently, more than 60 ready-made Helm charts, highly available and clustered for large organizations, are available in the Arvancloud Cloud Container panel. To install these Helm charts, simply change the values in the Values.yaml file based on your needs.
One of the most important files in a Helm chart is
values.yaml. In this file, you can configure values such as passwords, resource limits, and your application's image. After the app is installed, you can also change these values whenever you need and restart the application.
Installing a Helm Chart
To learn more about how to set up the values file in the Arvancloud Cloud Container, let's go through the steps of installing the Ghost application as an example.
Select Bamdad-2 from the data centers to go to the Cloud Container version 2 panel, and in Application Creation Methods, click Container Image.
In Ready-Made Applications, you can find the application you want among the ready-made Helm charts and install it. In this guide, we install the Ghost application. Click the application to start its installation steps.
Step 1: Application Details
In this step, select one of your existing projects to deploy the application in, or create a new project. Then enter a unique name for your application.
Step 2: Configuring the Application
To configure the Helm chart, you need to change the values in the values file based on your needs. In this step, you can change your application's version, view and configure its dependencies, access the documentation and details of each dependency, and review its templates.
You can also edit the values using the examples in the guide section. All ready-made Helm charts need their domain, resources, and network set in the values.
By viewing each application's guide in the panel, you can go to the line for each setting and change it according to the guide.
Domain Settings
If you want to connect to your application through a free Arvancloud domain, change enabled to true in the ingress section and set hostname as follows:
ingress:
enabled: true
hostname: ghost-d1327bddc9-arvandocs.apps.ir-thr-ba1.arvancaas.ir
You can find each application's hostname value in the guide section.
Also, if you need a custom domain, you can set hostname to your own domain:
ingress:
enabled: true
hostname: app.mydomain.ir
IP Settings
If you need a dedicated IP to connect to the application, set the values in the service section as follows:
service:
type: LoadBalancer
ports:
http: 80
https: 443
Also, if you don't need a dedicated IP and in-cluster communication is enough for this application, you can use the following settings for service:
service:
type: ClusterIP
ports:
http: 80
https: 443
Resource Settings
To set resources such as RAM and CPU, simply find the resources section and allocate resources based on your needs:
resources:
limits: {}
requests:
memory: 500Mi
cpu: 250m
Password Settings
When installing a Helm chart, if we don't set a value in the values file, it's generated randomly. That's why it is recommended that you enter each application's password manually, for easier use of the app and later edits.
To do this, search for the word Password in the values file and enter the value you want.
Step 3: Final Review
After setting the values files, in the last step you see the cost estimate and your application's final manifest. When you confirm and click Create, the Helm chart is installed. After installation, the application's values and useful commands are provided to you.
It is recommended that you save these values.
You can also review the application's installation steps with your account's events and logs.
If you see a Readiness Probe error in the events, you can fix it by increasing resources or turning off the Readiness Probe in the values file.
Managing Helm Charts
In the Application List section, you can see the applications you've created from Helm charts. On this page, besides restarting and stopping the application, you can change the application's configuration by editing the values and release a new version of the application. You can also see the release history and roll back.