You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: pre_build cli os docker cplus java kubernetes upx package check_yaml ## Build all scenarios
93
+
build: pre_build cli os docker cri cplus java kubernetes upx package check_yaml ## Build all scenarios
86
94
87
95
# for example: make build_with cli os_darwin
88
-
build_with: pre_build ## Select scenario build, for example `make build_with cli os docker kubernetes java cplus`
96
+
build_with: pre_build ## Select scenario build, for example `make build_with cli os docker cri kubernetes java cplus`
89
97
90
98
# for example: make build_with_linux cli os
91
-
build_with_linux: pre_build build_linux_with_arg ## Select scenario build linux version by docker image, for example `make build_with_linux ARGS="cli os"`
99
+
build_with_linux: pre_build build_linux_with_arg ## Select scenario build linux version by docker cri image, for example `make build_with_linux ARGS="cli os"`
92
100
93
-
build_with_linux_arm: pre_build build_linux_arm_with_arg ## Select scenario build linux version by docker image, for example `make build_with_linux_arm ARGS="cli os"`
101
+
build_with_linux_arm: pre_build build_linux_arm_with_arg ## Select scenario build linux version by docker cri image, for example `make build_with_linux_arm ARGS="cli os"`
94
102
95
103
# build chaosblade linux version by docker image
96
104
build_linux: ## Build linux version of all scenarios by docker image
97
-
make build_with_linux ARGS="cli os docker kubernetes java cplus check_yaml" upx package
105
+
make build_with_linux ARGS="cli os docker cri kubernetes java cplus check_yaml" upx package
98
106
99
107
build_linux_arm: ## Build linux arm version of all scenarios by docker image
100
-
make build_with_linux_arm ARGS="cli os docker kubernetes java cplus check_yaml" upx package
108
+
make build_with_linux_arm ARGS="cli os docker cri kubernetes java cplus check_yaml" upx package
101
109
102
-
build_darwin: pre_build cli os_darwin docker cplus java kubernetes upx package check_yaml ## Build all scenarios darwin version
110
+
build_darwin: pre_build cli os_darwin docker cri cplus java kubernetes upx package check_yaml ## Build all scenarios darwin version
@@ -17,14 +17,15 @@ ChaosBlade is not only easy to use, but also supports rich experimental scenario
17
17
* Basic resources: such as CPU, memory, network, disk, process and other experimental scenarios;
18
18
* Java applications: such as databases, caches, messages, JVM itself, microservices, etc. You can also specify any class method to inject various complex experimental scenarios;
19
19
* C ++ applications: such as specifying arbitrary methods or experimental lines of code injection delay, tampering with variables and return values;
20
-
*Docker container: such as killing the container, the CPU in the container, memory, network, disk, process and other experimental scenarios;
20
+
* container: such as killing the container, the CPU in the container, memory, network, disk, process and other experimental scenarios;
21
21
* Cloud-native platforms: For example, CPU, memory, network, disk, and process experimental scenarios on Kubernetes platform nodes, Pod network and Pod itself experimental scenarios such as killing Pods, and container experimental scenarios such as the aforementioned Docker container experimental scenario;
22
22
23
23
Encapsulating scenes by domain into individual projects can not only standardize the scenes in the domain, but also facilitate the horizontal and vertical expansion of the scenes. By following the chaos experimental model, the chaosblade cli can be called uniformly. The items currently included are:
24
24
*[chaosblade](https://github.com/chaosblade-io/chaosblade): Chaos experiment management tool, including commands for creating experiments, destroying experiments, querying experiments, preparing experimental environments, and canceling experimental environments. It is the execution of chaotic experiments. Tools, execution methods include CLI and HTTP. Provides complete commands, experimental scenarios, and scenario parameter descriptions, and the operation is simple and clear.
25
25
*[chaosblade-spec-go](https://github.com/chaosblade-io/chaosblade-spec-go): Chaos experimental model Golang language definition, scenes implemented using Golang language are easy to implement based on this specification.
26
26
*[chaosblade-exec-os](https://github.com/chaosblade-io/chaosblade-exec-os): Implementation of basic resource experimental scenarios.
27
27
*[chaosblade-exec-docker](https://github.com/chaosblade-io/chaosblade-exec-docker): Docker container experimental scenario implementation, standardized by calling the Docker API.
28
+
*[chaosblade-exec-cri](https://github.com/chaosblade-io/chaosblade-exec-cri): Container experimental scenario implementation, standardized by calling the CRI.
28
29
*[chaosblade-operator](https://github.com/chaosblade-io/chaosblade-operator): Kubernetes platform experimental scenario is implemented, chaos experiments are defined by Kubernetes standard CRD method, it is very convenient to use Kubernetes resource operation method To create, update, and delete experimental scenarios, including using kubectl, client-go, etc., and also using the chaosblade cli tool described above.
29
30
*[chaosblade-exec-jvm](https://github.com/chaosblade-io/chaosblade-exec-jvm): Java application experimental scenario implementation, using Java Agent technology to mount dynamically, without any access, zero-cost use It also supports uninstallation and completely recycles various resources created by the Agent.
30
31
*[chaosblade-exec-cplus](https://github.com/chaosblade-io/chaosblade-exec-cplus): C ++ application experimental scenario implementation, using GDB technology to implement method and code line level experimental scenario injection.
@@ -44,8 +45,8 @@ Use the `blade help [COMMAND]` or `blade [COMMAND] -h` command to view help
44
45
45
46
## Experience Demo
46
47
Download the chaosblade demo image and experience the use of the blade toolkit
flags.StringVar(&uid, UidFlag, "", "Set Uid for the experiment, adapt to docker")
66
+
flags.StringVar(&uid, UidFlag, "", "Set Uid for the experiment, adapt to docker and cri")
67
67
flags.BoolVarP(&cc.async, AsyncFlag, "a", false, "whether to create asynchronously, default is false")
68
68
flags.StringVarP(&cc.endpoint, EndpointFlag, "e", "", "the create result reporting address. It takes effect only when the async value is true and the value is not empty")
69
69
flags.BoolVarP(&cc.nohup, NohupFlag, "n", false, "used to internal async create, no need to config")
0 commit comments