Hello.
I have deployed Consul of kubernetes (GKE) and I want to observe tracing by linking test application and jaeger.
My environment is as follows.
- GKE 1.24.x
- consul 1.13.7
- envoy 1.22.5
- consul helm chart 0.49.5
The connectinject area of my helm values.yaml looks like this:
connectInject:
metrics:
defaultPrometheusScrapePort: 20200
defaultPrometheusScrapePath: "/metrics"
consulNamespaces:
mirroringK8S: true
enabled: true
replicas: 1
My proxy-defaults.yaml is:
apiVersion: consul.hashicorp.com/v1alpha1
kind: ProxyDefaults
metadata:
name: global
spec:
config:
protocol: http
envoy_tracing_json: |
{
"http":{
"name":"envoy.tracers.zipkin",
"typedConfig":{
"@type":"type.googleapis.com/envoy.config.trace.v3.ZipkinConfig",
"collector_cluster":"simplest-collector",
"collector_endpoint_version":"HTTP_JSON",
"collector_endpoint":"/api/v2/spans",
"shared_span_context":false
}
}
}
envoy_extra_static_clusters_json: |
{
"connect_timeout":"3.000s",
"dns_lookup_family":"V4_ONLY",
"lb_policy":"ROUND_ROBIN",
"load_assignment":{
"cluster_name":"simplest-collector",
"endpoints":[
{
"lb_endpoints":[
{
"endpoint":{
"address":{
"socket_address":{
"address":"simplest-collector",
"port_value":9411,
"protocol":"TCP"
}
}
}
}
]
}
]
},
"name":"simplest-collector",
"type":"STRICT_DNS"
}
my sample application pod container status:
my default namespace svc list:
As above, jaeger-agent was injected when the sample pod started, and the jaeger collector svc name was specified in proxy-defaults.
But I still can’t see the traces in my jaeger ui!
What am I missing?
If you let me know, I will apply and test it right away.