Skip to content

Commit e9342b5

Browse files
author
charlotte kefeletswe
committed
Revert "update content on all versions (#325)"
This reverts commit 2e30ae1.
1 parent bffb56c commit e9342b5

File tree

11 files changed

+1518
-1703
lines changed

11 files changed

+1518
-1703
lines changed

website/versioned_docs/version-3.10.0/getting-started/installation.md

Lines changed: 58 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,41 @@ sidebar_label: Installation
99
## Prerequisites
1010

1111
- Kubernetes 1.17 or later
12-
- A persistent volume of 20GB
13-
- [Helm3](https://v3.helm.sh/) or [kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl)
14-
15-
:::tip
16-
Litmus recommends you have a persistent volume (PV) of 20GB. You can start with 1GB for test purposes. This PV is used as persistent storage to store the chaos configuration and other chaos metrics in the portal. By default, the `litmus install` command uses the default storage class to allocate the PV.
17-
:::
1812

19-
## Installation
13+
- A Persistent volume of 20GB
2014

21-
If you are a first time Litmus user, you can install Litmus in two ways:
15+
:::note
16+
Recommend to have a Persistent volume(PV) of 20GB, You can start with 1GB for test purposes as well. This PV is used as persistent storage to store the chaos config and chaos-metrics in the Portal. By default, litmus install would use the default storage class to allocate the PV. Provide this value
17+
:::
2218

23-
- Use a hosted Litmus service like [Harness Chaos Engineering SaaS](https://app.harness.io/auth/#/signin). Go to [install hosted service] to know more.
19+
- [Helm3](https://v3.helm.sh/) or [kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl)
2420

25-
**OR**
21+
## Installation
2622

27-
- Install Litmus in your Kubernetes cluster. Go to [self-hosted service] to know more.
23+
Users looking to use Litmus for the first time have two options available to them today. One way is to use a hosted Litmus service like [Harness Chaos Engineering SaaS](https://app.harness.io/auth/#/signin). Alternatively, users looking for some more flexibility can install Litmus into their own Kubernetes cluster.
2824

29-
If you wish to install Litmus in your Kubernetes cluster (that is, self-hosted), Install and Configure docs for installing alternate versions and more detailed instructions.
25+
Users choosing the self-hosted option can refer to our Install and Configure docs for installing alternate versions and more detailed instructions.
3026

31-
## Self-hosted service
27+
import Tabs from '@theme/Tabs';
28+
import TabItem from '@theme/TabItem';
3229

33-
You can install self-hosted Litmus in two ways:
34-
- Using [Helm](#install-litmus-using-helm).
35-
- Using [kubectl YAML spec file](#install-litmus-using-kubectl).
30+
<Tabs>
31+
<TabItem value="self-hosted" label="Self-Hosted" default>
32+
Installation of Self-Hosted Litmus can be done using either of the below methods:
33+
<li><a href="#install-litmus-using-helm">Helm3</a> chart</li>
34+
<li><a href="#install-litmus-using-kubectl">Kubectl</a> yaml spec file</li>
35+
<br/>
36+
Refer to the below details for Self-Hosted Litmus installation.
37+
</TabItem>
38+
<TabItem value="hosted" label="Hosted (Beta)">
39+
<a href="https://harness.io/">Harness</a> offers a free service for community members which makes getting started with Litmus easy. Create an account to get started. Once logged in, create a new hosted control plane and connect to it via the up CLI. Litmus can be used as a hosted cloud service using <a href="https://app.harness.io/auth/#/signin">Harness Chaos Engineering SaaS</a>. Harness Chaos Engineering SaaS executes your Chaos Experiments in the cloud by managing all your Chaos Control Plane components, while the Chaos Execution Plane components exist on your Kubernetes cluster as part of an external chaos infrastructure.
40+
<br/><br/>
41+
To get started with Harness Chaos Engineering SaaS, visit <a href="https://developer.harness.io/docs/chaos-engineering/get-started/learn-more-free-plan">Harness Chaos Engineering SaaS</a> and register for free. You can skip the below installation steps.
42+
</TabItem>
43+
</Tabs>
3644

37-
:::tip
38-
With the 3.9.0 release, cluster scope installation has been deprecated. Only namespaced scope is supported and is the standard installation mode.
45+
:::note
46+
With 3.9.0 release, Cluster scope installation is deprecated. Now Namespaced mode is the only supported and standard installation mode.
3947
:::
4048

4149
### Install Litmus using Helm
@@ -44,37 +52,30 @@ The helm chart will install all the required service account configuration and C
4452

4553
The following steps will help you install Litmus ChaosCenter via helm.
4654

47-
#### 1. Add the Litmus Helm repository
48-
49-
Execute the below commands on your terminal.
55+
#### Step-1: Add the litmus helm repository
5056

5157
```bash
5258
helm repo add litmuschaos https://litmuschaos.github.io/litmus-helm/
5359
helm repo list
5460
```
5561

56-
#### 2. Create the namespace where you want to install Litmus ChaosCenter
62+
#### Step-2: Create the namespace on which you want to install Litmus ChaosCenter
5763

58-
You can place ChaosCenter in any namespace, but for this case, choose `litmus` as the namespace.
64+
- The ChaosCenter can be placed in any namespace, but for this scenario we are choose `litmus` as the namespace.
5965

6066
```bash
6167
kubectl create ns litmus
6268
```
6369

64-
#### 3. Install Litmus ChaosCenter
65-
66-
Execute the below command on your terminal.
70+
#### Step-3: Install Litmus ChaosCenter
6771

6872
```bash
6973
helm install chaos litmuschaos/litmus --namespace=litmus --set portal.frontend.service.type=NodePort
7074
```
7175

72-
:::info note
73-
- your Kubernetes cluster isn't local, you may want not to expose Litmus via `NodePort`. In that case, remove `--set portal.frontend.service.type=NodePort` option.
74-
- To connect to Litmus UI from your laptop, you can use `port-forward svc/chaos-litmus-frontend-service 9091:9091`. And open `127.0.0.1:9091` on your browser.
75-
:::
76+
> **Note:** If your Kubernetes cluster isn't local, you may want not to expose Litmus via `NodePort`. If so, remove `--set portal.frontend.service.type=NodePort` option. To connect to Litmus UI from your laptop, you can use `port-forward svc/chaos-litmus-frontend-service 9091:9091`. Then you can use your browser and open `127.0.0.1:9091`.
7677
77-
Litmus helm chart depends on `bitnami/mongodb` [Helm chart](https://github.com/bitnami/charts/tree/main/bitnami/mongodb), which uses a MongoDB image that is not supported on ARM. If you want to install Litmus on an ARM-based server, replace the default with your custom MongoDB ARM image as shown below.
78+
- Litmus helm chart depends on `bitnami/mongodb` [helm chart](https://github.com/bitnami/charts/tree/main/bitnami/mongodb), which uses a mongodb image not supported on ARM. If you want to install Litmus on an ARM-based server, please replace the default one with your custom mongodb arm image as shown below.
7879

7980
```bash
8081
helm install chaos litmuschaos/litmus --namespace=litmus \
@@ -101,24 +102,22 @@ Your release is named chaos and its installed to namespace: litmus.
101102
Visit https://docs.litmuschaos.io to find more info.
102103
```
103104

104-
:::tip
105-
Litmus uses Kubernetes CRDs to define the chaos intent. Helm3 handles CRDs better than Helm2. Before you run a chaos experiment, verify if Litmus is installed correctly.
106-
:::
105+
> **Note:** Litmus uses Kubernetes CRDs to define chaos intent. Helm3 handles CRDs better than Helm2. Before you start running a chaos experiment, verify if Litmus is installed correctly.
107106
108-
### Install Litmus using kubectl
107+
## **Install Litmus using kubectl**
109108

110-
You need to install Mongo via helm and apply the installation manifest. Go to [installation instructions for Litmus Beta](https://github.com/litmuschaos/litmus/tree/master/chaoscenter#installation-steps-for-litmus-300-beta9).
109+
In this method the users need to install mongo first via helm and then apply the installation manifest. Follow the instructions [here](https://github.com/litmuschaos/litmus/tree/master/chaoscenter#installation-steps-for-litmus-300-beta9).
111110

112-
#### Install Mongo
111+
### **Install mongo**
113112

114113
```bash
115114
helm repo add bitnami https://charts.bitnami.com/bitnami
116115
```
117116

118-
Mongo values
117+
Mongo Values
119118

120119
```bash
121-
auth:
120+
auth:
122121
enabled: true
123122
rootPassword: "1234"
124123
# -- existingSecret Existing secret with MongoDB(&reg;) credentials (keys: `mongodb-passwords`, `mongodb-root-password`, `mongodb-metrics-password`, ` mongodb-replica-set-key`)
@@ -147,31 +146,26 @@ metrics:
147146
helm install my-release bitnami/mongodb --values mongo-values.yml -n <NAMESPACE> --create-namespace
148147
```
149148

150-
Litmus supports HTTP and HTTPS mode of installation.
149+
Litmus supports for HTTP and HTTPS mode of installation.
151150

152-
### Basic installation (HTTP-based and allows all origins)
151+
### Basic installation (HTTP based and allows all origins)
153152

154-
Applying the manifest file installs all the required service account configuration and ChaosCenter in the namespaced scope.
153+
Applying the manifest file will install all the required service account configuration and ChaosCenter in namespaced scope.
155154

156155
```bash
157-
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.9.1/litmus-getting-started.yaml -n <NAMESPACE>
156+
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.10.0/litmus-getting-started.yaml -n <NAMESPACE>
158157
```
159158

160-
### Advanced installation (HTTPS-based and CORS rules apply)
161-
162-
For advanced installation visit [advanced installation](../user-guides/chaoscenter-advanced-installation.md)
159+
### Advanced installation (HTTPS based and CORS rules apply)
163160

164-
## Hosted (beta) service
161+
For advanced installation visit [here](../user-guides/chaoscenter-advanced-installation.md)
165162

166-
[Harness](https://harness.io/) offers a free service for community members which makes getting started with Litmus easy. Create an account to get started. Once you log in, create a new hosted control plane and connect to it via the CLI.
167-
168-
You can use Litmus as a hosted cloud service using [Harness Chaos Engineering SaaS](https://app.harness.io/auth/#/signin). Harness Chaos Engineering SaaS executes your chaos experiments in the cloud by managing all your chaos control plane components. The chaos execution plane components exist on your Kubernetes cluster as part of an external chaos infrastructure.
163+
---
169164

170-
To get started with Harness Chaos Engineering SaaS, go to [Harness developer hub](https://developer.harness.io/docs/chaos-engineering/get-started/learn-more-free-plan) and register for free.
165+
## **Verify your installation**
171166

172-
## Verify your installation
167+
#### **Verify if the frontend, server, and database pods are running**
173168

174-
- Verify if the frontend, server, and database pods are running
175169
- Check the pods in the namespace where you installed Litmus:
176170

177171
```bash
@@ -211,9 +205,11 @@ To get started with Harness Chaos Engineering SaaS, go to [Harness developer hub
211205
workflow-controller-metrics ClusterIP 10.68.33.65 <none> 9090/TCP 23h
212206
```
213207

214-
## Access the ChaosCenter
208+
---
209+
210+
## **Accessing the ChaosCenter**
215211

216-
To setup and login to ChaosCenter, expand the available services you created and copy the `PORT` of the `litmusportal-frontend-service` service.
212+
To setup and login to ChaosCenter expand the available services just created and copy the `PORT` of the `litmusportal-frontend-service` service
217213

218214
```bash
219215
kubectl get svc -n litmus
@@ -230,25 +226,21 @@ mongo-service ClusterIP 10.43.227.10 <none> 2701
230226
mongo-headless-service ClusterIP None <none> 27017/TCP 101s
231227
```
232228

233-
:::note
234-
In this case, the PORT for `litmusportal-frontend-service` is `31846`. Your port will be a different one.
235-
:::
229+
> **Note**: In this case, the PORT for `litmusportal-frontend-service` is `31846`. Yours will be different.
236230
237-
Once you copy the PORT to your clipboard, use your IP and PORT in the following manner: `<NODEIP>:<PORT>` to access the Litmus ChaosCenter.
231+
Once you have the PORT copied in your clipboard, simply use your IP and PORT in this manner `<NODEIP>:<PORT>` to access the Litmus ChaosCenter.
238232

239233
For example:
240234

241235
```yaml
242236
http://172.17.0.3:31846/
243237
```
244238

245-
> Where `172.17.0.3` is your NodeIP and `31846` is the frontend service PORT. If you are using a LoadBalancer, provide a `<LoadBalancerIP>:<PORT>`. [Learn more about how to access ChaosCenter with LoadBalancer](../user-guides/setup-without-ingress.md#with-loadbalancer)
239+
> Where `172.17.0.3` is my NodeIP and `31846` is the frontend service PORT. If using a LoadBalancer, the only change would be to provide a `<LoadBalancerIP>:<PORT>`. [Learn more about how to access ChaosCenter with LoadBalancer](../user-guides/setup-without-ingress.md#with-loadbalancer)
246240
247-
:::info note
248-
With advanced installation, CORS rules are applied. Once the manifest is applied, the frontend LoadBalancer IP needs to be added to the `ALLOWED_ORIGINS` environment in both `auth` and `graphql` server deployment.
249-
:::
241+
**NOTE:** With advanced installation CORS rules are applied, once manifest is applied frontend loadbalancer IP needs to be added in the `ALLOWED_ORIGINS` environment in both auth and graphql server deployment.
250242

251-
You will see the login page of Litmus ChaosCenter. The **default credentials** are:
243+
You should be able to see the Login Page of Litmus ChaosCenter. The **default credentials** are
252244

253245
```yaml
254246
Username: admin
@@ -257,7 +249,7 @@ Password: litmus
257249
258250
<img src={require('../assets/login.png').default} width="800" />
259251
260-
By default, you are assigned to a default project with **owner** permissions.
252+
By default you are assigned with a default project with Owner permissions.
261253
262254
<img src={require('../assets/landing-page.png').default} width="800" />
263255
@@ -266,4 +258,4 @@ By default, you are assigned to a default project with **owner** permissions.
266258
- [Install ChaosCenter with HTTPS](../user-guides/chaoscenter-advanced-installation.md)
267259
- [Connect External Chaos Infrastructures to ChaosCenter](../user-guides/chaos-infrastructure-installation.md)
268260
- [Setup Endpoints and Access ChaosCenter without Ingress](../user-guides/setup-without-ingress.md)
269-
- [Setup Endpoints and Access ChaosCenter with Ingress](../user-guides/setup-with-ingress.md)
261+
- [Setup Endpoints and Access ChaosCenter with Ingress](../user-guides/setup-with-ingress.md)

website/versioned_docs/version-3.10.0/getting-started/resources.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ sidebar_label: Resources
77
---
88

99
## ChaosCenter
10-
ChaosCenter is a unified pane that controls all the functions Litmus provides. You can use ChaosCenter to manage the entire lifecycle of the chaos experiments, including the components within.
10+
ChaosCenter is a unified pane that controls all the functions provided by Litmus. It can be used for managing the entire lifecycle of the chaos experiments, including all the components within.
1111

12-
ChaosCenter comes pre-packaged as a part of LitmusChaos installation and you can easily access it via [ingress](../user-guides/setup-with-ingress.md), [NodePort](../user-guides/setup-without-ingress.md#with-nodeport) or [LoadBalancer](../user-guides/setup-without-ingress.md#with-loadbalancer). Since Litmus has cross-cloud support, you get seamless access to the ChaosCenter regardless of where you deploy it.
12+
ChaosCenter comes pre-packaged as a part of LitmusChaos installation and can be easily accessed via [Ingress](../user-guides/setup-with-ingress.md), [NodePort](../user-guides/setup-without-ingress.md#with-nodeport) or [LoadBalancer](../user-guides/setup-without-ingress.md#with-loadbalancer). Since Litmus has Cross-Cloud support, you get seamless access to the ChaosCenter irrespectively of where you deploy it.
1313

14-
ChaosCenter gives you a plethora of features, that include:
14+
ChaosCenter gives you access to a plethora of features, the major ones include:
1515

1616
- **Chaos experiment creation**
1717
- From templates, custom experiments from scratch (using ChaosHubs), from pre-created YAMLs
@@ -27,13 +27,13 @@ ChaosCenter gives you a plethora of features, that include:
2727
- Allowing image addition from custom image server (both public and private)
2828
- Measure and analyze the Resilience Score of each chaos scenario
2929

30-
## Chaos Infrastructure
31-
Chaos infrastructure is a service that runs in your target environment and aids Litmus in accessing and injecting chaos into your target environment. To execute an experiment, you need at least one chaos infrastructure connected to the ChaosCenter.
30+
## Chaos Infrastructures
31+
Chaos infrastructure is a service that runs in your target environment and aids Litmus in accessing and injecting chaos to your target environment. There should always be at least one or more than one chaos infrastructure connected to the ChaosCenter to execute an experiment.
3232

33-
## Types of Chaos Infrastructure
33+
## Types of Chaos Infrastructures
3434

35-
In Litmus, you can classify chaos infrastructure into two types:
35+
In Litmus, chaos infrastructures can be classified into two types:
3636

37-
- **Self chaos infrastructure:** A chaos infrastructure that is connected to the same cluster and namespace where the ChaosCenter is deployed. You can use this to target the workloads executing on that cluster only.
37+
- **Self Chaos Infrastructures:** A Chaos Infrastructure that is connected to the same cluster and namespace where the ChaosCenter is deployed. It can be used to target the workloads executing on that cluster only.
3838

39-
- **External chaos infrastructure:** A chaos infrastructure connected to a remote Kubernetes cluster. You can operate ChaosCenter in a cross-cloud manner, connecting multiple external chaos infrastructures to the same ChaosCenter with the help of the [litmusctl](../litmusctl/installation.md) CLI. Once connected you can manage, monitor, observe, and induce chaos from the ChaosCenter to the respective external chaos infrastructures.
39+
- **External Chaos Infrastructures:** A Chaos Infrastructure that is connected to a remote Kubernetes cluster. ChaosCenter can be operated in a cross-cloud manner, which allows connecting multiple External Chaos Infrastructure to the same ChaosCenter with the help of the [litmusctl](../litmusctl/installation.md) CLI. Once connected you can manage, monitor, observe and induce chaos from the ChaosCenter to the respective External Chaos Infrastructures.

0 commit comments

Comments
 (0)