feat: add service discovery, OTel instrumentation, and k6 load tests

This commit is contained in:
2026-05-05 13:51:45 +00:00
parent c4269e9de0
commit 1f6ed04de9

24
k6/testrun.yaml Normal file
View File

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