feat: add service discovery, OTel instrumentation, and k6 load tests (#1)
Some checks failed
Build and Push to ACR / Build and Push (push) Has been skipped
Build and Publish TechDocs / build-and-publish (push) Failing after 1m14s

This commit was merged in pull request #1.
This commit is contained in:
2026-05-05 13:51:53 +00:00
parent 0c459a9650
commit c97c9c6a18
6 changed files with 407 additions and 0 deletions

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