--- id: upgrade title: Upgrade Litmus ChaosCenter to Latest Version sidebar_label: Upgrade --- --- ## Upgrade ChaosCenter To upgrade Litmus ChaosCenter from 2.3.0 to 2.4.0, you can follow these steps: > Note: This step is not required if using Helm, Helm upgrade should work. 1. Upgrade the control plane (ChaosCenter) To upgrade ChaosCenter, you can re-apply the manifest using the kubectl. ```bash kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.0.0-beta5/litmus-3.0.0-beta5.yaml ``` ## Upgrade Mongodb DB Schema > Note: This step is not required if using Helm, Helm upgrade should work. To upgrade the DB schema, deploy the [upgrade-agent](https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/upgrade-agents/control-plane/upgrade-agent.yaml) in your k8s cluster where ChaosCenter is installed. This manifest will create a Job, which will upgrade the mongoDB schema. `kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/litmus-portal/upgrade-agents/control-plane/upgrade-agent.yaml` ## Upgrade Chaos Delegate To upgrade your Chaos Delegate, you can follow these steps: 1. If an upgrade is available, you will get an option to upgrade your chaos delegate in the ChaosCenter. Upon clicking on the upgrade option, a modal will pop up providing you the litmusctl command which you can execute and your Chaos Delegate will be upgraded. Alternatively you can run the following command using litmusctl in the cluster containing the chaos delegate by providing `` and ``. ``` litmusctl upgrade agent --cluster-id="" --project-id="" ``` > Note: v0.7.0 of [litmusctl](https://github.com/litmuschaos/litmusctl/blob/master/README.md) is required.