-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
97 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
hide: | ||
- navigation | ||
--- | ||
|
||
|
||
|
||
|
||
|
||
### CLI usage | ||
|
||
``` | ||
$ loadbot | ||
A command-line database workload driver | ||
Usage: | ||
lbot [command] | ||
Agent Commands: | ||
start-agent Start lbot-agent | ||
Driver Commands: | ||
config Config | ||
progress Watch stress test | ||
start Start stress test | ||
stop Stopping stress test | ||
Additional Commands: | ||
completion Generate the autocompletion script for the specified shell | ||
help Help about any command | ||
Flags: | ||
-u, --agent-uri string loadbot agent uri (default: 127.0.0.1:1234) (default "127.0.0.1:1234") | ||
-h, --help help for lbot | ||
--log-format string log format, must be one of: json, fancy (default "fancy") | ||
--log-level string log level, must be one of: trace, debug, info, warn, error, fatal, panic (default "info") | ||
-v, --version version for lbot | ||
Use "lbot [command] --help" for more information about a command. | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
|
||
You can run your workload locally, from remote servers, or directly on a Kubernetes cluster. However, deploying your workload on Kubernetes offers several advantages, including: | ||
|
||
- Easy Scaling: Kubernetes enables you to scale your workload effortlessly by adjusting the number of replicas or utilizing features like Horizontal Pod Autoscaler. | ||
|
||
- Resource Management: Kubernetes provides robust resource management capabilities, allowing you to efficiently allocate and manage resources such as CPU and memory for your workload. You can overwrite default values using `helm-set` flag. | ||
|
||
|
||
### Installation | ||
To install your workload using Loadbot on a Kubernetes cluster, you can use the following command: | ||
|
||
```bash | ||
loadbot install \ | ||
--context dev \ | ||
--namespace default \ | ||
--helm-set workload.replicas=2 \ | ||
--workload-config config.json \ | ||
myworkload | ||
|
||
``` | ||
|
||
### Uninstall | ||
To uninstall your workload from the Kubernetes cluster, you can use the following command: | ||
|
||
```bash | ||
loadbot uninstall \ | ||
--context dev \ | ||
--namespace default \ | ||
myworkload | ||
|
||
``` | ||
|
||
### Upgrade | ||
To upgrade your workload on the Kubernetes cluster, you can use the following command: | ||
|
||
```bash | ||
loadbot upgrade \ | ||
--context dev \ | ||
--namespace default \ | ||
--helm-set workload.replicas=2 \ | ||
--workload-config config.json \ | ||
myworkload | ||
|
||
``` | ||
|
||
### List | ||
To list the workloads deployed on the Kubernetes cluster, you can use the following command: | ||
|
||
```bash | ||
loadbot list --context dev --namespace default | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters