feat(k6): add TestRun CRD reference template
Some checks failed
CI Pipeline / Build and Test (push) Has been cancelled
Build and Publish TechDocs / build-and-publish (push) Failing after 2s

This commit is contained in:
2026-03-24 20:11:15 +00:00
parent 0beefeb788
commit 56bfaadcfa

24
k6/testrun.yaml Normal file
View File

@@ -0,0 +1,24 @@
apiVersion: k6.io/v1alpha1
kind: TestRun
metadata:
name: k6-petclinic
namespace: demo-apps
labels:
app: petclinic
backstage.io/component: petclinic
app.kubernetes.io/managed-by: backstage
app.kubernetes.io/component: load-testing
spec:
parallelism: 1
script:
configMap:
name: k6-test-petclinic
file: load-test.js
runner:
image: grafana/k6:latest
envFrom:
- configMapRef:
name: k6-test-petclinic
env:
- name: K6_OTEL_SERVICE_NAME
value: k6-petclinic