From d733ea3bb096c7dd282da884a253653b039fc16a Mon Sep 17 00:00:00 2001 From: Charles Uneze Date: Thu, 29 Aug 2024 10:40:11 +0100 Subject: [PATCH] make kubeconfig optional (#10922) Signed-off-by: Charles Uneze --- docs/perf-testing/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/perf-testing/README.md b/docs/perf-testing/README.md index 2409f70ba8..1d6fd56b41 100644 --- a/docs/perf-testing/README.md +++ b/docs/perf-testing/README.md @@ -59,6 +59,10 @@ quota-backend-bytes: 8589934592 ## Prepare etcd access +Depending on your cluster setup, the `KUBECONFIG` variable below is optional. You can choose to use the default path, `$HOME/.kube/config`. +If you are using the default `KUBECONFIG` path, comment out the `export` command below using `#`, and do the same for the ones available +in the `node.sh`, `kwok.sh`, and `deployment.sh` files in this folder. + ```sh export KUBECONFIG=/etc/rancher/k3s/k3s.yaml docker cp k3d-scaling-server-0:/var/lib/rancher/k3s/server/tls/etcd/server-ca.crt ./server-ca.crt @@ -102,6 +106,8 @@ make dev-lab-metrics-server dev-lab-prometheus # Install Kyverno +Visit the [Helm documentation](https://helm.sh/docs/intro/install/) if you don't have Helm installed on your device. + ```sh helm repo add kyverno https://kyverno.github.io/kyverno/ helm repo update