Skip to content

Commit 737d1a3

Browse files
committed
Remove xk6-kubernetes from xk6-disruptor build
Signed-off-by: Pablo Chacin <[email protected]>
1 parent 434564b commit 737d1a3

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

src/data/markdown/docs/40 xk6-disruptor/01 Get started/03 Installation.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,10 @@ git clone https://github.com/grafana/xk6-disruptor.git
3333
cd xk6-disruptor
3434

3535
# Build the custom binary
36-
xk6 build --output xk6-disruptor --with github.com/grafana/xk6-disruptor=. --with github.com/grafana/xk6-kubernetes
37-
```
38-
39-
</CodeGroup>
40-
41-
42-
Notice that the `build` command includes both the xk6-disruptor and the [xk6-kubernetes extension](https://github.com/grafana/xk6-kubernetes).
43-
This is because many example scripts use the `xk6-kubernetes` extension to create the Kubernetes resources they need, such as Pods and Services.
44-
If you don't use this extension in your tests, you can build the custom `k6` binary with only the `xk6-disruptor` extension using the following command instead:
45-
46-
47-
<CodeGroup labels={["Linux/MacOS"]}>
48-
49-
```bash
5036
xk6 build --output xk6-disruptor --with github.com/grafana/xk6-disruptor=.
5137
```
5238

5339
</CodeGroup>
5440

41+
5542
xk6 will create the `xk6-disruptor` binary in the current working directory.

src/data/markdown/docs/40 xk6-disruptor/04 Examples.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ excerpt: 'Examples of how to use the xk6-disruptor extension to introduce faults
44
---
55

66
In these sections we present some examples of how to use the `xk6-disruptor` extension to introduce faults in `k6` tests.
7-
Some examples use the [k6-kubernetes](http://github.com/grafana/xk6-kubernetes) extension.
8-
So, to follow, ensure the custom `k6` binary you are using is built with both `xk6-disruptor` and `xk6-kubernetes` extensions. See the [Installation guide](/javascript-api/xk6-disruptor/get-started/installation/) for details.
97

10-
Also check that your test environment satisfies the requirements described in the [get started guide](/javascript-api/xk6-disruptor/get-started/requirements/).
8+
9+
Check that your test environment satisfies the requirements described in the [get started guide](/javascript-api/xk6-disruptor/get-started/requirements/).
1110
In particular, check that:
1211
- You have the properly configured the credentials to access the Kubernetes cluster used for the test
1312
- This cluster is configured to expose your application using an external IP.

0 commit comments

Comments
 (0)