-
Notifications
You must be signed in to change notification settings - Fork 54
Update commands and logs with new terminology #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Sarthak Jain <sarthak.jain@harness.io>
Usage.md
Outdated
| ### Installation modes | ||
| Litmusctl can install an agent in two different modes. | ||
| * cluster mode: With this mode, the agent can run the chaos in any namespace. It installs appropriate cluster roles and cluster role bindings to achieve this mode. It can be enabled by passing a flag `--installation-mode=cluster` | ||
| Litmusctl can install an Chaos Delegate in two different modes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an->a
Usage.md
Outdated
| ```shell | ||
| litmusctl connect agent --agent-name="" --project-id="" --non-interactive | ||
| litmusctl connect chaos-delegate --chaos-delegate-name="" --project-id="" --non-interactive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't it be --chaos-delegate-name -> --name ? 🤔
Usage.md
Outdated
|
|
||
|
|
||
| * To list the created workflows within a project, issue the following command. | ||
| * To list the created scenarios within a project, issue the following command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scenarios -> Chaos Scenarios
Usage.md
Outdated
|
|
||
|
|
||
| * To delete a particular chaos workflow, issue the following command. | ||
| * To delete a particular chaos sceanrio, issue the following command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sceanrio -> scenario
Usage.md
Outdated
|
|
||
| ``` | ||
| 🚀 ChaosWorkflow successfully deleted. | ||
| 🚀 ChaosScenario successfully deleted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a space in between?
Usage_interactive.md
Outdated
| * To delete a particular chaos sceanrio, issue the following command. | ||
| ```shell | ||
| litmusctl delete workflow <workflow-id> --project-id="" | ||
| litmusctl delete delete chaos-scenario <chaos-scenario-id> --project-id="" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you remove one delete?
Usage_interactive.md
Outdated
|
|
||
| ``` | ||
| 🚀 ChaosWorkflow successfully deleted. | ||
| 🚀 ChaosScenario successfully deleted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a space here
pkg/cmd/describe/describe.go
Outdated
| Examples: | ||
| #describe a ChaosWorkflow | ||
| litmusctl describe workflow d861b650-1549-4574-b2ba-ab754058dd04 --project-id="d861b650-1549-4574-b2ba-ab754058dd04" | ||
| #describe a ChaosScenario |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add space
pkg/k8s/operations.go
Outdated
| if ok { | ||
| if podExists(podExistsParams{namespace, label}, kubeconfig) { | ||
| utils.Red.Println("\n🚫 There is an agent already present in this namespace. Please enter a different namespace") | ||
| utils.Red.Println("\n🚫 There is an Chaos Delegate already present in this namespace. Please enter a different namespace") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an -> a
pkg/k8s/operations.go
Outdated
| utils.White_B.Println("💡 Connecting Chaos Delegate to ChaosCenter.") | ||
| if p.Status.Phase == "Running" { | ||
| utils.White_B.Println("🏃 Agents are running!!") | ||
| utils.White_B.Println("🏃 Chaos Delegates are running!!") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chaos Delegate is running
Signed-off-by: Sarthak Jain <sarthak.jain@harness.io>
Updated logs and commands with new terminology:
Signed-off-by: Sarthak Jain sarthak.jain@harness.io