Added docs for upgrade agent (#141)

* Added docs for upgrade agent

Signed-off-by: Saranya-jena <saranya@chaosnative.com>
This commit is contained in:
Saranya Jena 2021-10-21 21:29:08 +05:30 committed by GitHub
parent 80d03ff460
commit e88e9f8086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

View File

@ -31,3 +31,19 @@ To upgrade Litmus ChaosCenter from 2.0.0-Beta9 to 2.0.0, you can follow these st
> 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.
<img src={require('../assets/user-guides/upgrade/upgrade-agent.png').default} width="800" />
Alternatively you can run the following command using litmusctl in the cluster containing the agent by providing `<CLUSTER_ID>` and `<PROJECT_ID>`.
```
litmusctl upgrade agent --cluster-id="<CLUSTER_ID>" --project-id="<PROJECT_ID>"
```
> Note: v0.5.0 of [litmusctl](https://github.com/litmuschaos/litmusctl/blob/master/README.md) is required.

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

View File

@ -31,3 +31,19 @@ To upgrade Litmus ChaosCenter from 2.1.0 to 2.2.0, you can follow these steps:
> Note: This step is not required for upgrading 2.1.0 to 2.2.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.
<img src={require('../assets/user-guides/upgrade/upgrade-agent.png').default} width="800" />
Alternatively you can run the following command using litmusctl in the cluster containing the agent by providing `<CLUSTER_ID>` and `<PROJECT_ID>`.
```
litmusctl upgrade agent --cluster-id="<CLUSTER_ID>" --project-id="<PROJECT_ID>"
```
> Note: v0.5.0 of [litmusctl](https://github.com/litmuschaos/litmusctl/blob/master/README.md) is required.