Installing LM Container Chart using CLI

Last updated on 17 January, 2023

In the LM Container Chart, the Helm charts are combined into high-order umbrella charts, which makes the installation and upgradation process easy.

Note: We recommend using the LM Container Chart for installing Argus and Collectorset-Controller on your cluster.

Requirements

  • Install Helm to use the charts. For more information, see the Helm documentation.
  • Ensure you have administrator access to the LogicMonitor account.

Installing LM Container Chart

1. Add the LM Container Chart repository using the following command:

helm repo add logicmonitor https://logicmonitor.github.io/helm-charts.

Note: If you have previously added the LM Container Chart repository, you must update the repository with the latest Helm charts by using the command: 
            
helm repo update logicmonitor

2. Select the desired Helm chart version for installation using the following steps:

  • To load and select the required LM Container Chart version, run the following command:
    helm repo update logicmonitor
  • To check the current version of the LM Container Chart, run the following command:
    helm search repo -r logicmonitor/lm-container

Note:

  • Use option -l to list all versions if you want to select the previous version
  • Use –devel option to list early access version

3. Define the version criteria using the selected version by applying the following rules.
For example, you have selected 1.0.0:

Version CriteriaRule
1Automatically rolls out new versions with newly added features and fixes.
1.0Automatically rolls out only the fixed versions and not the newly added features.
1.0.0Rolls out new versions manually.

5. To install or upgrade LM Container Chart, run the following command:

helm upgrade --install --debug --wait --namespace="logicmonitor" --create-namespace -f ./lm-container-configuration.yaml lm-container --version "<version-criteria>" logicmonitor/lm-container

Note:If the Helm upgrade command timeouts while waiting on deployment pods to become ready, then you can add –timeout option to the Helm upgrade command with a duration of more than 5 minutes and run the command again. For example, –timeout=10m.

4. Once the LM Container Helm chart installs successfully, verify if newly created Kubernetes resources are getting discovered in LogicMonitor and have started collecting metrics.

Note: You can migrate old configurations to LM Container Charts. For more information, see Migrating Existing Kubernetes Clusters Using LM Container Helm Chart.

In This Article