Open michi-covalent opened 1 year ago
@michi-covalent please assign me
Hello @Jack-R-lantern, do you still plan to work on this?
I initially also thought that an --export-stdout
could be useful, but have since arrived at a different (still preliminary) view: isn't it the case that his would mix both diagnostic output from Tetragon and its JSON events in its stdout
? Splitting the two apart would presumably require a heuristic such as grep '^{'
, so why the burden? I also presume that quite often Tetragon and the consumers of its events run in different mount namespaces (e.g. different pods), whereas an --export-stdout
would serve in more traditional (and perhaps rare) setups with single mount namespaces and Unix pipes. So not supporting it may be the cleaner solution.
right now tetragon only supports exporting events to json log file, and then have a separate container that tails the log and print them to stdout. add an option to export events directly to tetragon container logs. some people prefer not having to deal with mounting volumes, run a separate container and such.