Files
petclinic-demo-andrej2/overlays/otel/kustomization.yaml
demo-bot d801265ada
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m25s
feat: add service discovery, OTel instrumentation, and k6 load tests (#1)
2026-05-13 09:25:49 +00:00

15 lines
742 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../deploy
patches:
- target:
kind: Deployment
name: petclinic
patch: "apiVersion: apps/v1\nkind: Deployment\nmetadata:\n name: petclinic\nspec:\n\
\ template:\n metadata:\n annotations:\n instrumentation.opentelemetry.io/inject-java:\
\ monitoring/otel-instrumentation\n spec:\n containers:\n - name:\
\ workload\n env:\n - name: OTEL_SERVICE_NAME\n value:\
\ petclinic\n - name: OTEL_EXPORTER_OTLP_ENDPOINT\n value: http://otel-collector.monitoring.svc.cluster.local:4318\n\
\ - name: OTEL_RESOURCE_ATTRIBUTES\n value: app=petclinic-demo-andrej2\n"