diff --git a/sample_manifest/kubernetes/apm_tempo/README.md b/sample_manifest/kubernetes/apm_tempo/README.md index 88e3c88e..5c07cdae 100644 --- a/sample_manifest/kubernetes/apm_tempo/README.md +++ b/sample_manifest/kubernetes/apm_tempo/README.md @@ -48,6 +48,10 @@ Execute the following command Execute the following command +```:terminal +❯ kubectl create ns monitoring +``` + ```:terminal ❯ kubectl apply -f sample_manifest/kubernetes/apm_tempo/otel-controller/config.yaml ``` @@ -55,6 +59,7 @@ Execute the following command ## Step4: [Prometheus Operator](https://github.com/prometheus-operator/prometheus-operator) Install ### 4.1. Install Prometheus Operator + Execute the following command ```:terminal diff --git a/sample_manifest/kubernetes/apm_tempo/flexiblemockserver/deployment.yaml b/sample_manifest/kubernetes/apm_tempo/flexiblemockserver/deployment.yaml index 70f237bf..de70881f 100644 --- a/sample_manifest/kubernetes/apm_tempo/flexiblemockserver/deployment.yaml +++ b/sample_manifest/kubernetes/apm_tempo/flexiblemockserver/deployment.yaml @@ -41,7 +41,7 @@ spec: - name: OPEN_TELEMETRY_GRPC_FLG value: "True" - name: OTLP_HOST - value: simplest1-collector.mockserver:4317 + value: simplest1-collector.monitoring:4317 volumeMounts: - name: custom-rule mountPath: /config diff --git a/sample_manifest/kubernetes/apm_tempo/otel-controller/config.yaml b/sample_manifest/kubernetes/apm_tempo/otel-controller/config.yaml index f7713783..fb95d77e 100644 --- a/sample_manifest/kubernetes/apm_tempo/otel-controller/config.yaml +++ b/sample_manifest/kubernetes/apm_tempo/otel-controller/config.yaml @@ -2,7 +2,7 @@ apiVersion: opentelemetry.io/v1alpha1 kind: OpenTelemetryCollector metadata: name: simplest1 - namespace: mockserver + namespace: monitoring spec: mode: deployment image: otel/opentelemetry-collector-contrib:latest # Contrib イメージを指定 diff --git a/sample_manifest/kubernetes/apm_tempo/prometheus/namespace.yaml b/sample_manifest/kubernetes/apm_tempo/prometheus/namespace.yaml deleted file mode 100644 index 4b911567..00000000 --- a/sample_manifest/kubernetes/apm_tempo/prometheus/namespace.yaml +++ /dev/null @@ -1,6 +0,0 @@ -# namespace.yaml -apiVersion: v1 -kind: Namespace -metadata: - name: monitoring -