From fefae90a3802ecd3235f94c2bede8e660ba0cbd5 Mon Sep 17 00:00:00 2001 From: demo-bot Date: Tue, 13 Oct 2026 16:06:09 +0000 Subject: [PATCH] =?UTF-8?q?Placement=20decision:=20PLACED=20on=20Public=20?= =?UTF-8?q?cloud=20=C2=B7=20US=20East=20-=20for=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- overlays/otel/kustomization.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 overlays/otel/kustomization.yaml diff --git a/overlays/otel/kustomization.yaml b/overlays/otel/kustomization.yaml new file mode 100644 index 0000000..fb23f7e --- /dev/null +++ b/overlays/otel/kustomization.yaml @@ -0,0 +1,14 @@ +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=dealer-service\n"