Open clarenceb opened 2 years ago
echo-service and event-subscriber have the annotation:
dapr.io/config: "tracing"
and fail to start as they can't find this config.
Fix:
k8s/tracing.config.yaml
apiVersion: dapr.io/v1alpha1 kind: Configuration metadata: name: tracing namespace: default spec: tracing: samplingRate: "1" zipkin: endpointAddress: "http://zipkin.default.svc.cluster.local:9411/api/v2/spans"
kubectl apply -f k8s/tracing.config.yaml
Install Zipkin:
kubectl create deployment zipkin --image openzipkin/zipkin kubectl expose deployment zipkin --type ClusterIP --port 9411
Redeploy echo-service and event-subscriber.
My environment:
echo-service and event-subscriber have the annotation:
and fail to start as they can't find this config.
Fix:
k8s/tracing.config.yaml
:Install Zipkin:
Redeploy echo-service and event-subscriber.
My environment: