Skip to content

Commit e88e9f8

Browse files
author
Saranya Jena
authored
Added docs for upgrade agent (#141)
* Added docs for upgrade agent Signed-off-by: Saranya-jena <[email protected]>
1 parent 80d03ff commit e88e9f8

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed
110 KB
Loading

website/docs/user-guides/upgrade.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,19 @@ To upgrade Litmus ChaosCenter from 2.0.0-Beta9 to 2.0.0, you can follow these st
3131
> Note: This step is not required for upgrading 2.0.0-Beta9 to 2.0.0
3232

3333
To upgrade the DB schema, make sure to delete the PV before re-installing ChaosCenter.
34+
35+
## Upgrade ChaosAgent
36+
To upgrade your ChaosAgent, you can follow these steps:
37+
38+
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.
39+
40+
<img src={require('../assets/user-guides/upgrade/upgrade-agent.png').default} width="800" />
41+
42+
43+
Alternatively you can run the following command using litmusctl in the cluster containing the agent by providing `<CLUSTER_ID>` and `<PROJECT_ID>`.
44+
45+
```
46+
litmusctl upgrade agent --cluster-id="<CLUSTER_ID>" --project-id="<PROJECT_ID>"
47+
```
48+
49+
> Note: v0.5.0 of [litmusctl](https://github.com/litmuschaos/litmusctl/blob/master/README.md) is required.
110 KB
Loading

website/versioned_docs/version-2.2.0/user-guides/upgrade.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,19 @@ To upgrade Litmus ChaosCenter from 2.1.0 to 2.2.0, you can follow these steps:
3131
> Note: This step is not required for upgrading 2.1.0 to 2.2.0
3232

3333
To upgrade the DB schema, make sure to delete the PV before re-installing ChaosCenter.
34+
35+
## Upgrade ChaosAgent
36+
To upgrade your ChaosAgent, you can follow these steps:
37+
38+
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.
39+
40+
<img src={require('../assets/user-guides/upgrade/upgrade-agent.png').default} width="800" />
41+
42+
43+
Alternatively you can run the following command using litmusctl in the cluster containing the agent by providing `<CLUSTER_ID>` and `<PROJECT_ID>`.
44+
45+
```
46+
litmusctl upgrade agent --cluster-id="<CLUSTER_ID>" --project-id="<PROJECT_ID>"
47+
```
48+
49+
> Note: v0.5.0 of [litmusctl](https://github.com/litmuschaos/litmusctl/blob/master/README.md) is required.

0 commit comments

Comments
 (0)