kspan
kspan copied to clipboard
Kspan on OpenShift
Hi, we came across Kspan and we have a few questions. We are managing OpenShift Container Platform 4.6 on a restricted & classified network. We want to know if Kspan is even relevente to openshift in this point of time because its not k8s native? And if it posible to use it in restricted network with no access to the internet?
Hello, and thank you for your interest.
I expect Kspan will work on OpenShift, although I have not tried it. The only network access Kspan needs is to the Kubernetes API on one side, and to an OpenTelemetry-compatible tracing system on the other.
I gave a talk at KubeCon recently, which may help to show how it works - http://www.youtube.com/watch?v=g5tHHD4crtQ
Hi Bryan, I've try to deploy Kspan on OpenShift with no success. I followed this link https://felipecruz.es/visualizing-kubernetes-events-with-kspan/ and i still haven't figured out how to make Kspan send its data to jaeger. Im working with jaeger operator from the openshift operator hub which services are different. I was wandering if there is any way to change the otlpAddr var in the main.go code so that the Kspan pod will send the trace to the relevent service. I would like to know if it can be done with some environment variables in the pod so that we will not have to change the code. Thanks, Narin Cohen
You can change the address with a command-line flag -otlp-addr=<address>:<port>
.
This would go under args:
in the pod manifest, if you continue the style of the blog post.