Chart Groups

Introduction

A Chart Group in Devtron is a collection of Helm charts grouped together (e.g., what a folder is to files) to help you create, manage, and deploy them easily.

When setting up a new environment or a microservice, or when your application requires multiple Helm charts, you can simply group the required charts into a chart group. You can then view, manage, and deploy related charts together in one place instead of searching and installing each one individually.


Prerequisites

Ensure the Build and Deploy (CI/CD) module is installed in your Devtron instance if you are an OSS user. Enterprise user can skip this step.


Create and Deploy a Chart Group

Who Can Perform This Action?

To create a chart group, follow the instructions below:

  1. Navigate to Chart Store.

  2. Click the Create Group button. The Create Chart Group page is displayed.

    Figure 1: Create Chart Group
  3. Enter your preferred chart group name in the Name field.

  4. (Optional) Enter the chart group description in the Description field.

  5. Click Create Group button.

  6. Select your preferred charts from the list of charts available in the Edit group page.

    Figure 2: Edit Group
  7. Click Save. The chart group is now saved.

  8. Navigate back to the chart group page.

    Figure 3: Chart Group
  9. Click on the Deploy to... button. The Deploy Selected Charts screen is displayed.

    Figure 4: Deploy Selected Charts
  10. Select the project in the Project drop-down box.

  11. Select the environment where you want to deploy the charts in the Deploy to Environment drop-down box.

  12. Click Deploy Chart to deploy the charts. The deployment will be initiated.

    If you prefer to change the chart values in the .yaml file or change chart configurations, click Advanced Options. Refer to Advanced Options for more information.

    Figure 5: Deployment Initiated

Edit a Chart Group

Who Can Perform This Action?

If you want to add/remove a chart to your existing chart group, or change the chart group name, you can edit the chart group. Follow the below instructions to edit a chart group:

  1. Select your preferred chart group in the Chart Store.

    Figure 6: Edit a Chart Group
  2. Click the Edit button. The Edit group page is displayed.

  3. Add or remove charts based on your needs from the list of charts available in the Edit group page.

  4. Enter your new chart group name (if required) in the Group name field.

  5. Click Save to save the changes.


Delete a Chart Group

Who Can Perform This Action?

When you delete a chart group, only the chart group is deleted. Application deployed using that chart group remain unaffected. Follow the below instructions to delete a chart group.

  1. Select your preferred chart group in the Chart Store.

    Figure 7: Delete a Chart Group
  2. Click the Delete button. A pop-up window will appear, asking for confirmation to delete the chart group.


Extras

Advanced Options

The Advanced Options page enables you to change the chart values, chart configurations, use preset values (if already configured) for your charts.

Figure 8: Advanced Options
  1. Enter your preferred application name in the App name field.

  2. Select the environment where you want to deploy the charts in the Deploy to Environment drop-down box.

  3. Select the chart version you'd like to use from the Chart version drop-down box.

  4. Select the chart values you'd like to use from the Values drop-down box. If you want to configure a preset value for your chart, or use a previously configured one, select Preset values. Refer to Preset Values for more information.

  5. Select the project in the Project drop-down box.

  6. Click Deploy to deploy the charts. The deployment will be initiated.

Last updated

Was this helpful?