Added ChaosCenter upgrade docs (#100)

* Added upgrade docs

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
Co-authored-by: Raj Babu Das <mail.rajdas@gmail.com>
This commit is contained in:
Amit Kumar Das 2021-08-15 20:21:01 +05:30 committed by GitHub
parent 5299e55c87
commit eca9c056bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 72 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

View File

@ -0,0 +1,33 @@
---
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.
<img src={require('../assets/disconnect-image.png').default} width="800" />
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.

View File

@ -139,7 +139,8 @@ module.exports = {
},
'user-guides/gitops-configuration',
'user-guides/image-registry',
'user-guides/uninstall-litmus'
'user-guides/uninstall-litmus',
'user-guides/upgrade'
]
},

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

View File

@ -0,0 +1,33 @@
---
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.
<img src={require('../assets/disconnect-image.png').default} width="800" />
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.

View File

@ -367,6 +367,10 @@
{
"type": "doc",
"id": "version-2.0.0/user-guides/uninstall-litmus"
},
{
"type": "doc",
"id": "version-2.0.0/user-guides/upgrade"
}
]
},