Skip to content

Commit c77dd91

Browse files
authored
[docs-update]: Adding docs for 3.0.0-beta6 release (#215)
* Added changes for new docs - 3.0.0-beta6 Signed-off-by: Jonsy13 <[email protected]> * Added changes for versions Signed-off-by: Jonsy13 <[email protected]> * Update Pull_Request.yml --------- Signed-off-by: Jonsy13 <[email protected]>
1 parent cccf7c6 commit c77dd91

File tree

288 files changed

+10893
-18
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

288 files changed

+10893
-18
lines changed

.github/workflows/Pull_Request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
shell: sh
5353

5454
ci:
55-
runs-on: ubuntu-18.04
55+
runs-on: ubuntu-latest
5656
steps:
5757
- uses: actions/checkout@v2
5858

website/docs/getting-started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Visit https://docs.litmuschaos.io to find more info.
9999
Applying the manifest file will install all the required service account configuration and ChaosCenter.
100100

101101
```bash
102-
kubectl apply -f https://litmuschaos.github.io/litmus/3.0.0-beta5/litmus-3.0.0-beta5.yaml
102+
kubectl apply -f https://litmuschaos.github.io/litmus/3.0.0-beta6/litmus-3.0.0-beta6.yaml
103103
```
104104

105105
---

website/docs/litmusctl/installation.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,43 +49,47 @@ To check compatibility of litmusctl with Chaos Center
4949
</tr>
5050
<tr>
5151
<td>0.10.0</td>
52-
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5</td>
52+
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5, 3.0.0-beta6</td>
5353
</tr>
5454
<tr>
5555
<td>0.11.0</td>
56-
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5</td>
56+
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5, 3.0.0-beta6</td>
5757
</tr>
5858
<tr>
5959
<td>0.12.0</td>
60-
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5</td>
60+
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5, 3.0.0-beta6</td>
6161
</tr>
6262
<tr>
6363
<td>0.13.0</td>
64-
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5</td>
64+
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5, 3.0.0-beta6</td>
6565
</tr>
6666
<tr>
6767
<td>0.14.0</td>
68-
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5</td>
68+
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5, 3.0.0-beta6</td>
6969
</tr>
7070
<tr>
7171
<td>0.15.0</td>
72-
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5</td>
72+
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5, 3.0.0-beta6</td>
7373
</tr>
7474
<tr>
7575
<td>0.16.0</td>
76-
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5</td>
76+
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5, 3.0.0-beta6</td>
7777
</tr>
7878
<tr>
7979
<td>0.17.0</td>
80-
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5</td>
80+
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5, 3.0.0-beta6</td>
8181
</tr>
8282
<tr>
8383
<td>0.18.0</td>
84-
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5</td>
84+
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5, 3.0.0-beta6</td>
8585
</tr>
8686
<tr>
8787
<td>0.19.0</td>
88-
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5</td>
88+
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5, 3.0.0-beta6</td>
89+
</tr>
90+
<tr>
91+
<td>0.20.0</td>
92+
<td>2.9.0, 2.10.0, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 3.0-beta1, 3.0.0-beta2, 3.0.0-beta3, 3.0.0-beta4, 3.0.0-beta5, 3.0.0-beta6</td>
8993
</tr>
9094
</table>
9195

@@ -95,6 +99,7 @@ To install the latest version of litmusctl follow the below steps:
9599

96100
<table>
97101
<th>Platforms</th>
102+
<th>0.20.0</th>
98103
<th>0.19.0</th>
99104
<th>0.18.0</th>
100105
<th>0.17.0</th>
@@ -106,6 +111,7 @@ To install the latest version of litmusctl follow the below steps:
106111
<th>master(Unreleased)</th>
107112
<tr>
108113
<td>litmusctl-darwin-amd64 (MacOS)</td>
114+
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-darwin-amd64-0.20.0.tar.gz">Click here</a></td>
109115
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-darwin-amd64-0.19.0.tar.gz">Click here</a></td>
110116
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-darwin-amd64-0.18.0.tar.gz">Click here</a></td>
111117
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-darwin-amd64-0.17.0.tar.gz">Click here</a></td>
@@ -118,6 +124,7 @@ To install the latest version of litmusctl follow the below steps:
118124
</tr>
119125
<tr>
120126
<td>litmusctl-linux-386</td>
127+
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-386-0.20.0.tar.gz">Click here</a></td>
121128
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-386-0.19.0.tar.gz">Click here</a></td>
122129
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-386-0.18.0.tar.gz">Click here</a></td>
123130
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-386-0.17.0.tar.gz">Click here</a></td>
@@ -130,6 +137,7 @@ To install the latest version of litmusctl follow the below steps:
130137
</tr>
131138
<tr>
132139
<td>litmusctl-linux-amd64</td>
140+
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-amd64-0.20.0.tar.gz">Click here</a></td>
133141
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-amd64-0.19.0.tar.gz">Click here</a></td>
134142
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-amd64-0.18.0.tar.gz">Click here</a></td>
135143
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-amd64-0.17.0.tar.gz">Click here</a></td>
@@ -142,6 +150,7 @@ To install the latest version of litmusctl follow the below steps:
142150
</tr>
143151
<tr>
144152
<td>litmusctl-linux-arm</td>
153+
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-arm-0.20.0.tar.gz">Click here</a></td>
145154
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-arm-0.19.0.tar.gz">Click here</a></td>
146155
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-arm-0.18.0.tar.gz">Click here</a></td>
147156
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-arm-0.17.0.tar.gz">Click here</a></td>
@@ -154,6 +163,7 @@ To install the latest version of litmusctl follow the below steps:
154163
</tr>
155164
<tr>
156165
<td>litmusctl-linux-arm64</td>
166+
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-arm64-0.20.0.tar.gz">Click here</a></td>
157167
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-arm64-0.19.0.tar.gz">Click here</a></td>
158168
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-arm64-0.18.0.tar.gz">Click here</a></td>
159169
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-linux-arm64-0.17.0.tar.gz">Click here</a></td>
@@ -166,6 +176,7 @@ To install the latest version of litmusctl follow the below steps:
166176
</tr>
167177
<tr>
168178
<td>litmusctl-windows-386</td>
179+
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-windows-386-0.20.0.tar.gz">Click here</a></td>
169180
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-windows-386-0.19.0.tar.gz">Click here</a></td>
170181
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-windows-386-0.18.0.tar.gz">Click here</a></td>
171182
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-windows-386-0.17.0.tar.gz">Click here</a></td>
@@ -178,6 +189,7 @@ To install the latest version of litmusctl follow the below steps:
178189
</tr>
179190
<tr>
180191
<td>litmusctl-windows-amd64</td>
192+
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-windows-amd64-0.20.0.tar.gz">Click here</a></td>
181193
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-windows-amd64-0.19.0.tar.gz">Click here</a></td>
182194
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-windows-amd64-0.18.0.tar.gz">Click here</a></td>
183195
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-windows-amd64-0.17.0.tar.gz">Click here</a></td>
@@ -190,6 +202,7 @@ To install the latest version of litmusctl follow the below steps:
190202
</tr>
191203
<tr>
192204
<td>litmusctl-windows-arm</td>
205+
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-windows-arm-0.20.0.tar.gz">Click here</a></td>
193206
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-windows-arm-0.19.0.tar.gz">Click here</a></td>
194207
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-windows-arm-0.18.0.tar.gz">Click here</a></td>
195208
<td><a href="https://litmusctl-production-bucket.s3.amazonaws.com/litmusctl-windows-arm-0.17.0.tar.gz">Click here</a></td>

website/docs/user-guides/chaoscenter-cluster-scope-installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ Visit https://docs.litmuschaos.io to find more info.
8080
Applying the manifest file will install all the required service account configuration and ChaosCenter.
8181

8282
```bash
83-
kubectl apply -f https://litmuschaos.github.io/litmus/3.0.0-beta5/litmus-3.0.0-beta5.yaml
83+
kubectl apply -f https://litmuschaos.github.io/litmus/3.0.0-beta6/litmus-3.0.0-beta6.yaml
8484
```
8585

86-
> If you are installing Litmus in any other namespace apart from `litmus` namespace, make sure to change the same in the manifest too `https://litmuschaos.github.io/litmus/3.0.0-beta5/litmus-3.0.0-beta5.yaml`.
86+
> If you are installing Litmus in any other namespace apart from `litmus` namespace, make sure to change the same in the manifest too `https://litmuschaos.github.io/litmus/3.0.0-beta6/litmus-3.0.0-beta6.yaml`.
8787
8888
## **Verify your installation**
8989

website/docs/user-guides/chaoscenter-namespace-scope-installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ customresourcedefinition.apiextensions.k8s.io/eventtrackerpolicies.eventtracker.
141141
Applying the manifest file will install all the required service account configuration and ChaosCenter.
142142

143143
```bash
144-
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.0.0-beta5/litmus-namespaced-3.0.0-beta5.yaml -n <Your Namespace>
144+
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.0.0-beta6/litmus-namespaced-3.0.0-beta6.yaml -n <Your Namespace>
145145
```
146146

147147
> You need to provide the Namespace in place of `Your Namespace`, that you have created eariler for the litmuschaos Installation

website/docs/user-guides/uninstall-litmus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ To uninstall the ChaosCenter from the system, follow these steps -
102102
- **Litmus 2.0.0**
103103

104104
```bash
105-
kubectl delete -f https://raw.githubusercontent.com/litmuschaos/litmus/3.0.0-beta5/mkdocs/docs/3.0.0-beta5/litmus-3.0.0-beta5.yaml
105+
kubectl delete -f https://raw.githubusercontent.com/litmuschaos/litmus/3.0.0-beta6/mkdocs/docs/3.0.0-beta6/litmus-3.0.0-beta6.yaml
106106
```
107107

108108
> To delete any specific version of the ChaosCenter, replace the above command with the below command. `kubectl delete -f https://raw.githubusercontent.com/litmuschaos/litmus/<VERSION>/docs/<VERSION/litmus-<VERSION>.yaml`

website/docs/user-guides/upgrade.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ sidebar_label: Upgrade
88

99
## Upgrade ChaosCenter
1010

11-
To upgrade Litmus ChaosCenter from 2.3.0 to 2.4.0, you can follow these steps:
11+
To upgrade Litmus ChaosCenter from 3.0.0-beta5 to 3.0.0-beta6, you can follow these steps:
1212

1313
> Note: This step is not required if using Helm, Helm upgrade should work.
1414
1515
1. Upgrade the control plane (ChaosCenter)
1616
To upgrade ChaosCenter, you can re-apply the manifest using the kubectl.
1717

1818
```bash
19-
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.0.0-beta5/litmus-3.0.0-beta5.yaml
19+
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.0.0-beta6/litmus-3.0.0-beta6.yaml
2020
```
2121

2222
## Upgrade Mongodb DB Schema
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
id: architecture-summary
3+
title: Architecture Summary
4+
sidebar_label: Architecture Summary
5+
---
6+
7+
---
8+
9+
<img src={require("../assets/architecture-summary.png").default} alt="Architecture Overview" />
10+
11+
The Litmus architecture can be segregated into two parts:
12+
13+
1. **Control Plane:** Contains the components required for the functioning of Chaos Center, the website-based portal for Litmus.
14+
15+
2. **Execution Plane:** Contains the components required for the injection of chaos in the target resources.
16+
17+
Chaos Center can be used for creating, scheduling, and monitoring Chaos Scenarios, a set of chaos experiments defined in a definitive sequence to achieve desired chaos impact on the target resources upon execution. Users can log in to the Chaos Center using valid login credentials and leverage the interactive web UI to define their chaos scenario to target multiple aspects of their infrastructure. Once the user creates a Chaos Scenario using the Chaos Center, it is passed on to the Execution Plane. The Execution Plane can be present either in the host cluster containing the Control Plane if the self chaos delegate is being used, or in the target cluster if an external chaos delegate is being used. The Execution Plane interprets the Chaos Scenario as a list of steps required for injecting chaos into the target resources. It ensures efficient orchestration of chaos in cloud-native environments using various Kubernetes CRs. Once the Chaos Scenario is executed, Execution Plane sends the chaos result to the Control Plane for their post-processing using either the built-in monitoring dashboard of Litmus or using external observability tools such as Prometheus DB and Grafana dashboard. Litmus also achieves automated Chaos Scenario runs to execute chaos as part of the CI/CD pipeline based on a set of defined conditions using GitOps.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
id: chaos-control-plane
3+
title: Chaos Control Plane
4+
sidebar_label: Chaos Control Plane
5+
---
6+
7+
---
8+
9+
<img src={require("../assets/chaos-control-plane.png").default} alt="Chaos Control Plane" />
10+
11+
Chaos Control Plane consists of micro-services responsible for the functioning of the Chaos Center, the website-based portal that can be used for interacting with Litmus, apart from the CLI. Chaos Plane facilitates the creation and scheduling of chaos scenarios, system observability during the event of chaos, and post-processing and analysis of experiment results.
12+
13+
## Chaos Control Plane Components
14+
15+
- **Authentication Server:** A Golang micro-service that is responsible for authorizing, authenticating the requests received from Chaos Center and managing users along with their projects. It primarily serves the cause of user creation, user login, resetting the password, updating user information, creating project, managing project related operations.
16+
17+
- **Backend Server:** A GraphQL based Golang micro-service that serves the requests received from Chaos Center, by either querying the database for the relevant information or by fetching information from the Execution Plane.
18+
19+
- **Database:** A NoSQL MongoDB database micro-service that is accountable for storing users' information, past chaos scenarios, saved chaos scenario templates, user projects, ChaosHubs, and GitOps details, among the other information.
20+
21+
- **Chaos Center:** Refers to the interfaces used by Litmus for creation and scheduling of chaos scenarios, system observability during chaos injection, and post chaos result analysis. It includes:
22+
23+
- **Web UI:** A React.js based frontend application micro-service with built-in system observability capabilities and an analytics dashboard. It also facilitates teams of users to collaborate over chaos scenarios using role-based user accounts.
24+
25+
- **Litmusctl:** A command-line tool that allows management of Litmus Chaos Delegate Infrastructure components. It can be used to create chaos delegates, project, and manage multiple Litmus accounts.
26+
27+
- **Litmus API:** Refers to two different Litmus APIs, namely Litmus Authentication API and Litmus Portal API:
28+
29+
- **Litmus Authentication API:** Used to authenticate the identity of a user and to perform several user and project specific tasks like create new users, update profile, update password, create project, invite users to project, get project details etc. It uses the Authentication Server to perform these tasks.
30+
31+
- **Litmus Portal API:** Provides command-line and UI experience for managing and monitoring the events around chaos scenarios. It uses the Backend Server to perform its functions.
32+
33+
## Standard Chaos Control Plane Flow
34+
35+
1. The User logs in to the ChaosCenter using a valid login credential. A default project is created for the user on initial login. Every user is a part of a project and has a role assigned to them. To schedule a chaos scenario, the user needs to have an Editor or Owner role assigned in the project.
36+
2. The user uploads a Chaos Scenario manifest using the ChaosCenter, which is received by the Backend Server.
37+
3. Backend Server stores the manifest in the Database and also sends it to the Chaos Delegate.
38+
4. Chaos Delegate uses the Chaos Scenario manifest to inject chaos into the target resources. The steps of the Chaos Scenario execution can be visualized using the ChaosCenter.
39+
5. Chaos Delegate returns the results of the chaos experiments that were a part of the chaos scenario back to the Backend Server, along with the experiment logs.
40+
6. Backend Server then sends the chaos experiment results and logs to the ChaosCenter. It also stores the results into the Database for generating post-chaos scenario statistics and information.

0 commit comments

Comments
 (0)