Skip to content

Commit bd7c344

Browse files
authored
Update usage-non-interactive-mode.md
1 parent 65465f4 commit bd7c344

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

website/docs/litmusctl/usage-non-interactive-mode.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar_label: Using non interactive mode
99
# Usage: Litmusctl v0.3.0
1010
> Notes:
1111
> * For litmusctl v0.3.0 or latest
12-
> * Compatible with Litmus 2.0.0 or latest
12+
> * Compatible with Litmus 2.0.0-Beta9 or latest
1313
1414
### litmusctl Syntax
1515
`litmusctl` has a syntax to use as follows:
@@ -43,13 +43,13 @@ Note: With namespace mode, the user needs to create the namespace to install the
4343
litmusctl config set-account --endpoint="" --username="" --password=""
4444
```
4545

46-
* To create an agent without a project in a cluster mode
46+
* To create an agent without a project
4747
>Note: If the user doesn't have any project, it will create a random project and add the agent in that random project.
4848
```shell
4949
litmusctl create agent --agent-name="" --non-interactive
5050
```
5151

52-
Or,
52+
### Or,
5353

5454
* To create an agent with an existing project
5555
> Note: To get `project-id`. Apply `litmusctl get projects`
@@ -58,12 +58,9 @@ Or,
5858
litmusctl create agent --agent-name="" --project-id="" --non-interactive
5959
```
6060

61-
#### Verify the new Agent Connection
62-
63-
To verify, if the connection process was successful you can view the list of connected agents from the Targets section on your ChaosCenter and ensure that the connected agent is in Active State.
64-
6561
### Flags for `create agent` command
6662
<table>
63+
<tr>
6764
<th>Flag</th>
6865
<th>Short Flag</th>
6966
<th>Type</th>
@@ -80,6 +77,12 @@ To verify, if the connection process was successful you can view the list of con
8077
<td>String</td>
8178
<td>Set the cluster-type to external for external agents | Supported=external/internal (default "external")</td>
8279
</tr>
80+
<tr>
81+
<td>--skip-agent-ssl</td>
82+
<td></td>
83+
<td>Boolean</td>
84+
<td>Set whether agent will skip ssl/tls check (can be used for self-signed certs, if cert is not provided in portal) (default false)</td>
85+
</tr>
8386
<tr>
8487
<td>--cluster-type</td>
8588
<td></td>
@@ -108,7 +111,7 @@ To verify, if the connection process was successful you can view the list of con
108111
<td>--node-selector</td>
109112
<td></td>
110113
<td>String</td>
111-
<td>Set the node-selector for agent components | Format: key1=value1,key2=value2)</td>
114+
<td>Set the node-selector for agent components | Format: key1=value1,key2=value2)
112115
</tr>
113116
<tr>
114117
<td>--non-interactive</td>
@@ -224,6 +227,7 @@ AGENTID AGENTNAME STATUS
224227
13dsf3d1-5324-54af-4g23-5331g5v2364f agent-2 INACTIVE
225228
```
226229

230+
227231
For more information related to flags, Use `litmusctl --help`.
228232

229233
---

0 commit comments

Comments
 (0)