Upgrading LM Container Charts

Last updated on 22 November, 2023

Important: This applies to LM Container services using LM Container Helm Chart 1.0.0 or later.


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


  1. Take a backup of lm-container-configuration.yaml file by performing the following:
    1. Create lm-container-configuration.yaml file.
    2. Run the following command:
      helm get values lm-container -n logicmonitor
    3. Copy and save the content into lm-container-configuration.yaml file.
  2. Open the command line interface window. 
  3. In the terminal, update the repository with the latest Helm charts by using the following command: 
    helm repository update logicmonitor
  4. Run the following command to update the existing Custom Resource Definition (CRD):
     kubectl apply -f https://raw.githubusercontent.com/logicmonitor/helm-charts/main/charts/collectorset-controller/crds/collectorset.yaml
  5. Run the following Helm upgrade command:
helm upgrade \
    --reuse-values \
    --namespace=<namespace> \
    -f lm-container-configuration.yaml \
    lm-container --version <Latest LM Container Chart Version Number> logicmonitor/lm-container

For more information on the list of values and their descriptions used in the lm-container-configuration.yaml file, see Values Schema Reference from ArtifactHUB.

Note: Latest LM Container Chart Version Number refers to the LM Container Chart version number you want to upgrade to.

For more information on Installing the LM Container chart, see Installing LM Container Chart using CLI and Installing the LM Container Helm Chart.

In This Article