This is a cache of https://docs.openshift.com/container-platform/4.7/applications/application_life_cycle_management/odc-working-with-helm-charts-using-developer-perspective.html. It is a snapshot of the page at 2024-11-20T21:32:27.301+0000.
Working with <strong>helm</strong> charts using the Developer perspective - Application life cycle management | Applications | OpenShift Container Platform 4.7
×

Understanding helm

helm is a software package manager that simplifies deployment of applications and services to OpenShift Container Platform clusters.

helm uses a packaging format called charts. A helm chart is a collection of files that describes the OpenShift Container Platform resources.

A running instance of the chart in a cluster is called a release. A new release is created every time a chart is installed on the cluster.

Each time a chart is installed, or a release is upgraded or rolled back, an incremental revision is created.

Key features

helm provides the ability to:

  • Search through a large collection of charts stored in the chart repository.

  • Modify existing charts.

  • Create your own charts with OpenShift Container Platform or Kubernetes resources.

  • Package and share your applications as charts.

You can use the Developer perspective in the web console to select and install a chart from the helm charts listed in the Developer Catalog. You can create a helm release using these charts, upgrade, rollback, and uninstall the release.

Prerequisites

Installing helm charts

You can use either the Developer perspective or the CLI to create helm releases and see them in the Developer perspective of the web console.

Procedure

To create helm releases from the helm charts provided in the Developer Catalog:

  1. In the Developer perspective, navigate to the +Add view and select a project. Then click helm Chart option to see all the helm Charts in the Developer Catalog.

  2. Select a chart and read the description, README, and other details about the chart.

  3. Click Install helm Chart.

    odc helm chart devcatalog
    Figure 1. helm charts in developer catalog
  4. In the Install helm Chart page:

    1. Enter a unique name for the release in the Release Name field.

    2. Select the required chart version from the Chart Version drop-down list.

    3. Configure your helm chart by using the Form View or the YAML View.

      Where available, you can switch between the YAML View and Form View. The data is persisted when switching between the views.

    4. Click Install to create a helm release. You will be redirected to the Topology view where the release is displayed. If the helm chart has release notes, the chart is pre-selected and the right panel displays the release notes for that release.

You can upgrade, rollback, or uninstall a helm release by using the Actions button on the side panel or by right-clicking a helm release.

Upgrading a helm release

You can upgrade a helm release to upgrade to a new chart version or update your release configuration.

Procedure
  1. In the Topology view, select the helm release to see the side panel.

  2. Click ActionsUpgrade helm Release.

  3. In the Upgrade helm Release page, select the Chart Version you want to upgrade to, and then click Upgrade to create another helm release. The helm Releases page displays the two revisions.

Rolling back a helm release

If a release fails, you can rollback the helm release to a previous version.

Procedure

To rollback a release using the helm view:

  1. In the Developer perspective, navigate to the helm view to see the helm Releases in the namespace.

  2. Click the Options menu kebab adjoining the listed release, and select Rollback.

  3. In the Rollback helm Release page, select the Revision you want to rollback to and click Rollback.

  4. In the helm Releases page, click on the chart to see the details and resources for that release.

  5. Go to the Revision History tab to see all the revisions for the chart.

    odc helm revision history
    Figure 2. helm revision history
  6. If required, you can further use the Options menu kebab adjoining a particular revision and select the revision to rollback to.

Uninstalling a helm release

Procedure
  1. In the Topology view, right-click the helm release and select Uninstall helm Release.

  2. In the confirmation prompt, enter the name of the chart and click Uninstall.