diff --git a/infrastructure/opentelemetry-collector/yc-k8s-test/kustomization.yaml b/infrastructure/opentelemetry-collector/yc-k8s-test/kustomization.yaml index d14afa8..684a50e 100644 --- a/infrastructure/opentelemetry-collector/yc-k8s-test/kustomization.yaml +++ b/infrastructure/opentelemetry-collector/yc-k8s-test/kustomization.yaml @@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ../base + - signoz-compat.yaml patches: - path: opentelemetry-collector.yaml diff --git a/infrastructure/opentelemetry-collector/yc-k8s-test/signoz-compat.yaml b/infrastructure/opentelemetry-collector/yc-k8s-test/signoz-compat.yaml new file mode 100644 index 0000000..9d76993 --- /dev/null +++ b/infrastructure/opentelemetry-collector/yc-k8s-test/signoz-compat.yaml @@ -0,0 +1,26 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: signoz +--- +apiVersion: v1 +kind: Service +metadata: + name: signoz-otel-collector-external + namespace: signoz +spec: + type: ExternalName + externalName: otel-collector.opentelemetry-collector.svc.cluster.local + ports: + - name: otlp-grpc + port: 4317 + targetPort: 4317 + protocol: TCP + - name: otlp-http + port: 4318 + targetPort: 4318 + protocol: TCP + - name: zipkin + port: 9411 + targetPort: 9411 + protocol: TCP