frontend: Why the service deployment resource uses 2 identical storage services and wants to be optimized #131
-
Descriptionfrontend deployment mainfest ...
- command:
- /usr/local/bin/kelemetry
- --log-level=info
- --pprof-enable=true
- --jaeger-backend=jaeger-storage
- --jaeger-cluster-names=cluster1
- --jaeger-redirect-server-enable=true
- --jaeger-storage-plugin-address=:17271 # localhost:17271
- --jaeger-storage-plugin-enable=true
- --jaeger-storage.grpc-storage.server=kelemetry-1689762474-storage.kelemetry.svc:17271 # storage-svc
- --jaeger-storage.span-storage.type=grpc-plugin
- --jaeger-trace-cache=etcd
- --jaeger-trace-cache-etcd-endpoints=kelemetry-1689762474-etcd.kelemetry.svc:2379
- --jaeger-trace-cache-etcd-prefix=/trace/
- --trace-server-enable=true
image: ghcr.io/kubewharf/kelemetry:0.1.0
... User storyIt is convenient for users to be more familiar with the source code of the project |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
See USAGE.txt:
and the diagram in DEPLOY.md:
The options starting with graph LR
subgraph frontend-pod-0
jaeger-query-0 --> storage-plugin-0
end
subgraph frontend-pod-1
jaeger-query-1 --> storage-plugin-1
end
subgraph frontend-pod-2
jaeger-query-2 --> storage-plugin-2
end
storage-plugin-0 --> remote-badger
storage-plugin-1 --> remote-badger
storage-plugin-2 --> remote-badger
subgraph badger [badger node]
remote-badger --> badger-volume
end
We cannot directly let If you use a distributed database instead of Badger, the helm chart will no longer generate the |
Beta Was this translation helpful? Give feedback.
See USAGE.txt:
and the diagram in DEPLOY.md:
jaeger-storage-plugin-address
is the address that the storage plugin listens on, to serve requests from "Jaeger Query UI". In the case of helm chart, "Jaeger Query UI" and "Kelemetry storage plugin" are deployed as sidecar containers of the same pod, so this is always:17271
(I think we could make thislocalhost:17271
since sidecar containers are on the same network stack, but it …