diff --git a/kubernetes/opentelemetry-demo.yaml b/kubernetes/opentelemetry-demo.yaml index c9492cec8c..1b9b57c500 100644 --- a/kubernetes/opentelemetry-demo.yaml +++ b/kubernetes/opentelemetry-demo.yaml @@ -8674,13 +8674,13 @@ spec: apiVersion: v1 kind: Service metadata: - name: opentelemetry-demo-ad + name: opentelemetry-demo-adservice labels: - opentelemetry.io/name: opentelemetry-demo-ad + opentelemetry.io/name: opentelemetry-demo-adservice app.kubernetes.io/instance: opentelemetry-demo - app.kubernetes.io/component: ad - app.kubernetes.io/name: opentelemetry-demo-ad + app.kubernetes.io/component: adservice + app.kubernetes.io/name: opentelemetry-demo-adservice app.kubernetes.io/version: "1.12.0" app.kubernetes.io/part-of: opentelemetry-demo spec: @@ -8691,7 +8691,7 @@ spec: targetPort: 8080 selector: - opentelemetry.io/name: opentelemetry-demo-ad + opentelemetry.io/name: opentelemetry-demo-adservice --- # Source: opentelemetry-demo/templates/component.yaml apiVersion: v1 @@ -9568,13 +9568,13 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: opentelemetry-demo-ad + name: opentelemetry-demo-adservice labels: - opentelemetry.io/name: opentelemetry-demo-ad + opentelemetry.io/name: opentelemetry-demo-adservice app.kubernetes.io/instance: opentelemetry-demo - app.kubernetes.io/component: ad - app.kubernetes.io/name: opentelemetry-demo-ad + app.kubernetes.io/component: adservice + app.kubernetes.io/name: opentelemetry-demo-adservice app.kubernetes.io/version: "1.12.0" app.kubernetes.io/part-of: opentelemetry-demo spec: @@ -9583,20 +9583,20 @@ spec: selector: matchLabels: - opentelemetry.io/name: opentelemetry-demo-ad + opentelemetry.io/name: opentelemetry-demo-adservice template: metadata: labels: - opentelemetry.io/name: opentelemetry-demo-ad + opentelemetry.io/name: opentelemetry-demo-adservice app.kubernetes.io/instance: opentelemetry-demo - app.kubernetes.io/component: ad - app.kubernetes.io/name: opentelemetry-demo-ad + app.kubernetes.io/component: adservice + app.kubernetes.io/name: opentelemetry-demo-adservice spec: serviceAccountName: opentelemetry-demo containers: - - name: ad - image: 'ghcr.io/open-telemetry/demo:1.12.0-ad' + - name: adservice + image: 'ghcr.io/open-telemetry/demo:1.12.0-adservice' imagePullPolicy: IfNotPresent ports: @@ -9612,7 +9612,7 @@ spec: value: 'opentelemetry-demo-otelcol' - name: OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE value: cumulative - - name: AD_PORT + - name: AD_SERVICE_PORT value: "8080" - name: FLAGD_HOST value: 'opentelemetry-demo-flagd' @@ -10149,8 +10149,8 @@ spec: value: "8080" - name: FRONTEND_ADDR value: :8080 - - name: AD_ADDR - value: 'opentelemetry-demo-ad:8080' + - name: AD_SERVICE_ADDR + value: 'opentelemetry-demo-adservice:8080' - name: CART_SERVICE_ADDR value: 'opentelemetry-demo-cartservice:8080' - name: CHECKOUT_SERVICE_ADDR @@ -11023,4 +11023,4 @@ spec: volumeMounts: - name: config-emptydir mountPath: /usr/share/opensearch/config/opensearch.yml - subPath: opensearch.yml + subPath: opensearch.yml \ No newline at end of file