A.4 Install Your Application

  1. Navigate to the folder that contains the Helm files for your application.
  2. Deploy your application using the configuration details that you have provided in the values.yaml file.

    Syntax

    helm install <release name> --namespace <namespace> <chart directory> --values <values.yaml>

    Example

    Use the following commands to install your application with the name my-java-app-tcc-tx in the otmm namespace.

    helm install my-java-app-tcc-tx --namespace otmm .\ --values .\values.yaml

    Where,

    • my-java-app-tcc-tx is the name of the application that you want to create.
    • otmm is the namespace in Kubernetes cluster, where you want to install your application.
    • .\ is the folder that contains the chart.yaml file for your application. Since, you have already changed the directory to the helmchart folder on the command-line, you can provide the relative path to the chart.yaml file.
    • .\values.yaml is the location of the values.yaml file, the application's manifest file, in your local machine. This file contains the deployment configuration details for your application.
  3. Verify that all resources, such as pods and services, are ready. Use the following command to retrieve the list of resources in the namespace otmm and their status.
    kubectl get all -n otmm
  4. Verify that the application is installed.
    helm list --namespace otmm