# K6 Test Runs

```
- install kubectl https://kubernetes.io/docs/tasks/tools/
- install aws cli https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
- setup aws config aws configure https://docs.aws.amazon.com/cli/latest/userguide/getting-started-quickstart.html
- setup eks aws eks --region ap-southeast-1 update-kubeconfig --name identifi-eks-test --alias identifi-eks-test
- run test kubectl apply -f k8s/files/test/deployment/k6.yaml
- view logs kubectl logs <k6 pod>
```

AWS credentials

```
User name,Password,Access key ID,Secret access key,Console login link
identify-k6-qa,,AKIAR73M5IQAK3B2LXLA,rpPgqn9SWHS4T8zhiBZpYr8sj7AlL2HvhNIDar9c,https://137130492928.signin.aws.amazon.com/console
```

Under the file below you can change the test that you are going to run under `args`

/home/yana/identifi/identifi/k8s/files/test/deployment/k6.yaml

```
kubectl delete --all jobs
kubectl apply -f ../k8s/files/test/deployment/k6.yaml (on k6 directory)
kubectl get pods
kubectl logs k6-job-ddcf4 --tail=20
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hov-qa.gitbook.io/hov-qa-engineers/projects/identifi/performance-testing/k6-test-runs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
