--- id: upgrade title: Upgrade Litmus ChaosCenter to Latest Version sidebar_label: Upgrade --- --- ## Upgrade ChaosCenter To upgrade Litmus ChaosCenter from 2.0.0-Beta9 to 2.0.0, you can follow these steps: 1. Disconnect the agent components To disconnect agents, you can do it from the chaoscenter by clicking the `disconnect` button. With this, the subscriber deployment and agent-config will be removed from the agent cluster. 2. 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/2.0.0/docs/2.0.0/litmus-2.0.0.yaml ``` 2. Reinstall the agent components using litmusctl >Note: While reinstallation, make sure to use the same agent name To reinstall the ChaosAgents, use [Litmusctl](../litmusctl/usage-non-interactive-mode.md) ## Upgrade Mongodb DB Schema > Note: This step is not required for upgrading 2.0.0-Beta9 to 2.0.0 To upgrade the DB schema, make sure to delete the PV before re-installing ChaosCenter. ## Upgrade ChaosAgent To upgrade your ChaosAgent, you can follow these steps: 1. If an upgrade is available, you will get an option to upgrade your agent 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 ChaosAgent will be upgraded. Alternatively you can run the following command using litmusctl in the cluster containing the agent by providing `` and ``. ``` litmusctl upgrade agent --cluster-id="" --project-id="" ``` > Note: v0.5.0 of [litmusctl](https://github.com/litmuschaos/litmusctl/blob/master/README.md) is required.