Skip to content

Commit 27edc07

Browse files
Apply distributed guide changes to previous versions (#1993)
1 parent 371dd1a commit 27edc07

File tree

3 files changed

+24
-45
lines changed

3 files changed

+24
-45
lines changed

docs/sources/k6/v0.57.x/testing-guides/running-distributed-tests.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,34 +56,25 @@ Using [kind](https://kind.sigs.k8s.io/) or [k3d](https://k3d.io/) are awesome op
5656
## 1. Install the operator
5757

5858
The first step to running distributed tests in Kubernetes is to install the operator if not already installed in the cluster.
59-
At this time, installation does require having the project source code downloaded onto your system.
60-
Installation commands must be run from the source directory.
6159

6260
{{< admonition type="note" >}}
6361

6462
Besides privileged access to a Kubernetes cluster, installation will require that the system performing the installation has the following tools installed:
6563

66-
- [Git](https://git-scm.com/downloads)
67-
- [Go](https://go.dev/doc/install)
6864
- [Kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl)
69-
- [Kustomize](https://kubectl.docs.kubernetes.io/installation/kustomize/)
70-
- [Make](https://www.gnu.org/software/make/)
7165

7266
{{< /admonition >}}
7367

74-
From your command-line, execute the following:
75-
76-
```shell
77-
git clone https://github.com/grafana/k6-operator && cd k6-operator
78-
```
79-
8068
Ensure that your `kubectl` tool is set for the appropriate Kubernetes cluster.
81-
Then, from the `k6-operator` directory, you may now perform the installation:
69+
70+
Then, from your command-line, execute the following:
8271

8372
```shell
84-
make deploy
73+
curl https://raw.githubusercontent.com/grafana/k6-operator/main/bundle.yaml | kubectl apply -f -
8574
```
8675

76+
Refer to [Install k6 Operator](https://grafana.com/docs/k6/latest/set-up/set-up-distributed-k6/install-k6-operator/) for other installation methods.
77+
8778
By default, the operator will be installed into a new namespace, `k6-operator-system`.
8879
You can verify the successful installation by listing available resources within the namespace:
8980

@@ -405,7 +396,9 @@ spec:
405396

406397
Sadly nothing works perfectly all the time, so knowing where you can go for help is important.
407398

408-
Be sure to search the [k6-operator category in the community forum](https://community.grafana.com/c/grafana-k6/k6-operator/73).
399+
Be sure to check the [troubleshooting guide](https://grafana.com/docs/k6/latest/set-up/set-up-distributed-k6/troubleshooting/) as it contains many common pitfalls.
400+
401+
You can also search the [k6-operator category in the community forum](https://community.grafana.com/c/grafana-k6/k6-operator/73).
409402
k6 has a growing and helpful community of engineers working with k6-operator, so there's a good chance your issue has already been discussed and overcome.
410403
It's also in these forums where you'll be able to get help from members of the k6 development team.
411404

docs/sources/k6/v1.0.x/testing-guides/running-distributed-tests.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,34 +56,25 @@ Using [kind](https://kind.sigs.k8s.io/) or [k3d](https://k3d.io/) are awesome op
5656
## 1. Install the operator
5757

5858
The first step to running distributed tests in Kubernetes is to install the operator if not already installed in the cluster.
59-
At this time, installation does require having the project source code downloaded onto your system.
60-
Installation commands must be run from the source directory.
6159

6260
{{< admonition type="note" >}}
6361

6462
Besides privileged access to a Kubernetes cluster, installation will require that the system performing the installation has the following tools installed:
6563

66-
- [Git](https://git-scm.com/downloads)
67-
- [Go](https://go.dev/doc/install)
6864
- [Kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl)
69-
- [Kustomize](https://kubectl.docs.kubernetes.io/installation/kustomize/)
70-
- [Make](https://www.gnu.org/software/make/)
7165

7266
{{< /admonition >}}
7367

74-
From your command-line, execute the following:
75-
76-
```shell
77-
git clone https://github.com/grafana/k6-operator && cd k6-operator
78-
```
79-
8068
Ensure that your `kubectl` tool is set for the appropriate Kubernetes cluster.
81-
Then, from the `k6-operator` directory, you may now perform the installation:
69+
70+
Then, from your command-line, execute the following:
8271

8372
```shell
84-
make deploy
73+
curl https://raw.githubusercontent.com/grafana/k6-operator/main/bundle.yaml | kubectl apply -f -
8574
```
8675

76+
Refer to [Install k6 Operator](https://grafana.com/docs/k6/latest/set-up/set-up-distributed-k6/install-k6-operator/) for other installation methods.
77+
8778
By default, the operator will be installed into a new namespace, `k6-operator-system`.
8879
You can verify the successful installation by listing available resources within the namespace:
8980

@@ -405,7 +396,9 @@ spec:
405396

406397
Sadly nothing works perfectly all the time, so knowing where you can go for help is important.
407398

408-
Be sure to search the [k6-operator category in the community forum](https://community.grafana.com/c/grafana-k6/k6-operator/73).
399+
Be sure to check the [troubleshooting guide](https://grafana.com/docs/k6/latest/set-up/set-up-distributed-k6/troubleshooting/) as it contains many common pitfalls.
400+
401+
You can also search the [k6-operator category in the community forum](https://community.grafana.com/c/grafana-k6/k6-operator/73).
409402
k6 has a growing and helpful community of engineers working with k6-operator, so there's a good chance your issue has already been discussed and overcome.
410403
It's also in these forums where you'll be able to get help from members of the k6 development team.
411404

docs/sources/k6/v1.1.x/testing-guides/running-distributed-tests.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,34 +56,25 @@ Using [kind](https://kind.sigs.k8s.io/) or [k3d](https://k3d.io/) are awesome op
5656
## 1. Install the operator
5757

5858
The first step to running distributed tests in Kubernetes is to install the operator if not already installed in the cluster.
59-
At this time, installation does require having the project source code downloaded onto your system.
60-
Installation commands must be run from the source directory.
6159

6260
{{< admonition type="note" >}}
6361

6462
Besides privileged access to a Kubernetes cluster, installation will require that the system performing the installation has the following tools installed:
6563

66-
- [Git](https://git-scm.com/downloads)
67-
- [Go](https://go.dev/doc/install)
6864
- [Kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl)
69-
- [Kustomize](https://kubectl.docs.kubernetes.io/installation/kustomize/)
70-
- [Make](https://www.gnu.org/software/make/)
7165

7266
{{< /admonition >}}
7367

74-
From your command-line, execute the following:
75-
76-
```shell
77-
git clone https://github.com/grafana/k6-operator && cd k6-operator
78-
```
79-
8068
Ensure that your `kubectl` tool is set for the appropriate Kubernetes cluster.
81-
Then, from the `k6-operator` directory, you may now perform the installation:
69+
70+
Then, from your command-line, execute the following:
8271

8372
```shell
84-
make deploy
73+
curl https://raw.githubusercontent.com/grafana/k6-operator/main/bundle.yaml | kubectl apply -f -
8574
```
8675

76+
Refer to [Install k6 Operator](https://grafana.com/docs/k6/latest/set-up/set-up-distributed-k6/install-k6-operator/) for other installation methods.
77+
8778
By default, the operator will be installed into a new namespace, `k6-operator-system`.
8879
You can verify the successful installation by listing available resources within the namespace:
8980

@@ -405,7 +396,9 @@ spec:
405396

406397
Sadly nothing works perfectly all the time, so knowing where you can go for help is important.
407398

408-
Be sure to search the [k6-operator category in the community forum](https://community.grafana.com/c/grafana-k6/k6-operator/73).
399+
Be sure to check the [troubleshooting guide](https://grafana.com/docs/k6/latest/set-up/set-up-distributed-k6/troubleshooting/) as it contains many common pitfalls.
400+
401+
You can also search the [k6-operator category in the community forum](https://community.grafana.com/c/grafana-k6/k6-operator/73).
409402
k6 has a growing and helpful community of engineers working with k6-operator, so there's a good chance your issue has already been discussed and overcome.
410403
It's also in these forums where you'll be able to get help from members of the k6 development team.
411404

0 commit comments

Comments
 (0)