kubernetesmongodb

Install the chart

Improve this page by contributing to our documentation.

NOTE: To install a Helm chart repository, it is necessary to have Helm previously installed and configured in your cluster.

To start using any Bitnami Helm chart, it is necessary to first add the Bitnami Helm chart repository to Helm and then run the helm install command to deploy this chart. Follow these steps:

  • Add the Bitnami repository to Helm with the following command:

      $ helm repo add bitnami https://charts.bitnami.com/bitnami
    

    A Helm chart describes a specific version of a solution, also known as a “release”. The “release” includes files with Kubernetes-needed resources and files that describe the installation, configuration, usage and license of a chart.

  • Check that your Kubernetes cluster is running by executing the following command:

      $ kubectl cluster-info
    
  • Deploy the chart with the following command:

    NOTE: Remember that MY-RELEASE is a placeholder. Replace it with the name you want to give to the deployment or add the –generate-name parameter to automatically generate a name. The name must start and end with a lower-case alphanumeric character and can only contain alphanumeric character, ‘-’ or ‘.’.

      $ helm install MY-RELEASE bitnami/mongodb